/* Self-hosted fonts */

@font-face {
  font-family: "Merriweather";
  src: url("/static/fonts/Merriweather-latin-variable.woff2") format(woff2);
  font-weight: 300 900;
  font-style: normal;
  /* Show fallback while this font loads */
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/static/fonts/Figtree-latin-variable.woff2") format(woff2);
  font-weight: 300 900;
  font-style: normal;
  /* Show fallback while this font loads */
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/static/fonts/Poppins-latin-300.woff2") format(woff2);
  font-weight: 300;
  font-style: normal;
  /* Show fallback while this font loads */
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/static/fonts/Poppins-latin-400.woff2") format(woff2);
  font-weight: 400;
  font-style: normal;
  /* Show fallback while this font loads */
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/static/fonts/Poppins-latin-700.woff2") format(woff2);
  font-weight: 700;
  font-style: normal;
  /* Show fallback while this font loads */
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/static/fonts/Poppins-latin-900.woff2") format(woff2);
  font-weight: 900;
  font-style: normal;
  /* Show fallback while this font loads */
  font-display: swap;
}

@font-face {
  font-family: "0xProto";
  src: url("/static/fonts/0xProto-Regular.woff2") format(woff2);
  font-weight: 400;
}

@font-face {
  font-family: "0xProto";
  src: url("/static/fonts/0xProto-Bold.woff2") format(woff2);
  font-weight: 700;
}

@font-face {
  font-family: "Playwrite GB J";
  src: url("/static/fonts/Playwrite-GB-J.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 400;
  font-display: swap;
}

@font-face {
  font-family: "Playwrite FR Trad";
  src: url("/static/fonts/Playwrite-FR-Trad.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 400;
  font-display: swap;
}


:root {
  /* Font visual roles */

  --font-heading: "Merriweather", serif;
  --font-text: "Poppins", sans-serif;
  --font-ui: "Poppins", sans-serif;
  --font-code: "0xProto", monospace;

  --font-blockquote: "Playwrite GB J", cursive;

  html:lang(fr) {
    --font-blockquote: "Playwrite FR Trad", cursive;
  }
}
