body {
    margin: 0;
    padding: 0;
}

body::before {
    content: url("wave.png");
    position: absolute;
    top: -9999rem;
    left: -9999rem;
    opacity: 0;
  }

#adContainer {
    width: 100%;
    height: 100vh;
    max-width: 600px;
    position: absolute;
    overflow: hidden;
    overflow-y: hidden;
    display: block;
    /* background: url('loading.png') center center no-repeat #002d71; */
    background: transparent;
}

#contents {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    visibility: hidden;
    background: transparent;
}

img {max-width: 100%; overflow: hidden; display: block;}

#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;
    display: none;
}

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

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

#introCont {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('bg-intro.jpg') center center / cover;
}

#water {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.w100 {
    width: 100%;
}

.cta {
    width: 50%;
    margin-top: 10%;
    margin-bottom: 10%;
}

.ctaSign {
    width: 50%;
    margin-top: 10%;
    margin-bottom: 1%;
}

.ctaSlide {
    width: 50%;
    margin-top: 3%;
}


#rack {
    width: 100%;
    position: absolute;
    bottom: 7vh;
    background: url('img-rack.png') bottom center / cover;
    aspect-ratio: 0.713;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
}

#blocks {
    width: 85%;
    aspect-ratio: 3/5;
    display: grid;
    position: relative;
    grid-template-columns: auto auto auto;
}

#elemBlocks {
    width: 85%;
    aspect-ratio: 3/5;
    position: absolute;
    bottom: 0;
}

#manStartElem {
    width: 85%;
    aspect-ratio: 3/2;
    position: absolute;
    top: 0;
}

#lastScreen {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


.block {
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

#b12 {
    width: 100%;
    aspect-ratio: 1/1;
    background: url('pipe-elbow.png') center center / cover;
}

#b11 {
    width: 100%;
    aspect-ratio: 1/1;
    background: url('pipe-last.png') center center / cover;
}

#b9 {
    width: 100%;
    aspect-ratio: 1/1;
    background: url('pipe-straight.png') center center / cover;
}

#b6 {
    width: 100%;
    aspect-ratio: 1/1;
    background: url('pipe-elbow.png') center center / cover;
}

#b5 {
    width: 100%;
    aspect-ratio: 1/1;
    background: url('pipe-straight.png') center center / cover;
}

#b4 {
    width: 100%;
    aspect-ratio: 1/1;
    background: url('pipe-elbow.png') center center / cover;
    position: relative;
    transform: rotate(180deg);
}

#b1 {
    width: 100%;
    aspect-ratio: 1/1;
    background: url('pipe-start.png') center center / cover;
}

#man-last {
    aspect-ratio: 1/1;
    background: url('man-happy.png') center center / cover;
    position: absolute;
    width: 33.33%;
    bottom: 0;
    transform: translateX(150%);
}

#man-start {
    aspect-ratio: 1/1;
    background: url('man-start.png') center center / cover;
    position: absolute;
    width: 33.33%;
    top: 50%;
    left: 0.5%;
    transform: translateY(-60%) scale(0);
}

#pipeCover {
    aspect-ratio: 1/1;
    background: url('pipe-start-cover.png') center center / cover;
    position: absolute;
    width: 33.33%;
    top: 50%;
    left: 0;
}

#pipe4 {
    width: 100%;
    aspect-ratio: 1/1;
    background: url('pipe-elbow-red.png') center center / cover;
    position: absolute;
    top: 0;
    left: 0;
}

#pipe5 {
    width: 100%;
    aspect-ratio: 1/1;
    background: url('pipe-straight-red.png') center center / cover;
    position: absolute;
    top: 0;
    left: 0;
}

#pipe6 {
    width: 100%;
    aspect-ratio: 1/1;
    background: url('pipe-elbow-red.png') center center / cover;
    position: absolute;
    top: 0;
    left: 0;
}

#txtIntro {
    width: 100%;
    position: absolute;
    top: 5vh;
    transform: scale(0);
}

#mainCont {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('img-water.jpg') top center / cover;
    opacity: 0;
}

#home {
    width: 100%;
    height: 100vh;
    background: url('img-hero.png') center bottom / cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#mainCont {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#park {
    width: 90%;
}

#logo {
    width: 30%;
    position: absolute;
    top: 2vh;
}

#homeIntro {
    margin-top: 25vh;
}

#scroll {
    width: 100%;
    position: absolute;
    bottom: 5vh;
    transform: scale(0);
}

#desc {
    margin-top: 10vh;
    margin-bottom: 10vh;
}

#videoBox {
    background: #000;
    display: block;
    aspect-ratio: 16/9;
    width: 100%;
}


.playerContainer {
    position: relative;
    width: 100%;
    /* padding-top: 56.25%; */
    aspect-ratio: 16/9;
}

#duration {
    position: absolute;
    top: 5px;
    right: 5px;
    color: beige;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 0.7em;
    text-align: center;
}

.player {
    position: absolute;
    top: 0;
    aspect-ratio: 16/9;
    width: 100%;
}

.control {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    visibility: hidden;
}

.sound {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    visibility: hidden;
}

video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

#slider {
    width: 100%;
    margin-top: 5vh;
    margin-bottom: 10vh;
    overflow: hidden;
}


#introBox {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

/* #water, #water2 {
    width: 600%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100vh);
    opacity: 0.4;
}

#water3, #water4 {
    width: 600%;
    position: absolute;
    top: 0;
    left: -500%;
    transform: translateY(100vh);
    opacity: 0.4;
}
 */
#title {
    margin-top: 10vh;
    margin-bottom: 10vh
}

#splash {
    width: 20%;
    aspect-ratio: 1/1;
    position: absolute;
    overflow: hidden;
    background: url('splash.png') left top / auto 100%;
    left: 0;
    top: -5%;
    transform: translateY(100vh);
    background-position: 0% 0%;
    animation: sprite 1s steps(19) infinite;
    opacity: 0.6;
}

@keyframes sprite {
    from { background-position: 0 0%; }
  to { background-position: 100% 0%; }
}

#floater1 {
    width: 35%;
    position: absolute;
    left: 100vw;
    top: 75vh;
}

#floater2 {
    width: 25%;
    position: absolute;
    left: -100%;
    top: 60vh;
}

#floater3{
    width: 25%;
    position: absolute;
    left: 100vw;
    top: 25vh;
}

#introText {
    width: 100%;
    position: relative;
    aspect-ratio: 1.52;
}

.intro {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(10vh);
}

#introBtn {
    width: 100%;
    position: absolute;
    bottom: 10vh;
    transform: translateY(50vh);
}

#cover {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #fff; /* #0071BC; */
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
}


#waterWave2 {
    max-width: 800px;
    width: 100%;
    aspect-ratio: 0.667;
    overflow: hidden;
    background: url('wave.png') top left / auto 100%;
    animation: play 1.5s steps(22);
    position: absolute;
    bottom:0;
    left: 0;
    opacity: 0.8;
}

#waterWaveHolder {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    transform: translateY(100vh);
    /* top:100vh; */
}

#water {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('water2.svg') top left / 600% auto;
    animation: waterPlay 4s linear infinite;
    opacity: 0.6;
}

#water2 {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('water2.svg') top left / 600% auto;
    animation: waterPlay 8s linear infinite 0.3s;
    opacity: 0.6;
}

#water3 {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('water2.svg') top left / 600% auto;
    animation: waterPlay2 8s linear infinite 0.3s;
    opacity: 0.6;
}


@keyframes play {
    0% {background-position: 0 0;}
    100% {background-position: 100% 0;}
}

@keyframes waterPlay {
    0% {background-position: 0 0;}
    100% {background-position: 100% 0;}
}

@keyframes waterPlay2 {
    0% {background-position: 100% 0;;}
    100% {background-position: 0% 0;}
}