/* nx-gir web: the book fonts, kept in fonts/ (see
   fonts/README.md). A browser downloads a file only
   when the page has letters in its unicode-range.
   Arian Grqi is the default. The font list in the
   text settings picks one with data-font on the
   page; the stacks (--book) are in style.css, for
   the books' text only. */

@font-face {
  font-family: "nx Noto Serif Armenian";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/noto-armenian-400-normal.woff2")
    format("woff2");
  unicode-range: U+0308, U+0530-058F, U+2010, U+2024,
    U+25CC, U+FB13-FB17;
}

@font-face {
  font-family: "nx Noto Serif Armenian";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/noto-armenian-700-normal.woff2")
    format("woff2");
  unicode-range: U+0308, U+0530-058F, U+2010, U+2024,
    U+25CC, U+FB13-FB17;
}

@font-face {
  font-family: "nx Noto Serif Armenian";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/noto-latin-400-normal.woff2")
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153,
    U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "nx Noto Serif Armenian";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/noto-latin-700-normal.woff2")
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153,
    U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "nx EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/garamond-latin-400-normal.woff2")
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153,
    U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "nx EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/garamond-latin-400-italic.woff2")
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153,
    U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "nx EB Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/garamond-latin-700-normal.woff2")
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153,
    U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "nx EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/garamond-latin-ext-400-normal.woff2")
    format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC,
    U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "nx EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/garamond-latin-ext-400-italic.woff2")
    format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC,
    U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "nx EB Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/garamond-latin-ext-700-normal.woff2")
    format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC,
    U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "nx EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/garamond-cyrillic-400-normal.woff2")
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491,
    U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "nx EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/garamond-cyrillic-400-italic.woff2")
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491,
    U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "nx EB Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/garamond-cyrillic-700-normal.woff2")
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491,
    U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "nx Old Standard";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/oldstandard-latin-400-normal.woff2")
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153,
    U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "nx Old Standard";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/oldstandard-latin-400-italic.woff2")
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153,
    U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "nx Old Standard";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/oldstandard-latin-700-normal.woff2")
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153,
    U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "nx Old Standard";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/oldstandard-latin-ext-400-normal.woff2")
    format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC,
    U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "nx Old Standard";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/oldstandard-latin-ext-400-italic.woff2")
    format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC,
    U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "nx Old Standard";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/oldstandard-latin-ext-700-normal.woff2")
    format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC,
    U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "nx Old Standard";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/oldstandard-cyrillic-400-normal.woff2")
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491,
    U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "nx Old Standard";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/oldstandard-cyrillic-400-italic.woff2")
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491,
    U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "nx Old Standard";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/oldstandard-cyrillic-700-normal.woff2")
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491,
    U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "nx FreeSerif Armenian";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  /* its letters run small */
  size-adjust: 112%;
  src: url("fonts/freeserif-400-normal.woff2")
    format("woff2");
  unicode-range: U+0530-058F, U+FB13-FB17;
}

@font-face {
  font-family: "nx FreeSerif Armenian";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  /* its letters run small */
  size-adjust: 112%;
  src: url("fonts/freeserif-400-italic.woff2")
    format("woff2");
  unicode-range: U+0530-058F, U+FB13-FB17;
}

@font-face {
  font-family: "nx FreeSerif Armenian";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  /* its letters run small */
  size-adjust: 112%;
  src: url("fonts/freeserif-700-normal.woff2")
    format("woff2");
  unicode-range: U+0530-058F, U+FB13-FB17;
}

/* Arian AMU: the files as they came (their license
   asks that a changed copy be renamed), so whole,
   not cut by script */
@font-face {
  font-family: "nx Arian Grqi";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/arian-grqi-400-normal.ttf")
    format("truetype");
}

@font-face {
  font-family: "nx Arian Grqi";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/arian-grqi-400-italic.ttf")
    format("truetype");
}

@font-face {
  font-family: "nx Arian AMU Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/arian-serif-400-normal.ttf")
    format("truetype");
}

@font-face {
  font-family: "nx Arian AMU Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/arian-serif-400-italic.ttf")
    format("truetype");
}

@font-face {
  font-family: "nx Arian AMU Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/arian-serif-700-normal.ttf")
    format("truetype");
}

@font-face {
  font-family: "nx Arian AMU Serif";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/arian-serif-700-italic.ttf")
    format("truetype");
}

/* Faulmann: the file as it came, whole; its small
   letters are small beside its capitals, as in old
   print, so it is drawn bigger */
@font-face {
  font-family: "nx Faulmann";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  size-adjust: 160%;
  src: url("fonts/faulmann-400-normal.ttf")
    format("truetype");
}

/* Armeniapedia Geghagrutyun: the file as it came;
   Armenian letters and digits only (the rest from
   Noto), small letters small, so drawn bigger */
@font-face {
  font-family: "nx Geghagrutyun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  size-adjust: 120%;
  src: url("fonts/geghagrutyun-400-normal.ttf")
    format("truetype");
}

/* Tumanian's Handwriting: the file as it came;
   small letters small, so drawn bigger */
@font-face {
  font-family: "nx Tumanian";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  size-adjust: 145%;
  src: url("fonts/tumanian-400-normal.ttf")
    format("truetype");
}
