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

#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%;
    height: 40px;
    line-height: 40px;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    background: #6ccdf3;
    display: inline-block;
    position: relative;
    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'); */

#intro, #gamebox {
    width: 100%;
    height: 100%;
    background: url('bg.jpg') no-repeat top center;
    background-size: cover;
    display: block;
    position: absolute;
}

#intro {z-index: 100;}

.logo {
    position: absolute;
    width: 60%;
    top: 5%;
    left: 20%;
    z-index: 10;
}

#introImg {
    width: 70%;
    position: absolute;
    left: 15%;
    top: 25%;
}

#hand {
    position: absolute;
    width: 10%;
    bottom: 5%;
    left: 45%;
}

#basket {
    position: absolute;
    bottom: 20px;
    width: 40%;
    left: 30%;
    z-index: 10;
}

#timer {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    display: block;
}

#score {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    display: block;
    font-size: 2em;
    text-align: center;
}

#num {
    font-size: 2em;
    text-align: center;
}
#seconds {
    font-size: 1em;
    text-align: center;
}

.fallElem {
    z-index: 0;
    width: 90px;
    height: 90px;
    position: absolute;
    top:0px;
}

.elementFall0 {
    
    background-image: url('item1.png');
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}
.elementFall1 {
    background-image: url('item2.png');
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}
.elementFall2 {
    background-image: url('item3.png');
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

#endScreen {
    width: 100%;
    height: 100%;
    background-color: #23588d;
    display: none;
    position: absolute;
    text-align: center;
    z-index: 100;
    opacity: 0;
}

#endScreen div {
    opacity: 0;
}

#etihad {
    width: 20%;
    position: absolute;
    bottom: 5%;
    left: 40%;
}

#endImg {
    position: relative;
    width: 100%;
    display: block;
}

#message {
    padding: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    color: white;
    text-align: center;
}

#footer {
    width: 100%;
    height: 8%;
    display: block;
    background:  #123b64;
    position: absolute;
    bottom: 0;
    border-top: #e2bf6b 1px solid;
    z-index: 15;
}
