/* CSS RESET */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    /* stops text selection */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE/Edge */
    user-select: none;
}

/* stop browser outline from displaying on button clicks */
*:active {
    outline: 0;
}

@font-face {
    font-family:Hero-New-Regular ;
    src: url(../fonts/Hero-New-Regular.otf);
}
@font-face {
    font-family:Hero-New-Light ;
    src: url(../fonts/Hero-New-Light.otf);
}
@font-face {
    font-family:Hero-New-Bold ;
    src: url(../fonts/Hero-New-Bold.otf);
}
@font-face {
    font-family:Hero-New-Super ;
    src: url(../fonts/Hero-New-Super.otf);
}

/* GENERAL STYLES */
html, body {
    /* stop page from scrolling */
    height: 100%;
    overflow: hidden;
    font-family: "Arial", sans-serif;
}

div, main, section, img {
    position: absolute;
}

main {
    display: none;
}

#loading, main {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#loading {
    width: 50px;
    height: auto;
}

#btn-container {
    width: 426px;
    height: 498px;
    top: 48%;
    left: 48%;
    transform: translate(-50%, -50%);
    cursor: pointer;

   display: flex;
   justify-content: center;
    /* flex-flow: column wrap; */
    /* justify-content: center;
    align-items: center; */
    
}

#begin-instruct {
    align-self: flex-end;
    
}



#begin {
    display: inline-block;
    color: #FFF;
    border: solid 1px transparent;
    border-radius: 20px;
    padding: 10px 20px;
    transition: all 0.5s;
}

/* #begin:hover {
    cursor: pointer;
    background-color: #FFF;
    color: #000;
    border: solid 1px #000;
} */

main {
    width: 960px;
    height: 600px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

section {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#next, #prev, #play-pause {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    bottom: 20px;
    color: #FFF;
    border: solid 1px #FFF;
    border-radius: 5px;
    background: rgba(93, 155, 206, 1);
    font-size: 20px;
    font-weight: bold;
    transition: background 0.5s;
    z-index: 9999;
}

#next {
    right: 20px;
    padding-left: 2px;
}

#prev {
    left: 20px;
}

#next:hover, #prev:hover, #play-pause:hover {
    cursor: pointer;
    color: #000;
    background: rgba(255, 255, 255, 1);
}

#play-pause {
    left: 50%;
    transform: translateX(-50%);
}

.play {
    width: 12px;
    height: 16px;
    border-top: 8px solid transparent;
    border-left: 12px solid #FFF;
    border-bottom: 8px solid transparent;
    margin-left: 2px;
}

#play-pause:hover .play {
    border-left-color: #000;
}

.pause {
    width: 12px;
    height: 16px;
    border-right: 4px solid #FFF;
    border-left: 4px solid #FFF;
}

#play-pause:hover .pause {
    border-right-color: #000;
    border-left-color: #000;
}

/* class can be applied to anything you want a pointer hover on */
.ele-hover:hover {
    cursor: pointer;
}

.mobile-warning {
    visibility: hidden;
}

/* SHARED SCREEN STYLES */
h1 {
    position: absolute;
    color: #FFF;
    font-family:Hero-New-Super ;
    white-space: nowrap;
}


/* SCREEN 1 STYLES */
#screen1 {
    background: url(../img/bg1.svg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#screen1 h1 {
    top: 13%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    font-size: 6rem;
}

#ele1 {
    width: 65%;
    top: 28%;
    left: 18%;
    z-index: 100;
}

#ele2 {
    width: 16%;
    bottom: -10px;
    right: 80px;
}

#ele3 {
    width: 16%;
    bottom: -10px;
    right: -5px;
}

#ele4 {
    width: 16%;
    bottom: -35px;
    left: -5px;
    z-index: 1;
}

#ele5 {
    width: 16%;
    bottom: -10px;
    left: 80px;
}

#eye1 {
    width: 12%;
    bottom: 35px;
    left: 309px;
    z-index: 101;
}

#eye2 {
    width: 11.75%;
    bottom: 35px;
    right: 295px;
    z-index: 101;
}


/* SCREEN 2 STYLES */
#screen2 {
    background: url(../img/bg1.svg);
}

#screen2 h1 {
    font-size: 2rem;
    top: 3%;
    left: 20px;
    z-index: 50;
}

#bg2 {
    width: 120%;
    bottom: -10px;
    left: -70px;
}

#bg3 {
    width: 115% ;
    bottom: -15px;
    left: -60px;
}

#hover {
    width: 12%;
    top: 3%;
    right: 20px;
}

#ele6 {
    width: 19%;
    left: 140px;
    bottom: 22.39px;
    
}

#ele7 {
    width: 4%;
    left: 60px;
    bottom: 216px;
}

#ele8 {
    width: 4%;
    left: 175px;
    bottom: 175px;
    rotate: 25deg;
}

#ele9 {
    width: 9.5%;
    left: 320px;
    bottom: 42px;
    rotate: -10deg;
    transition: all 0.5s ease-in-out;
    
}

#ele9:hover {
    transform: translateY(-20px);
}

#ele10 {
    width: 12%;
    left: 480px;
    bottom: 42px;
    transition: all 0.5s ease-in-out;
}

#ele10:hover {
    transform: translateY(-30px);
}

#ele11 {
    width: 9.5%;
    right: 210px;
    bottom: 42px;
    transition: all 0.5s ease-in-out;
}

#ele11:hover {
    transform: translateY(-20px);
}

#ele12 {
    width: 9%;
    right: 53px;
    bottom: 35px;  
    transition: all 0.5s ease-in-out; 
}

#ele12:hover {
    transform: translateY(-20px);
}

.ele13-wrapper {
    width: 20%;
    height: 220px;
    top: 95px;
    left: 20px;
    /* outline: red 5px solid; */
    background-color: #2B4564;
    z-index: 3;
}

#ele13 {
    width: 20%;
    left: 30px;
    bottom: 300px;
}

.ele14-wrapper {
    width: 20%;
    height: 230px;
    top: 160px;
    left: 260px;
    /* outline: red 5px solid; */
    background-color: #2B4564;
    z-index: -4;
}

#ele14 {
    width: 18%;
    left: 270px;
    bottom: 220px;
    z-index: -5;
}

.ele15-wrapper {
    width: 20%;
    height: 330px;
    top: 80px;
    left: 450px;
    /* outline: red 5px solid; */
    background-color: #2B4564;
    z-index: -2;
}

#ele15 {
    width: 16%;
    left: 470px;
    bottom: 200px;
    z-index: -3;
}

.ele16-wrapper {
    width: 20%;
    height: 230px;
    top: 165px;
    right: 160px;
    /* outline: red 5px solid; */
    background-color: #2B4564;
    z-index: -4;
}

#ele16 {
    width: 16.5%;
    right: 160.5px;
    bottom: 210px;
    z-index: -5;
}

.ele17-wrapper {
    width: 25%;
    height: 288px;
    top: 102px;
    right: -79px;
    /* outline: red 1px solid; */
    background-color: #2B4564;
    z-index: -4;
}

#ele17 {
    width: 15.2%;
    right: 15px;
    bottom: 210px;
    z-index: -5;
}

#ele18 {
    width: 15%;
    left: 200px;
    bottom: 60px;
    z-index: -2;
}

#ele19 {
    width: 12%;
    right: 140px;
    bottom: 10px;
    z-index: -3;
}

#bubble {
    z-index: -1;
    left: 60px;
    opacity: 70%;
}

#bubble2 {
    z-index: -1;
    right: 130px;
    opacity: 70%;
}

/* SCREEN 3 STYLES */
#screen3 {
    background: url(../img/bg1.svg);
}

#click {
    width: 8%;
    bottom: 250px;
    left: 20px;
    z-index: 5;
}

#screen3 h1 {
    font-size: 2.5rem;
    top: 10px;
    right: 20px;
    z-index: 50;
}

#ele20 {
    width: 79%;
    top: -40px;
    left: -30px;
    z-index: 5;
}


#ele29 {
    width: 19.74%;
    top: 270px;
    left: 691px;
    z-index: 6;
}

#ele21 {
    width: 14.5%;
    top: 40px;
    left: 80px;
    z-index: 6;
    cursor: pointer;
}

#ele22 {
    width: 12.5%;
    top:40px;
    top: 195px;
    left: 238px;
    z-index: 6;
    cursor: pointer;
}

#ele23 {
    width: 7.5%;
    left: 48.3%;
    top: 173px;
    z-index: 6;
    cursor: pointer;
}

#ele24 {
    width: 5.8%;
    top: 258px;
    right: 278px;
    z-index: 6;
    cursor: pointer;
}


.ele25-wrapper {
    width: 25%;
    height: 80px;
    top: 25px;
    left: 215px;
    /* outline: red 1px solid; */
    background-color: #2B4564;
    z-index: 1;
}

#ele25 {
    width: 23%;
    top: 30px;
    left: 220px;
    opacity: 0;
}

.ele26-wrapper {
    width: 35%;
    height: 80px;
    top: 115px;
    right: 90px;
    /* outline: red 1px solid; */
    background-color: #2B4564;
    z-index: 1;
}

#ele26 {
    width: 35%;
    top: 115px;
    right: 90px;
    opacity: 0;
}

.ele27-wrapper {
    width: 38%;
    height: 180px;
    bottom: 80px;
    left: 80px;
    /* outline: red 1px solid; */
    background-color: #2B4564;
    z-index: 1;
}

#ele27 {
    width: 20%;
    bottom: 80px;
    left: 90px;
    opacity: 0;
}

.ele28-wrapper {
    width: 20%;
    height: 205px;
    bottom: 65px;
    right: 325px;
    /* outline: red 1px solid; */
    background-color: #2B4564;
    z-index: 1;
}

#ele28 {
    width: 18%;
    bottom: 65px;
    right: 325px;
    opacity: 0;
}

/* SCREEN 4 STYLES */
#screen4 {
    background: url(../img/bg1.svg);
}

#screen4 h1 {
    font-size: 2rem;
    top: 20px;
    left: 30px;
    z-index: 10;
}

#ele30 {
    width: 25%;
    bottom: 60px;
    left: -40px; 
    z-index: 6;
}

#ele31 {
    width: 23%;
    bottom: 100px;
    left: -7px;
    z-index: 10;
    cursor: pointer;
}

#ele32 { 
    width: 40%;
    top: 180px;
    right: 350px;
    rotate: -40deg;
    z-index: 5;
    cursor: pointer;
}

#ele33 {
    width: 130%;
    left: -70px;
    bottom: -30px;
    z-index: 8;
}

#ele34 {
    width: 40%;
    left: -45px;
    bottom: 30px;
    z-index: 9;
}

#ele35 {
    width: 16%; 
    bottom: 45px;
    right: 110px;
    z-index: 9;
    cursor: pointer;
}

#ele35-2 {
    width: 16%; 
    bottom: 45px;
    right: 60px;
    z-index: 8;
}

#screen4-text1 {
    width: 25%;
    top: 120px;
    left: 50px;
    z-index: -2;

}

.text1-container {
    width: 26%;
    height: 140px;
    top: 110px;
    left: 50px;
    /* outline: red 1px solid; */
    background-color: #2B4564;
    z-index: -1;
}

#screen4-text2 {
    width: 25%;
    top: 30px;
    right: 140px;
    z-index: 2;
}

.text2-container {
    width: 30%;
    height: 130px;
    top: 30px;
    right: 100px;
    /* outline: red 1px solid; */
    background-color: #2B4564;
    z-index: 3;
}

#screen4-text3 {
    width: 20%;
    bottom: 165px;
    right: 250px;
}

.text3-container {
    width: 20%;
    height: 190px;
    top: 245px;
    right: 250px;
    /* outline: red 1px solid; */
    background-color: #2B4564;
    z-index: 1;
}

#screen4 #bubble2 {
    z-index: 5;
}

#screen4 #ele19 {
    width: 12%;
    right: 20px;
    bottom: 70px;
    z-index: -3;
}

#ele19-2 {
    width: 12%;
    left: 300px;
    bottom: 20px;
    z-index: -3;
}


#click2 {
    width: 12%;
    top: 20px;
    left: 350px;
    z-index: 5;
}

#rocks {
    width: 18%;
    bottom: 30px;
    left: 200px;
    z-index: 10;
}

#stars {
    width: 9%;
    bottom: 20px;
    right: 370px;
    z-index: 10;
}



/* SCREEN 5 STYLES */
#screen5 {
    background: url(../img/bg1.svg);
    display: grid;
    grid-template-columns: 24px 307px 21px 99px 21px 160px 21px 282px 24px;
    grid-template-rows: 15px 171px 21px 161px 21px 196px;
}

#screen5 h1 {
    /* position: static; */
    font-size: 2.5rem;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #416a93;
    border-radius: 15px;
    padding: 20px;
}

.screen-text {
    opacity: 0;
    cursor: pointer;
}

#screen5-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    grid-column: 2/3;
    grid-row: 2/3;
    background-color: #5d9bce;
}

#one {
    grid-column: 4/7;
    grid-row: 2/3;
    width: 100%;
    height: 100%;
}

#two {
    grid-column: 8/9;
    grid-row: 2/3;
    width: 100%;
    height: 100%;
}

#three {
    width: 100%;
    height: 100%;
    grid-column: 2/9;
    grid-row: 4/5;
    padding: 80px;
}

.bars {
    height: 30px;
    width: 30px;
    background: #FFF;
}

#bar1 {
    background-color: #cf2e42;
    right: 387px;
    top: 33px;
    opacity: 0;
    /* width: 200px; */
}

#bar2 {
    background-color: #a12635;
    right: 387px;
    bottom: 42px;
    opacity: 0;
}

#four {
    width: 100%;
    height: 80%;
    grid-column: 2/5;
    grid-row: 6/7;
}

#ele39 {
    width: 78%;
}

#five {
    overflow: hidden;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 80%;
    grid-column: 6/9;
    grid-row: 6/7;
}

#ele40 {
    margin-top: 10px;
    width: 82%;
}

#screen5-octopus {
    width: 13%;
    bottom: -13px;
    right: 200px;
}


/* for modals... can be used anywhere */
.overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    width: 50%;
    height: 50%;
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);
    background: rgba(28, 33, 53, 0.9);
    z-index: 2000;
    border-radius: 20px;
    color: white;
    font-family: Hero-New-Light;
    font-size: 1.3rem;
    text-align: center;
    padding: 30px;
    line-height: 35px;
}

.close {
    background-color: #cf2e42;
    padding: 3px 10px;
    border-radius: 20px;
    color: #FFF;
    top: 10px;
    right: 20px;
    font-family: Hero-New-Bold;
    font-size: 18px;
}

.overlay-content {
    color: #FFF;
    top: 0;
    text-align: center;
}

/* SCREEN 6 STYLES */
#screen6 {
    background: url(../img/bg1.svg);
}

#screen6 h1 {
    font-size: 3rem;
    top:25px;
    left: 80px;
}

.ref-container {
    display: grid;
    grid-template-columns: 80px 350px 100px 350px 80px;
    grid-template-rows: 320px;
}

#refbox1 {
    display: flex;
    flex-direction: column;
    grid-column: 2/3;
    grid-row: 1/2;
}

#refbox2 {
    display: flex;
    flex-direction: column;
    grid-column: 4/5;
    grid-row: 1/2;
}

.ref {
    width: 100%;
    height: 82%;
    top: 70px;
    /* display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    justify-content: space-evenly; */
    font-family:Hero-New-Light;
    padding: 10px;
    margin: 10px 0 20px 0;
    font-size: 0.9rem;
    line-height: 37px;
}

.ref a{
    color: white;
    text-decoration: none;
    transition: all 0.5s ease;
}

.ref a:hover {
    transform: scale(1.02);
    color: #cf2e42;
}

#screen6_octopus {
    width: 45%;
    bottom: -30px;
    right: 20px;
}

#screen6-eye1 {
    width: 5%;
    bottom: 10px;
    right: 273px;
}

#screen6-eye2 {
    width: 5%;
    bottom: 10px;
    right: 157px;
}

@media (max-width: 1023px) {
    #btn-container {
        visibility: hidden;
    }

    main {
        visibility: hidden;
    }

    .mobile-warning {
        visibility: visible;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 1.5em;
        /* position: relative; */
        /* background-color: #2B4564; */
        /* margin: 0 auto; */

        /* top: 50%;
        left: 50%;
        transform: translate(-50%,-50%); */

    }

    .mobile-warning > p {
        font-family: Hero-New-Super;
        color: black;
        text-align: center;
        margin-bottom: 500px;
        width: 80%;
    }

    .mobile-warning-img {
        margin-top: 200px;
        width: 300px;
        height: 50%;
    }
}

