/* =====================================================================
   RIDDLE KINGDOM — FONTS
   A game by Aadvika

   These two typefaces used to be pulled from fonts.googleapis.com on
   every single page load. That works, but it also told Google the IP
   address and browser of every child who opened the game, every time.
   For a children's game that is not a trade worth making, so the fonts
   are served from this folder instead.

   Both are variable fonts, so one file covers every weight the game
   uses — 69KB for the pair, and after the first visit they are cached.

   Fredoka  — SIL Open Font License 1.1, see fonts/OFL-Fredoka.txt
   Nunito   — SIL Open Font License 1.1, see fonts/OFL-Nunito.txt

   Both files are unmodified latin-subset builds taken from Google
   Fonts. To refresh them, download the latin @font-face source again
   and drop the .woff2 files in place; nothing here needs to change.

   There is deliberately no `unicode-range`. Only one file is shipped
   per family, so the browser should simply use it wherever it has the
   glyph and fall back where it does not — the rupee sign in the money
   questions is one such character, and it comes from the system font.
   ===================================================================== */

@font-face{
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 700;          /* variable: the whole range, one file */
  font-display: swap;            /* show text immediately, swap when ready */
  src: url("../fonts/fredoka-latin.woff2") format("woff2");
}

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