body {
    margin: 0;
    padding: 0;
}

#adContainer {
    width: 100%;
    height: 100vh;
    max-width: 600px;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    display: block;
    background: url('loading.png') center center no-repeat #ffffff;
    background-size: 40px 40px;
}

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

#exit img {
    display: block;
    overflow: hidden;
}

#lastpic {
    width: 60%;
}

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


#introCont {
    width: 100%;
    height: 100vh;
    background: url('intro-bg.jpg') center center no-repeat;
    background-size: cover;
    position: absolute;
}

#gameCont {
    width: 100%;
    height: 100vh;
    background: url('game-bg.jpg') center center no-repeat;
    background-size: cover;
    position: absolute;
    visibility: hidden;
}

#videoCont {
    width: 100%;
    height: 100vh;
    background: url('game-bg.jpg') center center no-repeat;
    background-size: cover;
    position: absolute;
    transform: translateY(100%);
}

#drag {
    width: 100%;
    position: absolute;
    bottom: 40%;
}

#finalCont {
    width: 100%;
    height: 100vh;
    background: url('last-bg.jpg') center center no-repeat;
    background-size: cover;
    position: absolute;
    display: flex;
    align-items: center;
    transform: translateX(-100%);
    flex-direction: column;
    justify-content: center;
}

#videoBox {
    margin-top: 40%;
    background: #000000;
    display: block;
}


#logo {
    width: 70%;
    position: absolute;
    left: 15%;
    top: 5%;
}

#startBtn {
    width: 60%;
    position: absolute;
    bottom: 10%;
    left: 20%;
    transform: translateY(300%);
}

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

#mark {
    width: 100%;
    height: 100vh;
    position: absolute;
    background: url('mark.png') center center no-repeat;
    background-size: contain;
}

#car {
    width: 100%;
    height: 100vh;
    position: absolute;
   /*  transform: translateY(100%); */
    background: url('car-new.png') center center no-repeat;
    background-size: contain;
}

#driver {
    width: 100%;
    height: 100vh;
    position: absolute;
   /*  transform: translateY(100%); */
    background: url('driver-free.png') center center no-repeat;
    background-size: contain;
    opacity: 0;
}

#driver-drive {
    width: 100%;
    height: 100vh;
    position: absolute;
   /*  transform: translateY(100%); */
    background: url('drive.png') center center no-repeat;
    background-size: contain;
    opacity: 0;
}

#belt {
    width: 100%;
    height: 100vh;
    position: absolute;
   /*  transform: translateY(100%); */
    background: url('belt.png') center center no-repeat;
    background-size: contain;
    opacity: 0;
}


#dropzone {
    width: 40%;
    height: 47vh;
    position: absolute;
    left: 30%;
    top: 27vh;
}

#missing {
    width: 80%;
    position: absolute;
    left: 10%;
    top: 50%;
    opacity: 0;
    transform: translateY(-50%);
}

.tire {
    width: 50px;
    height: 50px;
    position: absolute;
}

#tire1 {
    top: 30vh ;
    left: 5%;
}

#tire2 {
    top: 30vh ;
    right: 5%;
}

#tire3 {
    top: 70vh ;
    left: 5%;
}

#tire4 {
    top: 70vh ;
    right: 5%;
}


#btns {
    width: 100%;
    height: 15vh;
    bottom: 0;
    position: absolute;
}

.btns {
    width: 20%;
    overflow: hidden;
}

#btn1 {
    position: absolute;
    left: 10%;
}

#btn2 {
    position: absolute;
    left: 40%;
}
#btn3 {
    position: absolute;
    left: 70%;
}



#block {
    width: 100%;
    height: 100vh;
    position:absolute;
}
#timer {
    width: 50%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2em;
    color: #ffffff;
    text-align: center;
    position: absolute;
    top: 18vh;
    left: 25%;
}

#goBtn {
    width: 20%;
    position: absolute;
    left: 40%;
    bottom: 8%;
    visibility: hidden;
}

#challenge {
    width: 50%;
}