
html {
    overflow-y: scroll;
    overflow-y: overlay;
}

body {
    color: #3B6F91;
    background-color: #E7E7E7;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.all-elements {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


* {
    scrollbar-width: thin;
    scrollbar-color: #888888 #888888;
}

::-webkit-scrollbar {
    background: transparent;
    height: 10px;
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    opacity: 0.5;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-resizer,
::-webkit-scrollbar-button,
::-webkit-scrollbar-corner { 
    display: none; 
}

::-webkit-scrollbar-track-piece {
    background:transparent;
}

ul {
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    margin-block-start: 0px;
    margin-block-end: 0px;
    padding-inline-start: 0px;
    -webkit-padding-start: 0px;
    -moz-padding-start: 0px;
}

.control-navigation {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 100vw;
}

.control-page {
    margin-top: 124px;
}

.control-footer {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    margin-top: auto;
}


.hero-container {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    min-height: 600px;
    width: 100vw;
}

.hero-content {
    background-color: rgba(88,88,88,0.5);
    box-sizing: border-box;
    color: #ffffff;
    font-weight: 100;
    margin-top: 100px;
    max-width: 640px;
    min-width: 640px;
    padding: 32px 64px;
}

.hero-heading {
    font-size: 2.75rem;
    font-weight: 400;
    margin: 1rem 0 0;
    text-transform: uppercase;
}

.hero-text {
    display: flex;
    flex-direction: column;
    font-size: 1.75rem;
    margin-top: 0.5rem;
    gap: 10px;
}

.hero-watermark {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    margin-top: -10vw;
}

.hero-watermark-img {
    width: 15vw;
}

@media only screen and (max-width: 1024px) {

    .control-page {
        margin-top: 100px;
    }

    .hero-container {
        min-height: auto;
    }

    .hero-content {
        margin-top: 0;
        min-width: auto;
        padding: 8px 32px 32px;
        width: 100vw;
        min-height: 380px;
    }

    .hero-watermark {
        margin-top: max(-40vw, -200px);
    }

    .hero-watermark-img {
        width: 50vw;
        max-width: 200px;
    }
}

.body {        
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 48px 25vw;
}

.body-heading {
    font-size: 2.5rem;
    font-weight: 100;
    margin: 1rem auto;
    text-transform: uppercase;
}

.body-text {
    line-height: 2rem;
    text-align: center;
    margin: 16px auto;
}

.body-splitter {
    border-top: 2px solid #3B6F91;
    margin: 16px auto;
    width: 192px;
}

.body-split {
    padding: 0 10vw;
    width: 50%;
}

.body-sections {
    flex-direction: row;
    padding: 48px 10vw;
    gap: 3vw;
}

.body-sections.breathe {
    gap: 9vw;
}

.buttons {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 32px;
    width: 320px;
}

.buttons .button {
    align-items: center;    
    background-color: #ffffff;
    color: #3B6F91;
    cursor: pointer;
    display: flex;
    justify-content: center;    
    text-decoration: none;
    height: 35px;
    width: 50px;
}

.buttons .button:hover {
    background-color: #3B6F91;
    color: #ffffff;
}

.buttons .button.left {
    border-radius: 20px 0 0 20px;
}

.buttons .button.right {
    border-radius: 0 20px 20px 0;
}

.buttons .button.full {        
    border-radius: 20px;
    box-sizing: border-box;
    padding: 0 20px;
    width: 320px;
}

.buttons .button.full.success {
    background-color: #4caf50;
    color: #ffffff;
}

.body.dark {
    color: #ffffff;
    background-color: #888888;
    border-color: #ffffff;
}

.body-sections.page-heading {
    flex-direction: column;
    padding-bottom: 0;
    gap: 0;
}

.body-sections.story {
    align-items: flex-start;
}

.body-split.right {
    padding-left: 0;
    align-items: flex-start;
}

.body-split.left {
    padding-right: 0;
    align-items: flex-end;
}

.body-split.right .body-heading {
    font-size: 2.0rem;
    margin-left: 0;
}

.body-split.left .body-heading {
    font-size: 2.0rem;
    margin-right: 0;
}

.body-split.right .body-splitter {
    margin-left: 0;
}

.body-split.left .body-splitter {
    margin-right: 0;
}

.body-split .body-splitter {
    margin: 8px 0 24px;
}

.body-text-area {
    margin: 0 -20px;
    max-height: 300px;
    overflow-y: auto;
    padding: 0 20px;
}

.body-split.right .body-text-area .body-text {
    text-align: justify;
}

.body-split.left .body-text-area .body-text {
    text-align: justify;
}

.story .body-split .body-text-area {
    max-height: 600px;
}

.story .body-split .body-text {
    text-align: left;
}

.body-text:first-of-type {
    margin-top: 0;
}

.body-text:last-of-type {
    margin-bottom: 0;
}


.body-image {
    max-height: 450px;
}

.body-scroll {
    align-self: flex-end;
    font-size: 0.85rem;
    opacity: 0.85;
    padding-top: 20px;
}


@media only screen and (max-width: 1024px) {

    .body {
        padding: 48px 10vw;
    }

    .body-split {
        padding: 0;
        width: auto;
    }

    .body-sections {
        flex-direction: column-reverse;
        padding: 48px 10vw;
        gap: 10vw;
    }
    
    .body-sections.dark {
        flex-direction: column;
    }
    
    .body.body-split {
        flex-direction: column;
    }

    .body.body-split.left {
        align-items: flex-start;
    }

    .body-split.left .body-heading {
        margin-right: auto;
    }

    .body-split.left .body-text-area .body-text {
        text-align: justify;
    }
    
    .body-text {
        line-height: 1.25rem;
    }

    .buttons {
        width:100%;
    }

    .newsletter {
        padding: 0;
    }

}

.youtube {
    align-self: stretch;
    border: none;
    height: calc(50vw / 16 * 9);
}

@media only screen and (max-width: 1024px) {
    
    .youtube {
        height: calc(80vw / 16 * 9);
    }
}
