@font-face {
    font-family: "Rye";
    src: url("../fonts/rye-regular.ttf") format("truetype");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

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

html {
    color: var(--color-ink);
    background: var(--color-cream-100);
    font-family: var(--font-sans);
    font-size: 100%;
    line-height: var(--line-height-body);
}

body {
    margin: 0;
    min-width: 20rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: inherit;
    text-underline-offset: 0.18em;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: var(--focus-width) solid var(--color-focus);
    outline-offset: var(--focus-offset);
}

.container {
    width: min(100% - (var(--container-gutter) * 2), var(--container-max));
    margin-inline: auto;
}
