body {
    padding: 10px;
}

.header-image {
    width: 340px;
    padding-top: 35px;
}

.hero-box nav {
    padding: 0 100px;
}
.hero-text  {

    line-height: 80px;
}

section.main-content {
    padding: 60px 0;
}

.two-col {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.two-col > * {
    flex: 1;
}

.grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    justify-items: center;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.header-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-logo-container img,
.footer-logo-container img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 1100px) {
    .two-col {
        flex-direction: column;
    }

    .header-logo-container .cropped-image {
        margin-left: 0;
    }

    .grid-3x3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* larger than mobile */
@media screen and (min-width: 500px) {
    body {
        padding: 10px 30px;
    }
}

/* on mobile */
@media screen and (max-width: 500px) {
    body {
        max-width: 100vw;
    }

    .header-image {
        width: 340px;
        padding-top: 0;
    }

    .hero-box {
        flex: 1;
        min-height: 470px;
        padding: 27px 20px;
    }

    .hero-box nav {
        padding: 0;
    }

    .hero-text {
        overflow-wrap: anywhere;
        line-height: 40px;
    }

    .hero-cta {
        padding: 20px 0;
    }

    .text-highlight {
        margin: auto;
        padding: 0;
    }

    .content-image {
        max-width: 100%;
    }
}

@media screen and (max-width: 650px) {
    .team-member {
        box-sizing: border-box;
        width: calc(100% - 40px);
        max-width: none;
        flex-direction: column;
        height: auto;
    }

    .team-member .member-img {
        flex: none;
        max-width: 100%;
        margin: auto;
    }

    .member-desc {
        padding: 20px 0 0;
        overflow-wrap: anywhere;
    }
}
