/*-- -------------------------- -->
<---        Core Styles         -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0rem) {
    :root {
        --primaryDark: #183446;
        --primary: #22577A;
        --primaryLight: #69C3FF;
        --secondary: #F2A365;
        --secondaryLight: #FFBA43;
        --headerColor: #222222;
        --bodyTextColor: #363636;
        --headerColorWhite: #FFFFFF;
        --bodyTextColorWhite: #F0F0F0;
        /* 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;
    }

    /* inter-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: 'Inter';
        font-style: normal;
        font-weight: 400;
        src: url('../fonts/inter-v19-latin-regular.woff2') format('woff2');
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }

    /* inter-italic - 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: 'Inter';
        font-style: italic;
        font-weight: 400;
        src: url('../fonts/inter-v19-latin-italic.woff2') format('woff2');
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }

    /* inter-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: 'Inter';
        font-style: normal;
        font-weight: 700;
        src: url('../fonts/inter-v19-latin-700.woff2') format('woff2');
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }


    /* bebas-neue-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: 'Bebas Neue';
        font-style: normal;
        font-weight: 400;
        src: url('../fonts/bebas-neue-v15-latin-regular.woff2') format('woff2');
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }

    body,
    html {
        margin: 0;
        padding: 0;
        font-size: 100%;
        font-family: 'Inter', 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;
    }

    img {
        display: block;
        max-width: 100%;
    }
    .img-decor {
        display: inline-block;
        position: relative;
    }
    .img-decor::before{
        content: "";
        position: absolute;
        width: 50%;
        aspect-ratio: 1/1;
        background-color: var(--secondary);
        bottom: -10px;
        right: -10px;
        z-index: -1;
    }
    .img-decor.left::before {
        left: -10px;
    }

    .topper {
        font-size: var(--topperFontSize);
        line-height: 1.2em;
        text-transform: uppercase;
        text-align: inherit;
        letter-spacing: .1em;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.25rem;
        display: block;
    }

    .title {
        font-family: 'Bebas Neue';
        line-height: 1.2em;
        text-align: inherit;
        /* max-width: 43.75rem; */
        margin: 0;
        color: var(--headerColor);
        position: relative;
    }

    .title.white {
        color: var(--headerColorWhite);
    }
    
    .subtitle {
        font-family: 'Bebas Neue';
        display: block;
        font-size: var(--fontSize48);
        letter-spacing: 0.12em;
        color: var(--bodyTextColor);
        line-height: 0.75em;
    }
    .subtitle.white {
        color: var(--bodyTextColorWhite)
    }

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

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

    .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: 'Bebas Neue';
        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;
        position: relative;
        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);
    }

    .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 {
        z-index: -2;
        padding: calc(clamp(4rem, 8vw, 6.75rem) + 5.25rem) 1rem calc(clamp(2rem, 4vw, 3.25rem) + 2rem);        
        background-color: var(--primary);
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #nav-banner::before {
        z-index: -1;
        content: '';
        background-color: #fff;
        width: 200vw;
        height: 500px;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) translateY(100%) rotate(15deg);
    }

    #nav-banner::after {
        z-index: -1;
        content: '';
        background-color: #fff;
        width: 200vw;
        height: 500px;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) translateY(100%) rotate(-15deg);
    }
    #nav-banner .title{
        color: var(--headerColorWhite);
    }
}