/* Junior Soccer Championships: every colour and both typefaces are named here and nowhere else. */

@font-face { font-family: "Fredoka"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/fredoka-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }

:root {
  /* type: the series faces first, then what each script has on the device (CJK, Arabic, Urdu, Hindi, Bengali, Thai) */
  --font-display: "Fredoka", "Nunito", "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Malgun Gothic", "Microsoft YaHei UI", "PingFang SC", "Noto Sans Arabic", "Noto Nastaliq Urdu", "Noto Sans Devanagari", "Noto Sans Bengali", "Leelawadee UI", "Noto Sans Thai", system-ui, sans-serif;
  --font-body: "Nunito", "Hiragino Sans", "Yu Gothic UI", "Malgun Gothic", "Microsoft YaHei UI", "PingFang SC", "Segoe UI", "Noto Sans Arabic", "Noto Nastaliq Urdu", "Noto Sans Devanagari", "Noto Sans Bengali", "Leelawadee UI", "Noto Sans Thai", system-ui, sans-serif;

  /* ink and paper */
  --ink: #14223a;
  --ink-soft: #3d4b66;
  --paper: #fbf3df;
  --paper-line: #e6d7b4;
  --chalk: #f4f7ef;
  --white: #ffffff;

  /* the outdoors */
  --sky-top: #6fbff0;
  --sky-low: #cdeeff;
  --grass: #4caf50;
  --grass-dark: #2e7d32;
  --grass-stripe: #57b95b;
  --board-green: #2f6b4a;
  --wood: #b9772f;
  --wood-dark: #7a4a1b;
  --brick: #c96f4a;

  /* accents */
  --gold: #f5b82e;
  --gold-deep: #d18d0c;
  --blue: #3f7fe0;
  --red: #d8402f;
  --good: #2f8f46;
  --warn: #c77700;
  --bad: #c2362b;
  --info: #2f6fbf;
  --friend: #f5b82e;
  --feud: #e2452f;

  /* the school in charge of a screen (set per screen from the school's colours) */
  --school: #2d6a4f;
  --school-2: #fefae0;

  /* washes and tints (status chips, notes, chalk lines, soft shadows) */
  --chalk-line: rgba(244, 247, 239, 0.8);
  --chalk-faint: rgba(244, 247, 239, 0.5);
  --chalk-ghost: rgba(244, 247, 239, 0.35);
  --tint-note: #fff3c4;
  --tint-warn: #ffe9a8;
  --tint-bad: #ffd9d2;
  --tint-good: #dbf5d6;
  --tint-go: #c8f0c4;
  --tint-calm: #d8e7ff;
  --tint-win: #9fe39a;
  --tint-loss: #ffb3a8;
  --tint-hover: #fff8dc;
  --paper-empty: #f4efe2;
  --paper-dim: #f1eee6;
  --paper-out: #e9e5da;
  --chalk-soft: #d5e6d6;
  --grey: #c9ced8;
  --glass: rgba(255, 255, 255, 0.88);
  --paper-glass: rgba(251, 243, 223, 0.75);
  --gold-wash: rgba(245, 184, 46, 0.3);
  --shade: rgba(20, 34, 58, 0.25);
  --shade-deep: rgba(20, 34, 58, 0.5);

  /* shape */
  --outline: 3px solid var(--ink);
  --radius: 14px;
  --radius-small: 9px;
  --shadow: 0 4px 0 rgba(20, 34, 58, 0.28);
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--blue);
  --tap: 44px;
  --gap: 0.75rem;
}
