/* FONTS */
/* MONTSERRAT ALTERNATES (Títulos) */
@font-face {
  font-family: 'Montserrat Alternates';
  src: url('../fonts/montserrat-alternates-v18-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('../fonts/montserrat-alternates-v18-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* QUICKSAND (Cuerpo de texto) */
@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/quicksand-v37-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/quicksand-v37-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/quicksand-v37-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/quicksand-v37-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
    box-sizing: border-box;
    line-height: 1.4;
    letter-spacing: 0.05rem;
    max-width: 100%;
    margin: 0;
}

:root {
    /* Colors */
    --primary-color: #2E4564;
    --secondary-color: #476B9A;
    --light-accent-color: #99B2CA;
    --dark-color: #0C141D;
    --light-color: #E4E3DD;
    --accent-color: #06D6A0;
    --accent-dark-color: #047A5B;
    --accent-bg-color: #06D6A01F;
    --inactive-color: #C9D7E3;
    --bg-card-color: #526374;

    /* dark-colorr */
    --shadow-box: 0px 8px 16px rgba(12, 20, 29, 0.15);
    /* accent-color */
    --shadow-navbar-box: 0px 6px 14px rgba(6, 214, 160, 0.14), 0px 2px 6px rgba(12, 20, 29, 0.06);
    /* --light-color */
    --shadow-light-box: 0px 8px 18px rgba(228, 227, 221, 0.22);

    /* TYPOGRAPHY */
    --header-font: "Montserrat Alternates", sans-serif;
    --body-font: "Quicksand", sans-serif;

    --h1-font-size: clamp(2.25rem, 1.79rem + 1.95vw, 3.5rem);
    --h1-line-height: 1.2;
    --h2-font-size: clamp(1.75rem, 1.57rem + 0.78vw, 2.25rem);
    --h2-line-height: 1.2;
    --h3-font-size: clamp(1.25rem, 1.2rem + 0.2vw, 1.375rem);
    --h3-line-height: 1.3;
    --p-font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
    --p-line-height: 1.5;
    --li-font-size: clamp(0.9375rem, 0.91rem + 0.1vw, 1rem);
    --li-line-height: 1.5;
    --small-font-size: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
    --small-line-height: 1.4;
}

body {
    background-color: var(--light-color);
    font-family: var(--body-font);
    font-size: var(--p-font-size);
    line-height: var(--p-line-height);
    font-weight: 500;
    color: var(--dark-color);

    p {
        max-width: 65ch;
    }

    .small {
        font-size: var(--small-font-size);
        line-height: var(--small-line-height);
        font-weight: 600;
    }

    h1,
    h2,
    h3 {
        font-family: var(--header-font);
    }

    h1 {
        font-size: var(--h1-font-size);
        font-weight: 700;
        line-height: var(--h1-line-height);
        letter-spacing: -0.02em;
    }

    h2 {
        font-size: var(--h2-font-size);
        font-weight: 600;
        line-height:  var(--h2-line-height);
    }

    h3 {
        font-size: var(--h3-font-size);
        line-height: var(--h3-line-height);
        font-weight: 600;
    }

    .casha_title {
        font-size: clamp(1.75rem, 1.15rem + 2.5vw, 3.5rem);
        font-family: var(--header-font);
        color: var(--dark-color);
        text-align: center;    
    }

    strong,
    a,
    li {
        font-weight: 600;
        text-decoration: none;
        color: var(--dark-color);
    }
}

/* Skip to main content */
.casha_skip_link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    background-color: var(--dark-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-family: var(--header-font);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: top 0.2s ease;
}

.casha_skip_link:focus {
    top: 1rem;
    outline: 3px solid var(--accent-dark-color);
    outline-offset: 3px;
}