.container {
    margin:0;
}

div#hero-video-container {
    display: grid;
    min-height: 100vh;
    max-height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

div#hero-video-container video,
div#hero-video-container iframe {
    z-index: -1;
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 100vh;
    min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header-text-container {
    background: linear-gradient(90deg, var(--brand-dark) 10%, transparent);
    width: 40vw;
    color: #fff;
    padding: 2.5vw;
    align-self: center;
    padding-left: 7.5vw;
    margin-top: 7.5vw;
}

h1.white.hero-title {
    color: #fff;
}

button.white {
    background: #fff;
    border: none;
    color: var(--brand-dark);
    font-size: 1.75vw;
    font-weight: 700;
    padding: 0.25em 1em;
    cursor: pointer;
    transition: .5s all ease-in-out;
    filter: drop-shadow(0px 0px 1px rgba(0,0,0,0.05));
}

section:not(:first-of-type) {
    background: #fff;
}

section#header-full-vid-bg {
    max-height: 100vh;
    overflow: hidden;
    min-height: 100vh;
}

section#general {
    padding-top: 5vw;
}

section#general .container.split {
    margin: 0 7.5vw;
    margin-top: 5vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2.5vw;
}

section#general .container.split img {
    width: 100%;
    height: auto;
    object-fit: cover;/* display:inline-block; */
}

section#general .text-container {
    display: grid;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0.15fr 0.15fr 0.25fr 0.5fr;
    grid-gap: 1vw;
}

.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-grid img:nth-of-type(1) {
    grid-row-start: 1;
    grid-row-end: 2;
    height: 80%;
    margin-top: 25%;
}

.image-grid img:nth-of-type(2) {
    height: 90%;
    align-self: end;
    grid-row-start: 1;
    grid-row-end: 3;
}

.image-grid img:nth-of-type(3) {
    grid-row-end: 5;
    grid-row-start: 2;
    height: 100%;
    align-self: start;
    margin-top: 1.5vw;
}

.image-grid img:nth-of-type(4) {
    align-self: start;
    grid-row-end: 5;
    grid-row-start: 3;
    height: 90%;
}

section#portsmouth .split-section {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    grid-gap: 5vw;
    align-items: center;
}

section#portsmouth {
    padding-top: 7.5vw;
}

section#portsmouth .split-section .text-section {
    margin-left: 7.5vw;
}

section#portsmouth .centered-title {
    margin-bottom: 0;
}

.split-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1.5vw;
}

.split-images > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-images > img:first-of-type {
    height: 90%;
}

.split-images > img:last-of-type {
    height: 90%;
    align-self: end;
}

section#ruth .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5vw;
    padding: 12vw 7.5vw;
    align-items: center;
}

section#qualify .card {
    margin: 12.5vw auto;
    width: calc(40vw - 5vw / 2);
    padding: 5vw;
    z-index: 1;
    position: relative;
}

section#qualify:after {
    content: "";
    background: var(--brand-light);
    width: 100vw;
    height: 50%;
    position: absolute;
    left: 0;
    top: 25%;
    z-index: -1;
}

section#qualify {
    position: relative;
}

section#qualify .card .btn-primary {
    width: fit-content;
    margin: auto;
    margin-top: 2.5vw;
}

.wfh-container {
    padding: 2.5vw 0;
    background: #fff;
}

section#qualify:after {
    content: "";
    background: var(--brand-light);
    width: 100vw;
    height: 50%;
    position: absolute;
    left: 0;
    top: 25%;
    z-index: 0;
}

.investors-about {
    background: #fff;
    padding: 5vw 7.5vw;
    padding-top: 2.5vw;
    padding-bottom: 0;
}

.investors-about > p:last-of-type {
    margin-bottom: 0;
}

section#qualify {
    position: relative;
}

section#qualify .card .btn-primary {
    width: fit-content;
    margin: auto;
    margin-top: 2.5vw;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 15.5vw 8.5vw 2.5vw 10.5vw;
    grid-gap: 1vw;
    }

@media screen and (max-width: 767px) {
    .header-text-container {
        width: calc(100% - 7.5vw * 2);
        padding: 7.5vw;
    }
    button.white {
        padding: 1vw 2.5vw;
        font-size: 4.5vw;
    }
    section#general .text-container {
        display: grid;
        grid-gap: 7.5vw;
        margin-bottom: 7.5vw;
    }
    section#general .container.split {
        grid-template-columns: 1fr;
    }

    section#general .container.split img {
        grid-row-start: 2;
    }
    section#portsmouth .split-section {
        grid-template-columns: 1fr;
    }

    section#portsmouth .split-section .text-section {
        margin-left: 0;
    }
    section#ruth .container {
        grid-template-columns: 1fr;
        grid-gap: 7.5vw;
    }
    section#ruth .container .split-images {
        grid-row-start: 2;
    }
    #partners h2.centered-title {
        margin: 0;
        padding-bottom: 7.5vw;
    }
    section#qualify .card {
        margin: 12.5vw auto;
        width: calc(80vw - 5vw / 2);
        padding: 5vw;
    }
    .image-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 25.5vw 18.5vw 12.5vw 15.5vw;
        grid-gap: 1vw;
    }
    .image-grid img:nth-of-type(1) {
        grid-row-start: 1;
        grid-row-end: 2;
        height: 80%;
        margin-top: 15%;
    }
}