/* Generate a list of fonts fron input.
 *
 * Must be executed as a template with each font's relative URL passed in.
 * If the font is an asset, it must be processed by the asset pipeline FIRST.
 */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/Lato/lato-v13-latin-regular.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  src: url("/fonts/Lato/lato-v13-latin-italic.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Ephesis";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/Ephesis/ephesis-regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Sail";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/Sail/Sail-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "EBGaramond";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/EBGaramond/EBGaramond-VariableFont_wght.ttf")
    format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "EBGaramond";
  font-style: italic;
  font-weight: 400;
  src: url("/fonts/EBGaramond/EBGaramond-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Fira Code VF";
  src: url("/fonts/FiraCode/woff2/FiraCode-VF.woff2") format("woff2-variations");
  /* font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes */
  font-weight: 300 700;
  font-style: normal;
}

@font-face {
  font-family: "UnifrakturCook";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/UnifrakturCook/UnifrakturCook-Bold.ttf") format("truetype");
  font-display: block;
}

/* The Cistercian font */
@font-face {
  font-family: "Clairvo";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/Clairvo/Clairvo-Regular.woff2") format("woff2");
  font-display: block;
  unicode-range: U+0030-0039; /* Digits 0-9 */
}

@font-face {
  font-family: "DejaVu Sans Mono with Numderline";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/DejaVuSansMono-numderline/DejaVu Sans Mono with Numderline.ttf")
    format("truetype");
  font-display: swap;
}
