/*-- -------------------------- -->
<---        Core Styles         -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0rem) {
    :root {
        --primary: #75A4B1;
        --primaryDark: #4C7F8D;
        --primaryLight: #A7D1DD;
        --secondary: #EA4F52;
        --secondaryLight: #F2DA95;
        --headerColor: #1B1B1B;
        --headerColorWhite: #ffffff;
        --bgColorDark: #F3F3F3;
        --bodyTextColor: #4A4A47;
        --bodyTextColorWhite: #FAFAFB;
        --bodyFontFamily: "Nunito Sans";
        --headerFontFamily: "Nunito Sans";
        /* 13px - 16px */
        --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem);
        /* 31px - 49px */
        --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
        --fontSize96: clamp(2.5rem, 8vw, 6rem);       /* ~40px to 96px */
        --fontSize64: clamp(2rem, 6vw, 4rem);         /* ~32px to 64px */
        --fontSize48: clamp(1.75rem, 5vw, 3rem);      /* ~28px to 48px */
        --fontSize36: clamp(1.5rem, 4vw, 2.25rem);    /* ~24px to 36px */
        --fontSize32: clamp(1.25rem, 3.5vw, 2rem);    /* ~20px to 32px */
        --bodyFontSize: clamp(1rem, 3vw, 1.5rem);     /* ~16px to 24px */
        --paraFontSize: clamp(0.667rem, 2vw, 1rem);     /* ~12px to 16px */
        /* 60px - 100px top and bottom */
        --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
    }

    /* nunito-sans-regular - latin */
    @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'Nunito Sans';
        font-style: normal;
        font-weight: 400;
        src: url('../fonts/nunito-sans-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }
    /* nunito-sans-700 - latin */
    @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'Nunito Sans';
        font-style: normal;
        font-weight: 700;
        src: url('../fonts/nunito-sans-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }

    body,
    html {
        margin: 0;
        padding: 0;
        font-size: 100%;
        font-family: var(--bodyFontFamily), Arial, sans-serif;
        color: var(--bodyTextColor);
        overflow-x: hidden;
    }

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

    body {
        transition: background-color 0.3s;
    }

    section,
    footer {
        padding: var(--sectionPadding);
    }

    .container {
        position: relative;
        width: 98%;
        max-width: 75rem;
        margin-inline: auto;
        /* padding-inline: 1rem; */
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin: 0;
        color: var(--headerColor);
        font-weight: 400;
    }

    .xl {
        font-size: var(--fontSize96);
    }
    .l {
        font-size: var(--fontSize64);
    }
    .m {
        font-size: var(--fontSize48);
    }
    .sm {
        font-size: var(--fontSize36);
    }
    .s {
        font-size: var(--fontSize32);
    }
    .xs {
        font-size: var(--bodyFontSize);
    }
    .xxs {
        font-size: var(--paraFontSize);
    }

    p,
    li,
    a {
        font-size: 1rem;
        line-height: 1.5em;
        margin: 0;
    }

    p,
    li {
        color: var(--bodyTextColor);
    }

    a:hover,
    button:hover {
        cursor: pointer;
    }
    .title {
        font-family: var(--headerFontFamily);
        line-height: 1.2em;
        font-weight: 700;
        text-align: inherit;
        /* max-width: 43.75rem; */
        margin: 0;
        color: var(--headerColor);
        position: relative;
    }
    
    .title.white {
        color: var(--headerColorWhite);
    }

    .subtitle {
        font-family: var(--headerFontFamily);
        display: block;
        font-size: var(--fontSize48);
        letter-spacing: 0.12em;
        color: var(--bodyTextColor);
        line-height: 0.75em;
    }

    .text {
        font-family: var(--bodyFontFamily);
        font-weight: 400;
        line-height: 1.5em;
        text-align: inherit;
        width: 100%;
        max-width: 40.625rem;
        margin: 0;
        color: var(--bodyTextColor);
    }

    .text.white,
    .subtitle.white {
        color: var(--bodyTextColorWhite);
    }

    section.dark-section {
        background-color: var(--bodyTextColor);
    }

    section.dark-section .text,
    section.dark-section .subtitle {
        color: var(--bodyTextColorWhite);
    }
    
    section.dark-section .title {
        color: var(--headerColorWhite);
    }

    .center {
        text-align: center;
        margin: 0 auto;
    }

    .mb {
        margin-bottom: 1em;
    }

    .text.semibold {
        font-weight: 500;
    }
    .text.bold {
        font-weight: 700;
    }
    .text.light {
        font-weight: 300;
    }

    .button-solid {
        font-family: var(--headerFontFamily);
        position: relative;
        overflow: hidden;
        font-size: 1.5em;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.2vw, 3.2rem);
        text-decoration: none;
        font-weight: 400;
        text-align: center;
        margin: 0;
        color: var(--bodyTextColorWhite);
        background-color: var(--primary);
        min-width: 7.375em;
        padding: 0 2em;
        padding-top: calc(0.08em);
        display: inline-block;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
        border-radius: 100px;
        width: fit-content;
        transition: color 0.3s, background-color 0.3s;
    }

    .button-solid:hover::before {
        transform: translateX(0);
    }

    .button-solid::before {
        top: 0;
        left: 0;
        position: absolute;
        content: '';
        background: var(--primaryDark);
        width: 100%;
        height: 100%;
        transform: translateX(-100%);
        z-index: -1;
        transition: transform 0.3s;
    }

    .button-solid:hover {
        color: var(--bodyTextColorWhite);
        background-color: var(--primaryDark);
    }

    /* button secondary */

    .button-solid.secondary {
        color: var(--primaryDark);
        background-color: var(--primaryLight);
    }

    .button-solid.secondary::before {
        background: var(--bodyTextColorWhite);
    }

    .button-solid.secondary:hover {
        color: var(--primaryDark);
        background-color: var(--bodyTextColorWhite);
    }

    .button-solid.white {
        color: var(--primaryDark);
        background-color: var(--bodyTextColorWhite);
    }

    .button-solid.white::before {
        background: var(--bodyTextColorWhite);
    }

    .button-solid.white:hover {
        color: var(--primaryDark);
        background-color: var(--bodyTextColorWhite);
    }

    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    #nav-banner {
        position: relative;
        padding: calc(clamp(4rem, 8vw, 6.75rem) + 4.25rem) 1rem calc(clamp(2rem, 4vw, 3.25rem));
        text-align: center;
    }
    #nav-banner .title{
        color: var(--bodyTextColorWhite);
    }

    .background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .background-image img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        object-fit: cover;
    }
}