html {
    width: 100%;
}
body {
    margin: 0;
}
@font-face {
    font-family: "Helvetica Neue";
    src: 
        url(/assets/fonts/helvetica-neue/HelveticaNeueLight.otf);
    font-weight: 300;
}

p {
    font-family: "Helvetica Neue";
    font-weight: 300;
    font-size: 1rem;
    font-style:normal;
}

#page__container {
    display: grid;
    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];
    grid-template-rows: auto;
    width: 100%;
}

#about__history {
    grid-row: 2 / 3;
    .multirow {
        grid-template-rows: [top-padding] 4em 
                            [content-top] repeat(2, auto) 
                            [content-bottom] 4em [bottom-padding];
    }
    .parallax__container {
        grid-template-rows: repeat(6, minmax(50px, 1fr));

        .parallax-image {
            background: url("/assets/images/parallaxing_images/parallax-img3.png");
            background-position: 60% 20%;
            background-size: 150%;
            object-fit: cover;
        }
    }

    .section__left {
        grid-row: 2 / 3;
    }
    .section__right {
        grid-row: 3 / 4;
    }
    p {
        margin-bottom: 20ch;
    }
}

.history {
        display: flex;
        content: '.';
        grid-column: content-middle / content-end;
        grid-row: 2;
        height: 40ex;
}
.history-cont {
        display: flex;
        content: '.';
        grid-column: content-start / content-middle;
        grid-row: 3;
        height: 60ex;
}

#about__history-cont {
    display: flex;
    flex-direction: column-reverse;
    grid-column: content-middle / content-end;
    grid-row: 3;
    padding: 10ex 4ch;
    p {
        font-family: "Helvetica Neue";
        font-weight: 300;
        font-size: 1rem;
        font-style:normal;
        margin-right: 4rem;
    }
}

.quote__content {
    z-index: 2;
    grid-column: content-start / content-end;
    grid-row: 4;
    .quote {
        font-family: "Helvetica Neue LT Com";
        font-weight: 400;
        font-size: 2rem;
        text-align: center;
        color: rgba(255, 221, 0, 1);
        font-size: 3rem;
        margin: 2ch 0rem;
    }
}

#stats__wrapper {
    grid-row: 5 / 6;
    .stats__container {
        grid-row: 2 / 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        h2 {
            font-family: "Helvetica Neue LT Com";
            font-weight: 400;
            font-size: 4.5rem;
            color:rgba(0, 45, 98, 1);
        }
    }
}

.boxed-stat__container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    .boxed-stat {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: clamp(300px, 400px, 450px);
        margin: 4ch 0px;
        .box-text {
            position: relative;
            display: flex;
            font-family: "Helvetica Neue LT Com";
            font-weight: 400;
            font-size: 4.5rem;
            color:rgba(0, 45, 98, 1);
            margin: 0;
            width: 12rem;
            height: 12rem;
            background-color: rgba(255, 221, 0, 1) ;
            align-items: center;
            justify-content: center;
            -webkit-box-shadow: 5px 5px 6px 0px rgba(0,0,0,0.2); 
            box-shadow: 5px 5px 6px 0px rgba(0,0,0,0.2);
            overflow: hidden;
        }
        .subtext {
            font-family: "Helvetica Neue";
            font-weight: 300;
            font-size: 1rem;
            font-style:normal;
            margin-top: 4ch;   
        }
    }
}

.box-text h2 {
    display: flex;
    overflow: visible;
    position: relative;
    height: 4.5rem;
    align-items: center;
    justify-content: center;
}

.numbers-container {
    display: flex;
    align-items: flex-start;
    height: 4.5rem;
    overflow: hidden;
    position: relative;
}

.suffix-container {
    margin-left: 0.2rem;
    font-family: "Helvetica Neue LT Com";
    font-weight: 400;
    font-size: 4.5rem;
    color: var(--secondary);
    line-height: 1;
    align-self: center;
}

/* Digit column styles for the rolling effect */
.digit-column {
    display: inline-flex;
    flex-direction: column;
    transition: transform 2s cubic-bezier(0.22, 0.61, 0.36, 1);
    line-height: 4.5rem;
    height: 45rem;
    position: relative;
}

.digit-column span {
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Ensure the box dimensions are maintained during animation */
.box-text.animating {
    min-width: 12rem;
    min-height: 12rem;
}

#awards__text {
    display: grid;
    grid-column: content-start / content-middle;
    grid-row: 6 / 7;
    padding: 20px 0px;
    margin: 10% 0px;
    width: 100%;
    h1 {
        font-family: "Helvetica Neue LT Com";
        font-weight: 400;
        color: var(--eggshell);
        font-size: 5rem;
        text-align: left;
        margin: 0px;
    }
    p {
        color: var(--eggshell);
    }
}

#team__leads {
    grid-row: 7 / 8;
    background-color: var(--navy);
    .section__full {
        grid-row: 2 / 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        h2 {
            font-family: "Helvetica Neue LT Com";
            font-weight: 400;
            font-size: 3rem;
            line-height: 0;
            color: var(--eggshell)
        }
        p {
            width: 70%;
            margin: 8ch 0;
            color: white;
        }
    }

    .company__executives {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        .executive {
            display: flex;
            flex-direction: column;
            justify-content: left;
            img {
                aspect-ratio: 1 / 1;
            }
            h3 {
                font-family: "Helvetica Neue LT Com";
                font-weight: 400;
                font-size: 1rem;
                margin: 2ch 0;
                color: var(--eggshell)
            }
            .title {
                margin: 0;
                color: white;
            }
        }
    }
}
