/* be.imported shared font library: /fonts/fonts.css (served from app/static/fonts, same origin only).
   8 open-licensed classics, hosted here: readers never load anything from Google.
   Licences: OFL 1.1 (Special Elite: Apache 2.0), each folder carries its own licence file.
   Use a face by its variable, e.g.  body { font-family: var(--font-garamond); }
   or by its name, e.g.            h1 { font-family: "Special Elite", monospace; }
   In a rosedoc's front matter:      font: garamond                                          */

/* mono */
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plex-mono/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plex-mono/IBMPlexMono-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plex-mono/IBMPlexMono-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Departure Mono"; src: url("/fonts/departure/DepartureMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* typewriter */
@font-face { font-family: "Special Elite"; src: url("/fonts/special-elite/SpecialElite-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* serif */
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond/EBGaramond-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond/EBGaramond-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond/EBGaramond-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("/fonts/baskerville/LibreBaskerville-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("/fonts/baskerville/LibreBaskerville-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("/fonts/baskerville/LibreBaskerville-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* sans */
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex-sans/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex-sans/IBMPlexSans-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex-sans/IBMPlexSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* pixel */
@font-face { font-family: "VT323"; src: url("/fonts/vt323/VT323-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* handwriting */
@font-face { font-family: "Caveat"; src: url("/fonts/caveat/Caveat-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/fonts/caveat/Caveat-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --font-departure: "Departure Mono", Consolas, monospace;
  --font-elite: "Special Elite", "Courier New", monospace;
  --font-garamond: "EB Garamond", Georgia, serif;
  --font-baskerville: "Libre Baskerville", Georgia, serif;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-arcade: "VT323", Consolas, monospace;
  --font-hand: "Caveat", "Segoe Print", cursive;
}
