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 white;
}

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

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%;
    position: absolute;
    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'); */

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

#hand {
    width: 50%;
    position: absolute;
    bottom: 0;
    left: 25%;
    transform: translateY(100%);
}

#redBg {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(98,4, 4, 0.7);
    opacity: 0;
}

#warn {
    width: 80%;
    position: absolute;
    left: 10%;
    top: 25%;
    transform: scale(0);
}

#ins {
    width: 100%;
    position: absolute;
    bottom: 2%;
    opacity: 0;
}

#logo {
    width: 40%;
    position: absolute;
    left: 30%;
    top: 2%;
}

#introTap, #tap1 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#rubCont, #pumpCont, #shooCont, #germs {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
}

#shooCont {
    background: none;
}

.step {
    position: absolute;
    top: 20%;
    opacity: 0;
}

#packshot {
    width: 60%;
    position: relative;
    margin-top: 25%;
    transform: translateY(200%);
}

#packshot img {
    z-index: 1;
}

#nozzle {
    position: absolute;
    top: 0;
    z-index: 0;
}

#cap {
    position: absolute;
    top: 0;
    z-index: 1;
}

#tap, #rub, #shoo {
    position: absolute;
    bottom: 5%;
    opacity: 0;
}

.scratchBox {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* transform: scale(0); */
}

#sBox1 {
    background: url('hand-bubble.png') center center / 100% 100%;
    transform: translateX(-100%);
}

#handBubble {
    background: url('hand-bubble.png') center center / 100% 100%;
    width: 100%;
}

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

.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;
  }




.germ {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 1;
}


#lastScreen {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('finalbg.jpg') center center / cover;
    opacity: 0;
    visibility: hidden;

}

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

#lastText {
    opacity: 0;
}

#pack {
    width: 40%;
    opacity: 0;
}

#white {
    background: white;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}