@font-face {
    font-family: "ACTS Caveat";
    src: url("assets/fonts/Caveat/Caveat-VariableFont_wght.woff2")
        format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "ACTS Inter";
    src: url("assets/fonts/Inter/Inter-VariableFont_opsz,wght.woff2")
        format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "ACTS Inter";
    src: url("assets/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.woff2")
        format("woff2");
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --safe-content-width: min(1360px, calc(95vw - 2rem));
    --acts-navy: #0f2d4e;
    --acts-navy-light: #33465d;
    --acts-orange: #ed8434;
    --acts-orange-light: #ff9f58;
    --acts-cream: #fff9ef;
    --site-nav-height: 4.5rem;
}

@media (max-width: 1000px) {
    :root {
        --site-nav-height: 3.75rem;
    }
}

body {
    padding-top: var(--site-nav-height);
}

/* Keeps anchor targets from landing underneath the fixed header. */
[id] {
    scroll-margin-top: calc(var(--site-nav-height) + 1rem);
}

.skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    background: var(--acts-navy);
    color: var(--acts-cream);
    font-family: "ACTS Inter", system-ui, sans-serif;
    text-decoration: none;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* anything that can be focused- change outline color to white instead of the default browser outline */
:focus {
    outline-color: white !important;
}
