/* Fustat Webfont CSS */

/* Regular */
@font-face {
  font-family: "Fustat";
  src: url("../fonts/Fustat-Regular.woff2") format("woff2"),
       url("../fonts/Fustat-Regular.woff") format("woff"),
       url("../fonts/Fustat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: "Fustat";
  src: url("../fonts/Fustat-Medium.woff2") format("woff2"),
       url("../fonts/Fustat-Medium.woff") format("woff"),
       url("../fonts/Fustat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: "Fustat";
  src: url("../fonts/Fustat-SemiBold.woff2") format("woff2"),
       url("../fonts/Fustat-SemiBold.woff") format("woff"),
       url("../fonts/Fustat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "Fustat";
  src: url("../fonts/Fustat-Bold.woff2") format("woff2"),
       url("../fonts/Fustat-Bold.woff") format("woff"),
       url("../fonts/Fustat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ExtraBold */
@font-face {
  font-family: "Fustat";
  src: url("../fonts/Fustat-ExtraBold.woff2") format("woff2"),
       url("../fonts/Fustat-ExtraBold.woff") format("woff"),
       url("../fonts/Fustat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ExtraLight */
@font-face {
  font-family: "Fustat";
  src: url("../fonts/Fustat-ExtraLight.woff2") format("woff2"),
       url("../fonts/Fustat-ExtraLight.woff") format("woff"),
       url("../fonts/Fustat-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Light */
@font-face {
  font-family: "Fustat";
  src: url("../fonts/Fustat-Light.woff2") format("woff2"),
       url("../fonts/Fustat-Light.woff") format("woff"),
       url("../fonts/Fustat-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Variable (se supportato) */
@font-face {
  font-family: "Fustat";
  src: url("../fonts/Fustat-VariableFont_wght.woff2") format("woff2-variations"),
       url("../fonts/Fustat-VariableFont_wght.woff") format("woff"),
       url("../fonts/Fustat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Applica il font */
body {
  font-family: "Fustat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
