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 #0f2440;
}

#contents {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    overflow: hidden;
    /* background: url('hair.jpg') center center; */
    background-size: cover;
    visibility: hidden;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
}

img {max-width: 100%; display: block; overflow: hidden;}

#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;
    position: absolute;
    left: 25%;
    bottom: 5%;
    transform: translateY(300%);
}

/* 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'); */

#logo {
    width: 30%;
    position: absolute;
    top: 3%;
    left: 35%;
    transform: translateY(-150%);
}

.scratchBox {
    position: absolute;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    margin: 2%;


    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}


#sBox2 {
    top: 20%;
    left: 75%;
}

#sBox3 {
    top: 50%;
    left: 20%;
}

#sBox4 {
    top: 60%;
    left: 80%;
}

#sBox5 {
    top: 70%;
    left: 15%;
}

#sBox6 {
    top: 40%;
    left: 60%;
}

#headline {
    width: 80%;
    position: absolute;
    bottom: 5%;
    left: 10%;
    transform: translateY(300%);
}

.scratchBox canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.scratchBox img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Where the scratchcard will be generate. */
.sc__container {
    position: relative;
    overflow: hidden;
    max-height: 60px;
    max-width: 60px;
  }
  
  .sc__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
   /* Background image, the result... */
  .sc__container > img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
  }
  
   /* The scratchcard generate with scratchcard-js */
  .sc__container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
  }
  
   /* Scratchcard informations */
  .sc__infos {
    text-align: center;
    height: 40px;
    line-height: 40px;
    margin-top: 5px;
    font-weight: bold;
    font-size: 16px;
  }


#lastFrame {
    width: 100%;
    height: 100%;
    background: url('kitchen-clean-blur.jpg') center center / cover;
    position: absolute;
    top: 0;
    /* transform: scale(0); */
    overflow: hidden;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
}

#lastText {
    width: 100%;
    transform: scale(0);
}

#kitchen-clean {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('kitchen-clean.jpg') center center / cover;
    opacity: 0;
}

#compare {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('compare.png') center bottom / cover;
    opacity: 0;
}

#intro {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('kitchen-dirty.jpg') center center / 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header {
    margin-top: 30vh;
    position: relative;
    width: 100%;
    opacity: 0;
}

.header {
    opacity: 0;
}

#head2, #head3 {
    position: absolute;
    top: 0;
    left: 0;
}

#header2 {
    margin-top: 5%;
    margin-bottom: 20%;
    opacity: 0;
}

#spray {
    width: 30%;
    position: absolute;
    left: 35%;
    bottom: 10%;
    transform: scale(0);
}

.mist {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}

#mist1 {
    background: url('mist1.png') center center / 100% 100%;
}

#mist2 {
    background: url('mist2.png') center center / 100% 100%;
}

#mist3 {
    background: url('mist3.jpg') center center / 100% 100%;
}

#swipe {
    position: absolute;
    width: 100%;
    bottom: 5%;
}

#hero {
    width: 25%;
    transform: scale(0);
}

#sub {
    transform: scale(0);
}

.star {
    position: absolute;
    transform: scale(0);
}

#star1 {
    width: 50px;
    height: 50px;
    top: 10%;
    left: 5%;
}

#star2 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 75%;
}

#star3 {
    width: 20px;
    height: 20px;
    top: 30%;
    left: 55%;
}

#star4 {
    width: 50px;
    height: 50px;
    top: 80%;
    left: 25%;
}

#star5 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 85%;
}

#star6 {
    width: 50px;
    height: 50px;
    top: 90%;
    left: 80%;
}

#star7 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 55%;
}