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

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

img {max-width: 100%;}

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

#exit {
    width: 100vw;
    display: block;
}

/* 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;
    background: black
}

#grill {
    width: 200%;
    position: absolute;
    height: 100%;
    left: -100%;
}

#mask {
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-mask-image: url(mask.png);
    mask-image: url(mask.png);
    -webkit-mask-size: 100% auto;
    mask-size: 100% auto;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;    
    mask-position: left center;
    -webkit-mask-position: left center;
}

#blac {
    width: 100vh;
    height: 100%;
    background-color: black;
    position: absolute;
   
}

#front {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('front.png') left center / 100% auto no-repeat;
    opacity: 0;
}

#logoIntro {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('logo-intro.png') left center / 100% auto no-repeat;
    opacity: 0;
}

#streak {
    width: 50%;
    height: 100%;
    position: absolute;
    background: url('streak.png') center center /cover;
    transform: translateX(200%);
}

#scene {
    width: 600%;
    height: 100%;
    position: absolute;
    opacity: 0;
    display: grid;
    grid-template-columns: 100vw 1fr 1fr 1fr 100vw
}

#scenebg {
    width: 600%;
    height: 100%;
    position: absolute;
    background: url('bg.jpg') bottom left / cover;
    opacity: 0;
    display: grid;
}
#contents::-webkit-scrollbar {
    display: none;
}

.sceneBlocks {
    min-width: 100wh;
    width: 100%;
    box-sizing: border-box;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    
}
#carHolder {
    width: 80vw;
    position: fixed;
    aspect-ratio: 2.56;
    bottom: 20vh;
    left: 10vw;
    background: url('car.png') bottom left / cover;
    transform: translateX(-200%);
}

.wheels {
    background: url('wheels.png') center center / cover;
    aspect-ratio: 1/1;
    position: absolute;
    width: 12%;
    bottom: 11%;
    transform: rotate(-270deg);
}

#wheel1 {
    left: 15%;
}

#wheel2 {
    left: 76.5%;
}

#logo {
    width: 50%;
    position: fixed;
    top: 0;
    left: 25%;
    transform: translateY(-100%);
}

#ins {
    position: fixed;
    bottom: 2vh;
    width: 100vw;
    transform: translateY(300%);
}

.txt {
    width:100vw;
    margin-top: 15vh;
}


.btn {
    width: 80vw;
}

.txt {
    width: 100vw;
    margin-bottom: auto;
    margin-top: 30vh;
}

#head1 {
    opacity: 0;
}