body {
    margin: 0;
    padding: 0;
}

#adContainer {
    width: 100%;
    height: 100vh;
    max-width: 600px;
    position: absolute;
    overflow: hidden;
    display: block;
    background: url('loading.png') center center no-repeat #e20031;
}

#contents {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    background-color: gray;
    overflow: hidden;
    visibility: hidden;
}

img {max-width: 100%;}

#close {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    z-index: 1000;
    background-image: url('close.png');
}

#exit {
    width: 50%;
    display: block;
    margin-top: 5vh;
    opacity: 0;
}

/* LANDSCAPE CONTROL */
#rotate {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background: url('rotation.png') center center no-repeat black;
    display: none;
}


@media only screen and (orientation: landscape) {
    #adContainer {max-width: 100%;}
    #rotate {display: block;}
  }

/* START STYLING HERE */
/* @import url('video.css');
@import url('carousel.css'); */

#tile {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('tile-clean.jpg') center center / cover;
}

#tileDirt {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('tile.jpg') center center / cover;
}

#mop {
    width: 100%;
    aspect-ratio: 640/1523;
    background: url('mop.png') top center / cover;
    position: absolute;
    top: 85vh;
    transform: translateY(50vh);
}

#tap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#mist1, #mist2 {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
}

#mist1 {
    background: url('mist1.png') bottom center / cover;
}

#mist2 {
    background: url('mist2.png') bottom center / cover;
}

#water {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    background: url('cleanedTile.png') center center / cover;
}

#ctile {
    width: 100vw;
    height: 100vh;
    position: absolute;
    background: url('tile-with-water.png') center center / cover;
    left: 0%;
    display: block;
}

#cleanTile {
    width: 100vw;
    position: absolute;
    height: 100vh;
    overflow: hidden;
    display: block;
    top: 0;
    opacity: 0;
}

#marker {
    width: 100%;
    height: 15vh;
    position: absolute;
}

#ins {
    width: 100vw;
    height: 100vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#insImg {
    width: 90%;
    transform: scale(0);
}

#tapImg {
    width: 50%;
    transform: scale(0);
}

#finalPage {
    width: 100vw;
    height: 100vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    opacity: 0;
    visibility: hidden;
}

#logo {
    width: 50%;
    position: absolute;
    top: 0;
    right: 8vh;
    transform: translateY(-100%);
}

#title {
    width: 90%;
    margin-top: 5vh;
    opacity: 0;
}

#hero {
    opacity: 0;
}