/* ===========================================================================
   fonts.css — the three families the site uses, served from this repository

   These were loaded from fonts.googleapis.com until now. That sent every
   visitor's IP address and browser string to Google on each page load, which
   the privacy statement on the landing page said did not happen. The files are
   here instead, so the only request any page makes to another domain is the
   page count in count.js.

   Latin subset only, and only the weights the stylesheet and the canvas code
   actually ask for: Archivo 600/700/800, IBM Plex Sans 400/500/600, IBM Plex
   Mono 400/500. Adding a weight to style.css means adding the matching file
   in assets/fonts and a block here, or the browser will synthesize it.

   Archivo is (c) 2020 The Archivo Project Authors; IBM Plex is (c) 2017 IBM
   Corp. Both are under the SIL Open Font License 1.1, which permits
   redistribution like this. The license texts are in assets/fonts.

   font-display: swap means text is readable in a fallback face while the
   woff2 loads, which matters on a slow connection in a teaching lab.
   =========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/archivo-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/archivo-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/archivo-latin-800-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}
