/*
 * Self-hosted font declarations for Oralynx.
 *
 * Cousine and OpenDyslexic are the two bundled fonts that must be
 * available offline. System fonts (Arial, Helvetica, etc.) do not
 * need @font-face declarations.
 *
 * Font files are expected in /fonts/ relative to this CSS file.
 * To add the actual font files:
 *   1. Download Cousine from Google Fonts (Apache 2.0 license)
 *   2. Download OpenDyslexic from opendyslexic.org (SIL OFL license)
 *   3. Place .woff2 files in this directory
 *
 * Until the .woff2 files are added, these declarations will gracefully
 * fall back to system monospace/sans-serif fonts.
 */

@font-face {
  font-family: 'Cousine';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Cousine-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Cousine';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Cousine-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Cousine';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Cousine-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cousine';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Cousine-BoldItalic.woff2') format('woff2');
}

@font-face {
  font-family: 'OpenDyslexic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/OpenDyslexic-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'OpenDyslexic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/OpenDyslexic-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'OpenDyslexic';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/OpenDyslexic-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'OpenDyslexic';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/OpenDyslexic-BoldItalic.woff2') format('woff2');
}
