/*--------------------
 *    Root Styles     *
  --------------------*/
/* Mobile */
@media only screen and (min-width: 0em) {
    :root {
        --highlight: rgba(255, 221, 0, 1);
        --secondary: rgba(0, 45, 98, 1);
        --navy: rgba(31, 38, 54, 1);
        --slate: rgba(82, 103, 126, 1);
        --eggshell: rgba(253, 238, 181, 1);
        --lavender: rgba(206, 193, 202, 1);
        --iceblue: rgba(159, 196, 217, 1);

        /* Typography */
        --font-heading: "Helvetica Neue LT Com", sans-serif;
        --font-body: "Helvetica Neue", sans-serif;

        /* Font Weights */
        --weight-black: 900;
        --weight-medium: 500;
        --weight-regular: 400;

        /* Spacing */
        --section-height: 600px;
        --container-max-width: 1290px;
        --section-padding: 10%;

        /* Z-index layers */
        --z-parallax: 1000;
        --z-section: 10;
        --z-hero: 1;

        /* Layout Position */
        --section-left: content-start / content-middle;
        --section-right: content-middle / content-end;

        /* 16:9 Content Width - based on viewport height */
        --content-max-width: min(calc(100vh * 16 / 9), 1920px);
        --content-half-width: min(calc(100vh * 8 / 9), 960px);

    }

    @font-face {
        font-family: "Helvetica Neue LT Com";
        src: 
            url(/assets/fonts/helvetica-neue-lt-com/HelveticaNeueLTCom-BlkEx.ttf);
        font-weight: 900;
    }
    
    @font-face {
        font-family: "Helvetica Neue LT Com";
        src: 
            url(/assets/fonts/helvetica-neue-lt-com/HelveticaNeueLTCom-Md.ttf);
        font-weight: 500;
    }

    @font-face {
        font-family: "Helvetica Neue LT Com";
        src: 
            url(/assets/fonts/helvetica-neue-lt-com/HelveticaNeueLTCom-Ex.ttf);
        font-weight: 400;
        
    }
    
    @font-face {
        font-family: "Helvetica Neue";
        src: 
            url(/assets/fonts/helvetica-neue/HelveticaNeueMedium.otf);
        font-weight: 400;
    }

    body,
    html {
        margin: 0;
        padding: 0;
        font-size: 100%;
        overflow-x: hidden;
        scroll-behavior: smooth;
    }

    h1, h2, h3, h4, h5, h6 {
        margin: 0;
    }
    p, li, a {
        font-size: 1.125rem;
        line-height: 1.5em;
        margin: 0;
    }

    .button-intro {
        display: flex;
        flex-shrink: 1;
        width: fit-content;
        font-family: "Helvetica Neue LT Com", sans-serif;
        font-weight: 400;
        font-size: 14px;
        background: none;
        border: none;
        padding: 10px 10px;
        justify-content: center;
        align-items: center;
        border: 2px solid black;
        .button-text {
            transform: translateY(3px);
            padding: 0px 10px;
        }
        &.solid__white {
            background-color: white;
            border-color: white;
            .button-text {
                color: black;
            }
        }
        &.outline__white {
            background-color: white;
            border-color: black;
            .button-text {
                color: black;
            }
        }
        &.outline__eggshell {
            border-color: var(--eggshell);
            .button-text {
                color: var(--eggshell);
            }
        }
        &.outline__black {
            background-color: white;
            border-color: black;
            .button-text {
                color: black;
            }
        }
    }

    .container {
        width: 92%;
        height: 100%;
        position: relative;
    }

    /* Reset Margins */
    @media only screen and (min-width: 1024px) {
      body,
      html {
        padding: 0;
        margin: 0;
      }
    }
    /* Scale full website with the viewport width */
    @media only screen and (min-width: 2000px) {
      body,
      html {
        font-size: .85vw;
      }
    }
/*
    #page__container {
        display: grid;
        grid-template-columns: 
            [full-start] minmax(5%, 1fr) 
            [content-start] minmax(45%, 645px)
            [content-middle] minmax(45%, 645px)
            [content-end] minmax(5%, 1fr) [full-end];
        grid-template-rows: auto;
        width: 100%;
    }

    .section__container {
        display: grid;
        grid-template-columns: 
            [full-start] minmax(10%, 1fr) 
            [content-start] minmax(40%, 645px)
            [content-middle] minmax(40%, 645px)
            [content-end] minmax(10%, 1fr) [full-end];
        grid-template-rows: [top-padding] 4em [content-top] auto [content-bottom] 4em [bottom-padding];
        grid-column: full-start / full-end;
        .multirow {
            grid-template-rows: [top-padding] 4em 
                                [content-top] repeat(2, auto) 
                                [content-bottom] 4em [bottom-padding];
        }
        .full__left {
            grid-column: 1 / 3;
        }
        .full__right {
            grid-column: 3 / 5;
        }
        &.section__header {
            h1 {
                font-family: "Helvetica Neue LT Com";
                font-weight: 400;
                font-size: 3rem;
            }
        }
        h2 {
            font-family: "Helvetica Neue LT Com";
            font-weight: 400;
            font-size: 3rem;
        }
    }


    .section__left {
        grid-column: content-start / content-middle;
    }

    .section__right {
        grid-column: content-middle / content-end;
    }

    .section__full {
        grid-column: content-start / content-end;
    }

    .full__span {
        grid-column: full-start / full-end;
    }

    .text__container {
        display: flex;
        flex-direction: column;
        height: 100%;
        h2 {
            font-family: "Helvetica Neue LT Com";
            font-weight: 400;
            font-size: 3rem;
            color:rgba(0, 45, 98, 1);
        }
        p {
            font-family: "Helvetica Neue";
            font-weight: 300;
            font-size: 1rem;
            font-style: normal;
        }
    }
*/
    .banner__backdrop {
        grid-column: full-start / full-end;
        overflow: hidden;
        background-size: cover;
        background-color: rgba(0, 45, 98, 0.8);
        background-blend-mode: multiply;
        z-index: -1;
        &.hero {
            grid-row: 1;
            background-image: url('/assets/images/innovation-banner.png');
        }
        &.quote {
            grid-row: 4;
            background-image: url('/assets/images/innovation-banner.png');
        }
        &.awards {
            grid-row: 6;
            background-image: url('/assets/images/computer-room.png');
        }
    }

    .hero__content {
        z-index: 2;
        margin-inline: 20vw;
        display: flex;
        flex-direction: column;
        grid-column: content-start / content-end;
        grid-row: 1;
        align-items: center;
        justify-content: center;
        .tagline {
            color: rgba(255, 221, 0, 1);
            text-align: center;
            font-size: 1rem;
            text-transform: uppercase;
        }
        .heading {
            color: white;
            font-size: 5rem;
            text-align: center;
        }
    }
}

/*--------------------
 *      Sections      *
  --------------------*/
#page__container {
    display: grid;
    grid-template-rows: auto;
    width: 100%;
    grid-template-columns: 
        [full-start] 1fr 
        [content-start] minmax(0, var(--content-half-width))
        [content-middle] minmax(0, var(--content-half-width))
        [content-end] 1fr [full-end];
}

.section__container {
    display: grid;
    grid-template-columns: 
        [full-start] minmax(5%, 1fr) 
        [content-start] minmax(90%, 1fr)
        [content-end] minmax(5%, 1fr) [full-end];
    grid-template-rows: [top-padding] 4em 
                        [content-top] repeat(4, auto) 
                        [content-bottom] 4em [bottom-padding];
    grid-column: full-start / full-end;

    &.section__header {
        h1 {
            font-family: "Helvetica Neue LT Com";
            font-weight: 400;
            font-size: 3rem;
        }
    }
    h2 {
        font-family: "Helvetica Neue LT Com";
        font-weight: 400;
        font-size: 3rem;
    }

    .section__full {
        grid-column: content-start / content-end;
    }
    
    .full__span {
        grid-column: full-start / full-end;
    }

    .text__container {
        display: flex;
        flex-direction: column;
        height: 100%;
        h2 {
            font-family: "Helvetica Neue LT Com";
            font-weight: 400;
            font-size: 3rem;
            color:rgba(0, 45, 98, 1);
        }
        p {
            font-family: "Helvetica Neue";
            font-weight: 300;
            font-size: 1rem;
            font-style: normal;
        }
    }

    @media only screen and (max-width: 600px) {
        .section__right,
        .section__left {
            grid-column: content-start / content-end;
        }
    }
}

@media only screen and (min-width: 601px) {
    .section__container {
        grid-template-columns: 
            [full-start] 1fr 
            [content-start] minmax(0, var(--content-half-width))
            [content-middle] minmax(0, var(--content-half-width))
            [content-end] 1fr [full-end];
    
        .full__left {
            grid-column: 1 / 3;
        }
        .full__right {
            grid-column: 3 / 5;
        }
    
        .section__left {
            grid-column: content-start / content-middle;
        }
        
        .section__right {
            grid-column: content-middle / content-end;
        }
    }
}

@media only screen and (min-width: 0em) {
    .parallax-container {
        display: grid;
        grid-template-columns: repeat(8, minmax(50px, 1fr));
        grid-template-rows: repeat(8, minmax(50px, 1fr));
        grid-column-gap: 0px;
        grid-row-gap: 0px; 
        align-content: end;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -100%);
        z-index: 4;
        pointer-events: none;
        overflow: visible;
    }
    
    
    .row {
        position: relative;
        align-items: center;
        justify-content: start;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: auto;
        height: auto;
        .parallax-item {
            aspect-ratio: 1/1;
            display: inline-block;
            width: 100%;
            position: relative;
            margin: 0px;
            .parallax-item-inner {
                display: inline-block;
                position: absolute;
                width: 100%;
                height: 100%;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
                background-size: cover;
                background-position: center;
                background-repeat: no-repeat;
                &.outline-highlight {
                    background: none;
                    border: 2px solid var(--highlight);
                }
                &.outline-iceblue {
                    background: none;
                    border: 2px solid var(--iceblue);
                }
                &.outline-secondary {
                    background: none;
                    border: 2px solid var(--secondary);
                }
                &.solid-highlight {
                    background: var(--highlight);
                }
                &.solid-secondary {
                    background: var(--secondary);
                }
                &.parallax-image {
                    background-size: cover;
                    background-position: center;
                }
                &.parallax-image-contain {
                    background-size: contain;
                    background-position: center;
                    background-repeat: no-repeat;
                }
                &.bw,
                &.grayscale {
                    filter: grayscale(100%);
                }
            }
        }
    }
}

/*--------------------
 *   Image Utilities  *
  --------------------*/
.bw,
.grayscale {
    filter: grayscale(100%);
}

.bw-hover,
.grayscale-hover {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.bw-hover:hover,
.grayscale-hover:hover {
    filter: grayscale(0%);
}

/*--------------------
 *   Typography Utilities *
  --------------------*/
.heading--primary {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: var(--weight-regular);
    color: var(--secondary);
    margin: 0;
}

.heading--secondary {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: var(--weight-regular);
    color: var(--secondary);
    margin: 20px 0px;
}

.heading--accent {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: var(--weight-regular);
    color: var(--accent-yellow);
    margin: 0;
}

.body-text {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--weight-regular);
    line-height: 1.5em;
}

.body-text--center { text-align: center; }
.body-text--left { text-align: left; }

/*--------------------
 *      Parallax      *
  --------------------*/

/*--------------------
 *       Footer       *
  --------------------*/
/* Mobile */
@media only screen and (min-width: 0em) {
    #footer {
        background: black;
        padding: 2.25rem 0 1.25rem;
        font-size: min(4vw, 1.2em);
        a, p, label, li {
            font-family: "Helvetica Neue";
            list-style-type: none;
            font-size: .9rem;
            color: white;
        }
        hr {
            border: none;
            width: 100%;
            height: 1px;
            color: white;
            background-color: white;
        }
    }
    .footer__container {
        display: flex;
        width: 95%;
        flex-direction: column;
        flex-wrap: nowrap;
        position: relative;
        margin: auto;
        .resource__container {
                display: flex;
                justify-content: space-between;
                align-items: end;
                .lists {
                    display: flex;
                    ul {
                        padding: 0;
                        margin: 0;
                        text-align: center;
                    }
                }
        }
        .contact-us__container {
            display: grid;
            width: 30%;
            grid-template-columns: 3fr 1fr;
            grid-template-rows: 3ch 8ex;
            gap: 0;
            .form-label { 
                display: flex;
                align-self: end;
                flex-direction: column-reverse;
                justify-content: start;
                grid-area: 1 / 1 / 2 / 2; 
            }
            .contact-send__button { 
                grid-area: 2 / 2 / 3 / 3; 
                display: flex;
                border: none;
                background: none;
                justify-content: center;
                align-items: center;
            }
            .form { 
                display: flex;
                flex-direction: column;
                grid-area: 2 / 1 / 3 / 2; 
            } 
            input {
                background-color: black;
                height: 100%;
            }
        }
    }
}

/* Desktop */
@media only screen and (min-width: 64em) {
    #footer {
        font-size: min(1.2vw, 1em);
        .footer__container {
            justify-content: space-between;
            width: 96%;
            max-width: 82.5rem;
            .resource__container {
                .lists {
                    .nav_links {
                        margin-bottom: 0px;
                    }
                    ul li {
                        display:inline-block;
                        list-style-type:none;
                        margin-left: 1em;
                    }
                }
            }
        }
    }
}
