/* Medeo 1.1.0 - self-hosted bundle for prototypes.
   Source: https://github.com/DNFDEVS/medeo-font (webfonts under fonts/), SIL OFL 1.1 - see OFL.txt next to this file.
   Copy this file together with the ./fonts/ folder and keep the relative paths. */

@font-face {
  font-family: "Medeo Sans";
  src: url("./fonts/medeo-sans/MedeoSansVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Medeo Sans";
  src: url("./fonts/medeo-sans/MedeoSansVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Medeo Serif";
  src: url("./fonts/medeo-serif/MedeoSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Medeo Mono";
  src: url("./fonts/medeo-mono/MedeoMonoVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Medeo Mono";
  src: url("./fonts/medeo-mono/MedeoMonoVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
/* Medeo Pixel ships as WOFF 1.0: up to 1.000-rc2 the decomposed pixels compressed so well
   that OTS rejected the woff2 and WebKit both files. */
@font-face {
  font-family: "Medeo Pixel";
  src: url("./fonts/medeo-pixel/MedeoPixelVariable.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-medeo-sans: "Medeo Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-medeo-serif: "Medeo Serif", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-medeo-mono: "Medeo Mono", ui-monospace, SFMono-Regular, "Roboto Mono", Menlo, Monaco, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
  --font-medeo-pixel: "Medeo Pixel", "Medeo Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Pixel dot shape lives on the ELSH axis (0-100); these are the font's named instances. */
.medeo-pixel-square { font-variation-settings: "ELSH" 1; }
.medeo-pixel-circle { font-variation-settings: "ELSH" 20; }
.medeo-pixel-grid { font-variation-settings: "ELSH" 40; }
.medeo-pixel-triangle { font-variation-settings: "ELSH" 60; }
.medeo-pixel-line { font-variation-settings: "ELSH" 80; }
