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%;
    display: block;
    bottom: 5%;
    position: absolute;
    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;
    background: url('intro_bg.jpg') center center / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#game {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('game_bg.jpg') center top / cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#beLogo {
    width: 90%;
    transform: translate(-150%,50%);
}

#intro_txt {
    margin-top: 15%;
    margin-bottom: 15%;
    transform: scale(0);
}

#playBtn {
    width: 50%;
    margin-top: 20%;
    transform: translateY(500%);
}

#goal {
    width: 50%;
    position: absolute;
    top: 10%;
    left: 25%;
}

#swipe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#ball {
    width: 8%;
    aspect-ratio: 1/1;
    position: absolute;
    bottom: 5%;
}

.player {
    width: 5%;
    position: absolute;
}

.playerShadow {
    width: 10%;
    position: absolute;
}


#player1, #shadow1 {
    left: 0;
    top: 23%;
}

#player2, #shadow2 {
    top: 35%;
    left: 70%;
}

#player3, #shadow3 {
    top: 50%;
    left: 20%;
}

#player4, #shadow4 {
    top: 65%;
    left: 85%;
}

#player5 {
    top: 60%;
    left: 5%;
}

#ins, #tryAgain, #success {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#promo {
    width: 100%;
    height: 100%;
    background:url('promo_bg.jpg') center bottom / cover;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    overflow: hidden;
}

#swipeIns {
    width: 80%;
    transform: scale(0);
}

#gameCont {
    width: 50%;
    margin-top: 20%;
    transform: scale(0);
}

#tryAgain, #success {
    transform: scale(0);
}

#oppss {
    width: 90%;
    transform: scale(0);
}

#tap {
    width: 100%;
    position: absolute;
    bottom: 10%;
    transform: scale(0);
}

#champ {
    width: 100%;
    transform: scale(0);
}

#logo {
    width: 50%;
    position: absolute;
    top: 5%;
    transform: translateY(-200%);
}

#beReady {
    width: 90%;
    margin-bottom: 15%;
    transform: scale(0);
}

#products {
    width: 100%;
    transform: scale(0);
    transform-origin: center bottom;
    margin-top: 15%;
}

#voucher {
    width: 90%;
    transform: scale(0);
    position: absolute;
    aspect-ratio: 2.13;
    top: 35%;
}