/*-- -------------------------- -->
<---        Core Styles         -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0rem) {
    :root {
        --primary: #2A5D9F;
        --primaryDark: #1D3E6F;
        --secondary: #D97706;
        --headerTextColor: #000000;
        --bodyTextColor: #111111;
        --bgColor: #FFFFFF;
        --bgColorLight: #FAFAFA;
        --bodyFontFamily: "Inter";
        --muted: #6B7280;
        --fontSize64: clamp(2rem, 6vw, 4rem);         /* ~32px to 64px */
        --fontSize48: clamp(1.75rem, 5vw, 3rem);      /* ~28px to 48px */
        --fontSize32: clamp(1.5rem, 6vw, 2rem);         /* ~24px to 32px */
        --bodyFontSize: clamp(1rem, 3vw, 1.5rem);     /* ~16px to 24px */
        /* 60px - 100px top and bottom */
        --sectionPadding: 0 1rem;
    }
    
    [data-theme="dark"] {
        --primary: #60A5FA;
        --primaryDark: #3B82F6;
        --secondary: #FCC78A;
        --headerTextColor: #FFFFFF;
        --bodyTextColor: #EEEEEE;
        --bgColor: #1A1A1A;
        --bgColorLight: #2D2D2D;
        --muted: #9CA3AF;

    }

    .no-transition  * {
        transition: none !important;
    }

    /* 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+ */
    }

    body,
    html {
        position: relative;
        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 {
        background-color: var(--bgColor);
        transition: background-color 0.3s;
        overflow-x: hidden;
    }

    .body-layout {
        max-width: 1200px;
        min-height: 100vh;
        margin: 0 auto;
        padding-bottom: clamp(3.75rem, 7.82vw, 6.25rem);
    }

    #footer {
        padding: 2rem;
        background-color: var(--bgColorLight);
    }
    #footer .content {
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }
    #footer .content > * {
        max-width: none;
    }

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

    .divider {
        background-color: var(--bodyTextColor);
        height: 7px;
        width: 30%;
        max-width: 75px;
        margin: var(--fontSize64) auto;
        
    }
     
    main {
        padding-inline: .5rem;
    }

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

    .l {
        font-size: var(--fontSize64);
    }
    .m {
        font-size: var(--fontSize48);
    }
    .s {
        font-size: var(--fontSize32);
    }

    .xs {
        font-size: var(--bodyFontSize);
    }

    li {
        list-style-position: inside;
    }

    p,
    li {
        font-size: 1rem;
        line-height: 1.5em;
        margin: 0;
        color: var(--bodyTextColor);
    }

    a {
        color: var(--primary);
    }
    a:visited {
        color: var(--primary);
    }
    a:hover {
        color: var(--primaryDark);
    }

    a.plain {
        text-decoration: none;
        color: var(--headerTextColor);
    }
    

    a:hover,
    button:hover {
        cursor: pointer;
    }

    .title {
        font-family: var(--bodyFontFamily);
        font-weight: 700;
        line-height: 1.2em;
        text-align: inherit;
        max-width: 43.75em;
        margin-bottom: .1em;
        color: var(--headerTextColor);
        position: relative;
    }

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

    span.subtitle {
        display: block;
        color: var(--muted);
        font-style: italic;
        margin-bottom: .5rem; 
    }

    .text.bold {
        font-weight: 700;
    }
    .text.regular {
        font-weight: 400;
    }

    .button-solid {
        font-family: var(--bodyFontFamily);
        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);
    }

    .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;
    }
}
@media (max-width: 767px) {
    body::before {
        content: '';
        position: fixed;
        pointer-events: none;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000;
        z-index: 9;
        filter: blur(0.2px);
        transition: opacity 0.3s ease;
        opacity: 0;
    }
    body.open::before {
        opacity: 0.5;
    }
    main {
        padding-top: 1rem;
    }
}
@media (min-width: 48rem) {
    .layout {
        display: grid;
        grid-template-columns: 25% 75%;
    }
}