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;
    overflow: hidden;
    visibility: hidden;
    background: url('screen3bg.jpg') center top / cover;
}

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%;
    margin-top: 5%;
}

/* 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%;
    left: 35%;
    position: absolute;
    top: 3%;
}

#btns {
    width: 80%;
    margin-left: 10%;
    display: flex;
    bottom: 20%;
    flex-wrap: wrap;
}

.hbtn {
    width: 50%;
    transform: scale(0);
}

#introText {
    opacity: 0;
}

#screen2, #screen3, #screen4 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: black;
    display: none;
}

#screen3 {
    background: url('screen3bg.jpg') center top / cover;
}

#screen4 {
    background: black;
    opacity: 0;
}

.flex {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

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

#bgTurk {
    background: url('ts-bg.jpg') center top / cover;
}

#bgBob {
    background: url('sb-bg.jpg') center top / cover;
}

#bgWonder {
    background: url('ww-bg.jpg') center top / cover;
}

#text, .text {
    width: 100%;
    opacity: 0;
}

.content {
    position: absolute;
    width: 100%;
    bottom: 10%;
}

#devices {
    width: 80%;
    margin-left: 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
}

.device {
    width: 40%;
    margin: 3%;
    transform: scale(0);
}

#deviceUsed {
    margin-top: 15%;
    opacity: 0;
}

#lang {
    text-align: center;
}

.langBtn {
    width: 55%;
    display: inline-block;
    margin: 3% auto 3% auto;
    transform: translateY(500%);
}

#choice {
    position: absolute;
    bottom: 20%;
    opacity: 0;
    width: 100%;
}

#finalHero, #finalText, #exit {
    opacity: 0;
}