/*
 * Self-hosted fonts and icons for beep.monster, replacing Google Fonts and the Font Awesome CDN.
 * Read README.txt in this folder before changing anything here.
 *
 * Inter and VT323: the files Google Fonts serves to Chrome on Windows and Linux, unchanged,
 * with Google's own unicode-range split, so a browser only downloads the scripts a page needs.
 * Share Tech Mono: the unmodified upstream font (its licence reserves the name "Share" for
 * unmodified fonts, so it is not subset). All three: SIL Open Font License 1.1 (OFL-*.txt).
 *
 * Icons: Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 * Copyright 2023 Fonticons, Inc. (LICENSE-FontAwesome.txt in this folder)
 * Changes: trimmed to the icons this site uses and renamed "Beep Icons", because the OFL
 * reserves the name "Font Awesome" for unmodified fonts.
 */

/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("inter-cyrillic-ext.woff2?v=20261015") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("inter-cyrillic.woff2?v=20261015") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("inter-greek-ext.woff2?v=20261015") format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("inter-greek.woff2?v=20261015") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("inter-vietnamese.woff2?v=20261015") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("inter-latin-ext.woff2?v=20261015") 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("inter-latin.woff2?v=20261015") 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;
}
/* vietnamese */
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("vt323-vietnamese.woff2?v=20261015") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("vt323-latin-ext.woff2?v=20261015") 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("vt323-latin.woff2?v=20261015") 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;
}
/* whole font, unmodified */
@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("share-tech-mono.woff2?v=20261015") format("woff2");
}
@font-face {
  font-family: 'Beep Icons Solid';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("beep-icons-solid.woff2?v=20261015") format("woff2");
}
@font-face {
  font-family: 'Beep Icons Brands';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("beep-icons-brands.woff2?v=20261015") format("woff2");
}

.fa-solid,
.fa-brands {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

.fa-solid {
  font-family: 'Beep Icons Solid';
  font-weight: 900;
}

.fa-brands {
  font-family: 'Beep Icons Brands';
  font-weight: 400;
}

/* Solid icons (beep-icons-solid.woff2) */
.fa-volume-high::before { content: "\f028"; }
.fa-volume-xmark::before { content: "\f6a9"; }
.fa-wifi::before { content: "\f1eb"; }
.fa-battery-full::before { content: "\f240"; }
.fa-lock::before { content: "\f023"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-pager::before { content: "\f815"; }
.fa-chevron-left::before { content: "\f053"; }
.fa-chevron-right::before { content: "\f054"; }
.fa-ban::before { content: "\f05e"; }
.fa-network-wired::before { content: "\f6ff"; }
.fa-key::before { content: "\f084"; }
.fa-server::before { content: "\f233"; }
.fa-microchip::before { content: "\f2db"; }
.fa-table-cells-large::before { content: "\f009"; }

/* grid-2 is a Font Awesome Pro icon, so it never showed with the free CDN.
   This draws the free 2x2 grid (table-cells-large) in its place. */
.fa-grid-2::before { content: "\f009"; }

/* Brand icons (beep-icons-brands.woff2). google-play is here for the Play button after launch. */
.fa-android::before { content: "\f17b"; }
.fa-google-play::before { content: "\f3ab"; }
