/*
 * Bundled open source fonts for vanilla_respondage.
 *
 * The font files live in ../files/fonts/ (the asset manager copies the whole
 * theme directory to the assets dir, so this relative path works from css/).
 * Each font below is selectable in the theme options (Fonts category, optgroup
 * "Bundled open source fonts" in config.xml). The class rules are GENERIC
 * (.font-<value>, not body-scoped) on purpose: the base font is applied as
 * font-<value> on <body>, and the per-element font overrides (fontselect
 * options) apply the same class on individual elements (header, progress bar,
 * question titles, answers, group titles/descriptions, buttons).
 *
 * To add your own font to this theme: see files/fonts/README.md.
 *
 * Licenses: SIL Open Font License 1.1 — see files/fonts/OFL-*.txt.
 */

/* Inter — sans-serif — https://github.com/rsms/inter — OFL 1.1 */
@font-face {
    font-family: 'Inter';
    src: url('../files/fonts/inter-var.woff2') format('woff2');
    font-weight: 100 900;   /* variable font: wght axis 100-900 */
    font-style: normal;
    font-display: swap;
}

/* Source Serif 4 — serif — https://github.com/adobe-fonts/source-serif — OFL 1.1 */
@font-face {
    font-family: 'Source Serif 4';
    src: url('../files/fonts/source-serif-4-var.woff2') format('woff2');
    font-weight: 200 900;   /* variable font: wght axis 200-900 */
    font-style: normal;
    font-display: swap;
}

/* EB Garamond — serif — https://open-foundry.com/fonts/eb-garamond — OFL 1.1 */
@font-face {
    font-family: 'EB Garamond';
    src: url('../files/fonts/eb-garamond-var.woff2') format('woff2');
    font-weight: 400 800;   /* variable font: wght axis 400-800 */
    font-style: normal;
    font-display: swap;
}

/* Liberation Sans — sans-serif — https://open-foundry.com/fonts/liberation-sans — OFL 1.1
   (static weights: 400 and 700 are shipped as separate files) */
@font-face {
    font-family: 'Liberation Sans';
    src: url('../files/fonts/liberation-sans-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Liberation Sans';
    src: url('../files/fonts/liberation-sans-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Noto Sans — sans-serif — source: Google Fonts family "Noto Sans" — OFL 1.1 */
@font-face {
    font-family: 'Noto Sans';
    src: url('../files/fonts/noto-sans-var.woff2') format('woff2');
    font-weight: 100 900;   /* variable font: wght axis 100-900 (wdth stays at default 100) */
    font-style: normal;
    font-display: swap;
}

/* Noto Serif — serif — source: Google Fonts family "Noto Serif" — OFL 1.1 */
@font-face {
    font-family: 'Noto Serif';
    src: url('../files/fonts/noto-serif-var.woff2') format('woff2');
    font-weight: 100 900;   /* variable font: wght axis 100-900 (wdth stays at default 100) */
    font-style: normal;
    font-display: swap;
}

/* Open Sans — sans-serif — source: Google Fonts family "Open Sans" — OFL 1.1 */
@font-face {
    font-family: 'Open Sans';
    src: url('../files/fonts/open-sans-var.woff2') format('woff2');
    font-weight: 300 800;   /* variable font: wght axis 300-800 (wdth stays at default 100) */
    font-style: normal;
    font-display: swap;
}

.font-inter {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.font-source_serif_4 {
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

.font-eb_garamond {
    font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
}

.font-liberation_sans {
    font-family: 'Liberation Sans', Arial, Helvetica, sans-serif;
}

.font-noto_sans {
    font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
}

.font-noto_serif {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
}

.font-open_sans {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
