/* ==========================================================================
   Font faces. Browsers only download a face when text actually uses it.
   ========================================================================== */

/* Arabic interface */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyah-sans/thmanyah-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyah-sans/thmanyah-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyah-sans/thmanyah-sans-600-700.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../fonts/thmanyah-serif-display/thmanyah-serif-display-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Hadith text */
@font-face {
  font-family: 'Noto Naskh Arabic';
  src: url('../fonts/noto-naskh-arabic/noto-naskh-arabic-700-arabic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Other interface languages */
@font-face {
  font-family: 'Janna';
  src: url('../fonts/Janna-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Janna';
  src: url('../fonts/Janna-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Persian */
@font-face {
  font-family: 'Farsi';
  src: url('persian.woff2') format('woff2');
  font-display: swap;
}
