/* ==========================================================================
   BASE DOCUMENT STYLES
   ========================================================================== */

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

body {
    margin: 0;
    font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: rgb(var(--theme-bg-color));
    color: rgb(var(--theme-text-color));
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}



img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* Basic typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: rgb(var(--theme-heading-color));
    margin-top: 0;
    margin-bottom: 0.5em;
    font-weight: 700 !important;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

a {
    color: rgb(var(--theme-fancy-link-color));
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

a:hover,
a:focus {
    color: rgb(var(--theme-fancy-link-hocus-color));
}

/* Screen reader utility */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Skip link */

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 1000;
}

.skip-link:focus {
    left: 0.5rem;
}