@import url(
    'https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;800&display=swap'
);

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 200vh;
    overflow-x: hidden;

    background: #000;
    color: #fff;

    font-family: "Roboto", Arial, sans-serif;
}


/* header */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    padding: 40px 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 30;
}

.logo {
    color: #fff;

    font-size: 1.5em;
    font-weight: 700;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.5);
}


/* hamburger */

.menu-toggle {
    width: 50px;
    height: 50px;

    padding: 0;
    border: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: transparent;

    cursor: pointer;

    transition:
        transform 650ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.open {
    transform: rotate(-45deg);
}

.line {
    display: block;

    width: 100%;
    height: 6px;

    border-radius: 5px;

    background: #fff;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.45);
}

.line.short {
    width: 50%;
}

.line.start {
    transform-origin: right center;

    transition:
        transform 650ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line.end {
    align-self: flex-end;
    transform-origin: left center;

    transition:
        transform 650ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.open .line.start {
    transform: rotate(-90deg) translateX(3px);
}

.menu-toggle.open .line.end {
    transform: rotate(-90deg) translateX(-3px);
}


/* hero */

.showcase {
    position: fixed;
    inset: 0;

    width: 100%;
    min-height: 100vh;

    padding: 100px;

    display: flex;
    align-items: center;

    background: #111;

    z-index: 1;
}

.showcase video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.38),
            rgba(0, 0, 0, 0.08)
        );
}

.text {
    position: relative;

    max-width: 900px;

    z-index: 2;
}

.text h1 {
    font-size: 2em;
    font-weight: 800;
    line-height: 1em;
}

.text h3 {
    margin-top: 12px;

    font-size: 1.6em;
    font-weight: 700;
    line-height: 1em;
    font-style: italic;
}

.text p {
    max-width: 700px;

    margin: 20px 0;

    font-size: 1.1em;
    font-weight: 400;
}


/* learn more button */

.text a {
    display: inline-block;

    margin-top: 10px;
    padding: 10px 30px;

    background: #fff;
    color: #111;

    font-size: 1em;
    letter-spacing: 2px;

    text-decoration: none;

    transition:
        letter-spacing 300ms ease,
        background-color 300ms ease;
}

.text a:hover {
    background: rgba(255, 255, 255, 0.88);

    letter-spacing: 6px;
}


/* slide-out menu */

.menu {
    position: fixed;
    top: 0;
    right: 0;

    width: 300px;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            to left,
            rgba(72, 72, 72, 0.94),
            rgba(125, 125, 125, 0.72)
        );

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transform: translateX(100%);

    transition:
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1);

    z-index: 20;
}

.menu.open {
    transform: translateX(0);
}

.menu ul {
    list-style: none;
}

.menu li {
    margin: 18px 0;
}

.menu a {
    color: #fff;

    font-size: 24px;

    text-decoration: none;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.4);

    transition:
        opacity 300ms ease;
}

.menu a:hover {
    opacity: 0.65;
}


/* scrolling space */

.scroll-space {
    height: 200vh;
}


/* slide-up footer */

.site-footer {
    --footer-progress: 0;

    position: fixed;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 72vh;

    background: #000;

    transform:
        translateY(
            calc(
                100% -
                (var(--footer-progress) * 100%)
            )
        );

    z-index: 25;

    pointer-events: auto;

    box-shadow:
        0 -12px 35px rgba(0, 0, 0, 0.28);
}


/* centered footer content */

.footer-content {
    position: absolute;

    top: 50%;
    left: 50%;

    width: min(1100px, calc(100% - 80px));
    max-width: 1100px;

    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    color: #A5A5A5;
}


/* logos */

.footer-logos {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1px 1fr;

    align-items: center;

    margin-bottom: 40px;
}

.footer-logos img:first-child {
    justify-self: end;
    margin-right: 45px;

    max-width: 42%;
    max-height: 230px;

    transform: scale(0.75);
}

.footer-logos img:last-child {
    justify-self: start;
    margin-left: 45px;

    max-width: 42%;
    max-height: 230px;

    transform: scale(1.25);
}

.logo-divider {
    width: 1px;
    height: 190px;

    background: #A5A5A5;
}


/* footer text */

.footer-content h2,
.footer-content p,
.footer-content small {
    color: #A5A5A5;
}

.footer-content h2 {
    margin-bottom: 15px;

    font-size: 2rem;
    font-weight: 700;
}

.footer-content p {
    margin-bottom: 25px;

    font-size: 1.1rem;
}


/* footer links */

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;

    margin-bottom: 30px;
}

.footer-links a {
    color: #A5A5A5;

    text-decoration: none;

    transition:
        color 250ms ease;
}

.footer-links a:hover {
    color: #fff;
}


/* optional separator lines between links */

.footer-links span {
    width: 1px;
    height: 24px;

    background: #A5A5A5;
}

.footer-content small {
    color: #A5A5A5;
}


/* tablet */

@media (max-width: 991px) {

    .site-header {
        padding: 40px;
    }

    .showcase {
        padding: 40px;
    }

    .text h1 {
        font-size: 1.6em;
    }

    .text h3 {
        font-size: 1.5em;
    }

    .footer-content {
        width: calc(100% - 60px);
    }

    .footer-logos {
        gap: 30px;
    }

    .footer-logos img {
        max-width: 43%;
        max-height: 200px;
    }

    .logo-divider {
        height: 160px;
    }
}


/* mobile */

@media (max-width: 600px) {

    .site-header {
        padding: 25px;

        align-items: flex-start;
    }

    .logo {
        max-width: 220px;

        font-size: 1.1rem;
        line-height: 1.2;
    }

    .menu-toggle {
        width: 42px;
        height: 34px;

        flex-shrink: 0;
    }

    .line {
        height: 5px;
    }

    .showcase {
        padding:
            130px
            25px
            40px;
    }

    .menu {
        width: 100vw;

        background:
            linear-gradient(
                to left,
                rgba(70, 70, 70, 0.96),
                rgba(130, 130, 130, 0.78)
            );
    }

    .site-footer {
        height: 80vh;
    }

    .footer-content {
        width: calc(100% - 40px);
    }

    .footer-logos {
        flex-direction: column;

        gap: 20px;

        margin-bottom: 30px;
    }

    .footer-logos img {
        max-width: 90%;
        max-height: 150px;
    }

    .logo-divider {
        width: 70%;
        height: 1px;

        flex: 0 0 1px;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;

        justify-content: center;

        gap: 12px;
    }

    .footer-links span {
        height: 18px;
    }
}


/* short screens */

@media (max-height: 650px) {

    .showcase {
        align-items: flex-start;

        padding-top: 110px;
    }

    .text p {
        margin: 15px 0;
    }

    .site-footer {
        height: 86vh;
    }

    .footer-logos img {
        max-height: 135px;
    }

    .logo-divider {
        height: 130px;
    }
}