body {
    font-family: 'Figtree', sans-serif;
    --dark-blue: #233A62;
    --teal: #0BAA9F;
}

h1, .h1 {
    font-size: 4rem;
    line-height: 5rem;
}
h2, .h2 {
    font-size: 3rem;
    line-height: 3rem;
}
h3, .h3 {
    font-size: 1.75rem;
    line-height: 2rem;
}

p {
    font-size: 1.25rem;
    font-weight: 300;
}

article h2 {
    font-size: 1.75rem;
    line-height: 2rem;
}
article h3 {
    font-size: 1.5rem;
    line-height: 2rem;
}

.v-margin {
    margin-top: 100px;
    margin-bottom: 100px;
}
.v-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (min-width: 1440px) {
    .container {
        max-width: 1300px;
    }
}
@media (min-width: 1920px) {
    .container {
        max-width: 1700px;
    }
}

.subtitle {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.text-dark-blue {
    color: var(--dark-blue);
}
.bg-dark-blue {
    background-color: var(--dark-blue);
}

.main-navigation {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: white;
}

.hf-full-vh {
	height: 100vh;
	min-height: 600px;
}

#member-spotlight {
    position: relative;
}
#member-spotlight:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    right: 0;
    left: 25%;
    background-color: var(--dark-blue);
    z-index: -1;
}
#member-spotlight:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 25%;
    height: 90%;
    background-color: var(--light);
    z-index: -2;
}

#mobile-navbar {
    z-index: 99999;
    width: 80%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: scroll;
}

#mobile-nav > li:not(:first-child) {
    padding-left: 1rem;
    padding-right: 1rem;
}

#mobile-navbar + #mobile-menu-overlay {
    transition: background-color 0.3s ease-in-out;
    position: fixed;
}

#mobile-navbar.show + #mobile-menu-overlay {
    background-color: #434343;
    opacity: 0.57;
    z-index: 99998;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#mobile-navbar.collapsing {
    height: unset;
}

#mobile-navbar.show {
    transform: translateX(0);
}

#mobile-nav {
    min-height: 100%;
    z-index: 1000;
    justify-content: center;
}

#mobile-navbar .nav-item:not(:first-child) {
    font-size: 1.2rem;
    border-bottom: 1px solid var(--light);
    padding-top: 1rem;
}

#mobile-navbar .collapse .nav-link, #mobile-navbar .collapsing .nav-link {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
}

#main-navigation [data-toggle="collapse"]:after {
    font-family: "Font Awesome 5 Pro";
    font-size: 0.8rem;
}

#main-navigation [data-target="#mobile-navbar"]:after, #main-navigation [aria-controls="search-nav"]:after {
    display: none;
}

#main-navigation [data-toggle="collapse"]:not(.collapsed):after {
    content: "\f077";
}

#main-navigation [data-toggle="collapse"].collapsed:after {
    content: "\f078";
}

#top-nav-links a {
    font-size: 1rem;
    color: black;
}

#main-nav-links a:not(.btn) {
    font-size: 0.9rem;
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

#search-nav input {
    height: 3.5rem;
}

.navbar-brand {
    max-width: 350px;
}

.nav-section-link {
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: black !important;
}
.nav-section-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}
.nav-section-link h3 {
    font-size: 1.15rem;
    line-height: 1.15rem;
}
.nav-section-link p {
    font-size: 1rem;
    font-weight: 300;
}
.nav-section-link p:last-child {
    margin-bottom: 0;
}

.btn {
    padding: 0.75rem 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 0;
}
.btn.btn-sm {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
}

#main-hero {
    height: 100vh;
    background-image: url("/wp-content/themes/basic-hunchfree/img/hero.png");
    background-size: cover;
    background-position: top center;
    position: relative;
}
#main-hero:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    opacity: 0.29;
    z-index: 1;
}
#main-hero > * {
    position: relative;
    z-index: 2;
    padding-left: 6rem;
    padding-bottom: 6rem;
}

#main-hero h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 4rem;
}
#main-hero .btn {
    font-size: 1.25rem;
}

.sponsor-cta {
    position: relative;
    background-image: url("/wp-content/themes/basic-hunchfree/img/sponsor-cta-bg.png");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem;
    text-align: center;
}
.sponsor-cta:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #36363C;
    opacity: 0.87;
    z-index: 1;
}
.sponsor-cta > * {
    position: relative;
    z-index: 2;
}

.btn-white:not(.active) {
    background-color: white;
    color: black;
}
.btn-white:focus, .btn-white:hover {
    background-color: black;
    color: white;
}

.contact-socials {
    display: flex;
    gap: 1rem;
}

.text-white .contact-socials a {
    color: white;
}

footer {
    background-color: #3E6E9A;
}
footer a:not(.btn) {
    color: white;
}
footer h3 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

#main-navigation.fixed-header {
    position: fixed;
    background-color: transparent;
    transition: 0.2s ease-in-out;
}
#main-navigation.fixed-header:not(.active) {
    box-shadow: none !important;
}
#main-navigation.fixed-header:not(.active) a:not(.btn) {
    color: white;
}
#main-navigation.fixed-header.active {
    background-color: white;
}
#main-navigation.fixed-header:not(.active) #main-navigation-expand {
    display: none;
}

.featured-event img {
    aspect-ratio: 5/4;
    object-fit: cover;
    width: 100%;
}
.featured-event .event-info-line {
    color: var(--teal);
    margin-bottom: 0.5rem;
}
.featured-event p {
    font-size: 1.25rem;
    font-weight: 300;
}
.featured-event .event-sponsor {
    font-size: 1rem;
    font-style: italic;
    margin-top: 1rem;
    color: #707070;
}

#stay-connected-cta {
    font-family: 'Roboto', sans-serif;
    position: relative;
}
#stay-connected-cta:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background-color: var(--light);
    z-index: 1;
}
#stay-connected-cta > * {
    position: relative;
    z-index: 2;
}
#stay-connected-cta h2 {
    font-weight: 400;
}
#stay-connected-cta p {
    font-size: 1.25rem;
}
#stay-connected-cta label {
    font-size: 1rem;
}
#stay-connected-cta input {
    height: 50px;
}
#stay-connected-cta .btn {
    font-family: 'Figtree', sans-serif;
}

.use-underline-link a:not(.btn) {
    color: unset;
    text-decoration: underline;
}

.search-container {
    position: relative;
}
.search-container:after {
    content: "\f002";
    font-family: "Font Awesome 7 Pro";
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    display: block;
    font-size: 2rem;
    z-index: 2;
}
.search-container input {
    height: 5rem;
    font-size: 1.25rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: var(--light);
    border: 1px solid var(--secondary);
    border-radius: 0;
}
.search-container .btn {
    width: 4rem;
    background-color: var(--light);
    border: 1px solid var(--secondary);
    border-radius: 0;
    position: relative;
}

.news-item .news-date {
    color: var(--teal);
    font-size: 1.25rem;
}
.news-item .news-blurb p {
    font-size: 1.25rem;
}

.large-lead {
    font-size: 1.75rem;
    font-weight: 300;
}

footer li {
    margin-bottom: 0.5rem;
}

footer .mobile-list li {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.footer-image {
    position: absolute;
    z-index: 1;
}

.upcoming-event {
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}
.upcoming-event:not(:last-child) {
    border-bottom: 1px solid #BEBEBE;
}
.upcoming-event .event-date {
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-weight: bold;
    color: var(--secondary);
    text-transform: uppercase;
    text-align: center;
}
.upcoming-event .event-link {
    font-size: 1.1rem;
    line-height: 1.1rem;
    color: black;
}

.new-member-link {
    text-transform: none;
    display: inline-block;
}

#new-members {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

#chamber-members img {
    width: 300px;
    aspect-ratio: 1;
    object-fit: contain;
}

.marquee {
    --gap: 1rem;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
}
.marquee__content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    animation: scroll 120s linear infinite;
}
.marquee__content .card {
    width: 500px;
    max-width: 100%;
    background: var(--light-gray);
    border-color: var(--light-gray);
}
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}
/* Pause animation when reduced-motion is set */
@media (prefers-reduced-motion: reduce) {
    .marquee__content {
        animation-play-state: paused !important;
    }
}

@media (max-width: 720px) {
    h1, .h1 {
        font-size: 2.25rem;
        line-height: 2.25rem;
    }

    h2, .h2 {
        font-size: 2rem;
        font-weight: 500;
        line-height: 2rem;
    }

    h3, .h3 {
        font-size: 1.3rem;
        line-height: 1.7rem;
    }

    .navbar-brand {
        max-width: 250px;
    }

    .v-margin {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .v-padding {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #main-hero {
        height: 500px;
    }

    #main-hero > * {
        position: relative;
        z-index: 2;
        padding-left: 0;
        padding-bottom: 1rem;
    }

    #main-hero h1 {
        line-height: 2.5rem;
    }

    .large-lead {
        font-size: 1.25rem;
    }

    #member-spotlight {
        background-color: var(--dark-blue);
    }
    #member-spotlight:before {
        display: none;
    }
    #member-spotlight:after {
        display: none;
    }
}