
html, body{
    height: 100%;
    height: -webkit-fill-available;
}

html{
    margin-top: 0 !important;
    padding: 0;
}

body{
    /*height: 100vh;*/
    /*background: linear-gradient(rgba(213,226,239,1) 0%, rgba(248,250,252,1) 100%);*/
    background-color: #E4F8FE;
}

.info-cta{
    padding-top: 40px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.info-cta .divider{
    max-width: 160px;
}
.info-cta p{
    max-width: 503px;
    margin: 0 auto;
}

.landing-page{
    z-index: 3;
}

h1{
    color: #1b1c46;
    margin-bottom: 10px;
    margin-top: 18px;
    font-family: magistral, sans-serif;
    font-weight: 800;
    font-style: normal;
    font-style: italic;
    font-weight: 800;
    font-size: 64px;
    line-height: 100.4%;
}

h2{
    margin-top: 0px;
    font-family: Magistral;
    font-style: normal;
    font-weight: normal;
    font-size: 21px;
    line-height: 29px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #1B1C46;
    margin-bottom: 18px;
}

h2 p{
    margin: 0;
}

#join-mission-cta{
    border: 3px solid #1b1b49;
    background: #e94d4e;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none!important;
    font-family: Magistral;
    font-style: normal;
    font-weight: bold;
    font-size: 21px;
    line-height: 29px;
    text-align: center;
    letter-spacing: 0.035em;
    color: #FFFFFF;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 0px 10px;
    display: inline-block;
    transition: 0.3s all linear;
}

.hover{
    height: 59px;
}
.hover:hover a{
    animation-name: push;
    animation-duration: 0.3s;
}
@keyframes push {
    50%   {transform: scale(0.8)}
    100% {transform: scale(1.0)}
}

#join-mission-cta:hover{
    background: #1b1b49;
    color: white;
    transition: 0.3s all linear;
}

.bottom-bg{
    position: relative;
    top: -300px;
    /*position: absolute;*/
    /*bottom: 0;*/
    /*left: 0;*/
    /*right: 0;*/
    /*max-height: 580px;*/
    /*height: 100vh;*/

    /*min-height: 400px;*/
    min-height: 100vh;
    background-image: url("../landing_bottom_flat.png");
    background-position: center 75%;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    /*z-index: -2;*/
    /*border: 1px solid red;*/
}

.bottom-city{
    width:100%;
    position: relative;
    top: 4px;
}

.bus-container{
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80%;
    max-width: 1060px;
    bottom: 26%;
    z-index: 3;
    /*height: 30%;*/
    /*height: 400px;*/
}

.hole{
    width: 100%;
    position: absolute;
    bottom: 0;
}

.bus{
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 0;
    width: 60%;
}

.bus-aspect-ratio{
    visibility: hidden;
    width: 100%;
}

@media (hover: hover) {
    .bus:hover {
        animation: BusAnimation 2s linear infinite;
    }
}

@keyframes BusAnimation {
    0%, 100% {
        bottom: 170px;
    }
    50% {
        bottom: 150px;
    }
}

#boat1{
    position: absolute;
    left: 10%;
    width: 15%;
    max-width: 172px;
    bottom: 45%;
    animation: moveBoat1 5s linear infinite;
    z-index: 4;
}

#boat2{
    position: absolute;
    right: 15%;
    max-width: 172px;
    width: 20%;
    bottom: 45%;
    animation: moveBoat2 5s linear infinite;
    z-index: 4;
}

video{
    max-width: 100%;
    border-radius: 9px;
    z-index: 2;
    width: 754px;
    margin: 15px auto 95px;
}
@keyframes moveBoat1
{
    0% {
        left: 5%;
        transform: scaleX(1);
    }
    49.999% {
        transform: scaleX(1);
    }
    50% {
        left: 10%;
        transform: scaleX(-1);
    }
    100% {
        left: 5%;
        transform: scaleX(-1);
    }
}

@keyframes moveBoat2
{
    0% {
        right: 5%;
        transform: scaleX(1);
    }
    49.999% {
        transform: scaleX(1);
    }
    50% {
        right: 10%;
        transform: scaleX(-1);
    }
    100% {
        right: 5%;
        transform: scaleX(-1);
    }
}

@media all and (max-height: 900px) {
    .bottom-bg{
        top: -150px;
        /*border: 1px solid red;*/
    }

    .bus-container{
        bottom: 16%;
    }
}

@media all and (max-height: 600px) {
    .bottom-bg{
        top: -50px;
        /*border: 1px solid red;*/
    }

    .bus-container{
        bottom: 8%;
    }
}

@media screen and (max-width:1024px) and  (orientation: portrait){
    .bus-container{
        width: 98%;
        bottom: 40%;
    }

    .bottom-bg{
        background-image: url("../background_landscape_mobile.jpg");
        top: -250px;
        background-size: contain !important;
    }

    .info-cta{
        padding-left: 30px;
        padding-right: 30px;
    }

    .landing-page{
        height: 100vh !important;
        overflow: hidden;
    }

    #boat1, #boat2{
        width: 22%;
    }

    #boat1{
        left: 10%;
        bottom: 35%;
    }

    #boat2{
        bottom: 55%;
        z-index: 2;
    }

}

@media screen and (min-width:600px) and (max-width:1024px)  and  (orientation: portrait){
    .bottom-bg{
        background-size: cover !important;
    }
}

