/* Bingo Night marketing tokens. Papercraft, not glossy plastic. */

@font-face {
  font-family: "Lilita One";
  src: url("../fonts/lilita-one.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Patrick Hand";
  src: url("../fonts/patrick-hand.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #202A36;
  --tangerine: #F56B32;
  --tangerine-edge: #C44822;
  --yellow: #F6CE54;
  --yellow-edge: #C9842A;
  --cream: #FFF5DE;
  --cardstock: #E8D8B7;
  --cardstock-edge: #C4A574;
  --sky: #7FAFD0;
  --sky-deep: #6898BA;
  --leaf: #729B69;
  --leaf-deep: #567A50;
  --pink: #F28BA2;
  --pink-edge: #D46A84;
  --paper: #FFFCF2;
  --font-display: "Lilita One", "Arial Black", system-ui, sans-serif;
  --font-ui: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --font-note: "Patrick Hand", cursive;
  --font-mono: "Space Mono", ui-monospace, "Courier New", monospace;
  --line: 3px;
  --shadow: 7px 8px 0 rgba(32, 42, 54, 0.16);
  --fiber:
    repeating-linear-gradient(0deg, rgba(32, 42, 54, 0.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(32, 42, 54, 0.03) 0 1px, transparent 1px 5px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  overflow-x: hidden;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline: 3px solid Highlight;
  }
}
