@font-face {
  font-family: "Titan One";
  src: url("../fonts/titan-one.3b731012ac76.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito.166202cc391c.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

@font-face {
  font-family: "VT323";
  src: url("../fonts/vt323.9cb03ff10174.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

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

  body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: 1.5;
    color: var(--color-ink);
    background-color: var(--color-bg);
    background-image: var(--bg-pattern);
    background-size: var(--bg-pattern-size);
  }

  h1,
  h2,
  h3 {
    margin: 0 0 var(--space-2);
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
  }

  p {
    margin: 0 0 var(--space-3);
  }

  img,
  svg {
    display: block;
    max-width: 100%;
  }

  a {
    color: var(--color-accent-2);
  }

  button,
  input,
  select {
    font: inherit;
  }

  :focus-visible {
    outline: var(--border-w) solid var(--color-focus);
    outline-offset: 2px;
  }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}
