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 #fff;
}

#contents {
    width: auto;
    height: 100%;
    position: absolute;
    left: 0;
    display: block;
    overflow: hidden;
    background-color: red;
    visibility: hidden;
    top: 0;
}

.content {
    width: 100%;
    height: 100%;
    display: block;
    background-color: gray;
    overflow: hidden;
    float: left;
    top: 0;
    display: block;
    position: relative;
}

.content:nth-child(even) {
    background-color: royalblue;
}

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: 100%;
    height: 100%;
    display: block;
    position: absolute;
}

/* 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%;
    position: absolute;
    height: 100%;
    background: url('intro-bg.jpg') center bottom;
    background-size: cover;
    visibility: hidden;
}

#introLogo, #logo {
    width: 50%;
    left: 25%;
    position: absolute;
    top: 3vh;
    opacity: 0;
    transform: translateY(-100%);
}


#introTxt {
    width: 100%;
    position: absolute;
    top: 55%;
}

#tap {
    position: absolute;
    width: 100%;
    bottom: 3vh;
    opacity: 0;
    transform: translateY(100%);
}

#slideUp {
    width: 100%;
    position: absolute;
    bottom: 6vh;
    transform: translateY(100%);
    opacity: 0;
}


#nav {
    height: 30px;
    width: 100% ;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 1vh;
}

#redirect {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9) url('redirecting.png') center center no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    visibility: hidden;
}

#redirect img {
    height: auto !important;
}

#slideTitle {
    width: 100%;
    position: absolute;
    top: 25vh;
    opacity: 0;
    transform: translateY(-100%);

}


#head, #caption {
    transform: scale(0);
}
#box1 {
    background: url('slide1-bg.jpg') center bottom;
    background-size: cover;
}

#box2 {
    background: url('slide2-bg.jpg') center bottom;
    background-size: cover;
}

#box3 {
    background: url('slide3-bg.jpg') center bottom;
    background-size: cover;
}

#box4 {
    background: url('slide4-bg.jpg') center bottom;
    background-size: cover;
}

.txt {
    width: 100%;
    position: absolute;
    top: 40%;
}

#txt1 {
    transform: translateY(100%);
    opacity: 0;
}


#nav div {
    /* width: 10px;*
    margin: 8px 20px;
    flex: 1;
    flex-basis: 10px;
    */
    margin: 0 10px;
    height: 10px;
    border-radius: 10px;
    border: 1px #ccc solid;
    background:rgba(0, 0, 0, 0.2);
    width: 10px;
    cursor: pointer;
    
}

#nav div.active {background: rgba(173,39,137,1);} 