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;
    overflow-y: auto;
    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');
}

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

#exit {
    width: 50%;
    display: block;
    position: fixed;
    bottom: 3vh;
    left: 25%;
    transform: translateY(200%);
}

#intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.85;
}

#logo {
    position: fixed;
    width: 40%;
    left: 30%;
    top: 3%;
    transform: translateY(-300%);
}

#jbh {
    width: 100%;
    height: 100vh;
    background: url('intro_bg.jpg') center center / cover;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#headline {
    /* margin-top: 20vh; */
    opacity: 0;
    width: 100%;
    margin-bottom: 10vh;
}

#jbhDim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('jbh-outline.png') center center / cover;
}

#scroll {
    position: absolute;
    bottom: 3%;
    width: 100%;
    opacity: 0;
}

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

@keyframes pop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
    
}

#black {
    width: 100%;
    aspect-ratio: 1/1;
    position: absolute;
    left: 0;
    top: 20%;
    transform: translateX(-100%);
    background: url('highlights.png') center center / contain ;
    /* animation: slide 3s infinite ease-in-out; */
    
}

@keyframes slide {
    0% {
        transform: translateX(-100);
    }
    100% {
        transform: translateX(100%);
    }
    
}

#tapIns {
    position: absolute;
    bottom: 3%;
    width: 100%;
    transform: translateY(200%);
    
}

.pop {
    animation: pop 2s infinite ease-in-out;
}

#main {
    width: 100%;
    position: relative;
    min-height: 100vh;
    height: auto;
}

#offerBox, #roomBox{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}


#roombox2,  #diningBox  {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    padding-top: 10%;
}
#offerBox {
    background: url('offerBg.jpg') center center / cover;
}

#roomBox, #roomBox2 {
    background: url('roomBg.jpg') center center / 100% 102%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#diningBox {
    background: url('diningBg.jpg') center center / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#offerTitle {
    margin-top: 20%;
}

#offerCta {
    width: 50%;
    position: absolute;
    bottom: 10%;
    left: 25%;
}

#roomTitle {
    width: 100%;
    margin-bottom: 10%;
}

#galBox {
    width: 80%;
    overflow: hidden;
    margin-bottom: 10vh;
}

.carouselItem {
    overflow: hidden;
    position: relative;
    aspect-ratio: 1.37;
}

#bookCta, #diningCta {
    width: 50%;
    left: 25%;
    margin-top: 10%;
}

#diningTitle {
    width: 100%;
    margin-bottom: 5%;
}

#diningPic {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.icon {
    width: 90%;
    aspect-ratio: 1/1;
    margin-bottom: 5%;
    transform: scale(0);
}

#promoPage {
    background: url('jbh_bg.jpg') center center / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

#sub {
    width: 100%;
    margin-top: 3vh;
    transform: scale(0);
}


#videoBox {
    background: #002f69;
    display: block;
    width: 90%;
    aspect-ratio: 16/9;
}