/* fonts.css – @font-face för sajtens typsnitt.
   Filerna ligger i mappen fonts/. Namnen används i root.css (--font-*).
   size-adjust skalar typsnitten så att de upplevs lika stora:
   Stylish Handwriting har mycket liten x-höjd, Primor Stylish är en
   versalliknande display-stil.
   OBS: kontrollera licensvillkoren för typsnitten (se README). */

/* Titlar */
@font-face {
  font-family: "Presque Elegante";
  src: url("../fonts/PresqueElegante.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Inläggstext */
@font-face {
  font-family: "Stylish Handwriting";
  src: url("../fonts/StylishHandwriting.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 200%;
}

/* Main och navbar */
@font-face {
  font-family: "Primor Stylish";
  src: url("../fonts/PrimorStylish.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 85%;
}

/* Wiki */
@font-face {
  font-family: "Flanker Griffo";
  src: url("../fonts/FlankerGriffo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 105%;
}

@font-face {
  font-family: "Flanker Griffo";
  src: url("../fonts/FlankerGriffo-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 105%;
}

@font-face {
  font-family: "Flanker Griffo";
  src: url("../fonts/FlankerGriffo-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  size-adjust: 105%;
}

@font-face {
  font-family: "Flanker Griffo";
  src: url("../fonts/FlankerGriffo-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  size-adjust: 105%;
}
