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;
    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%;
    left: 25%;
    display: block;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    bottom: 15%;
}

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

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

#carNormal {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('car-normal.png') center center no-repeat;
    background-size: contain;
    transform: translateX(-100%);
}

#carGlow {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('car-glow.png') center center no-repeat;
    background-size: contain;
    opacity: 0;
}

#logo {
    width: 100%;
    position: absolute;
}

#battery {
    width: 10%;
    padding-top: 19.231%;
    background: url('battery.png') center center no-repeat;
    background-size: cover;
    position: absolute;
    left: 45%;
    top: 20%;
}

#level {
    position: absolute;
    width: 70%;
    height: 80%;
    bottom: 5%;
    left: 15%;
    background: #333;
    border-radius: 5%;
    overflow: hidden;
}

#levelInd {
    width: 100%;
    height: 0%;
    position: absolute;
    background: orange;
    bottom:0;
}

#text1, #text2 {
    width: 100%;
    position: absolute;
    top: 35%;
}

#text1 {
    opacity: 0;
}

#text2 {
    opacity: 0;
}

#slideIns {
    width: 90%;
    position: absolute;
    left: 5%;
    bottom: 10%;
    opacity: 0;
}

#sliderBox {
    width: 80%;
    height: 50px;
    left: 10%;
    position: absolute;
    bottom: 20%;
    opacity: 0;
}

#sliderRange {
    width: 100%;
    height: 30%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(105, 105, 105, 0.6);
}
#slider {
    width: 50px;
    height: 50px;
    background: #2549b3;
    position: absolute;
}