/* Self-hosted fonts instead of sending requests to Google Fonts. Inter (text) and JetBrains Mono (code) are
   Zensical's `modern` defaults. `theme.font` is false in mkdocs.yml to stop Zensical loading them from Google.
   Roboto is only used for the homepage hero (see overrides/home.html).

   Sourced from the CSS Google serves current browsers for these URLs:
     https://fonts.googleapis.com/css?family=Inter:300,300i,400,400i,500,500i,700,700i%7CJetBrains+Mono:400,400i,700,700i&display=fallback
     https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap
   Licensed under SIL Open Font License 1.1, see *-ofl.txt files in docs/assets/fonts/. */

@font-face {
  font-family: "Inter";
  font-weight: 300 700;
  font-display: fallback;
  src: url("../fonts/inter-normal-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 300 700;
  font-display: fallback;
  src: url("../fonts/inter-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400 700;
  font-display: fallback;
  src: url("../fonts/jetbrains-mono-normal-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/roboto-normal-latin.woff2") format("woff2");
}

/* Zensical would set these if `theme.font` is enabled in mkdocs.yml */
:root {
  --md-text-font: "Inter";
  --md-code-font: "JetBrains Mono";
}
