/*
 * Vendored from the same Fontsource packages used by the web app:
 * @fontsource-variable/mozilla-text,
 * @fontsource-variable/mozilla-headline,
 * @fontsource-variable/martian-mono.
 */

@font-face {
  font-family: "Mozilla Text Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url("../../../assets/fonts/mozilla-text/files/mozilla-text-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Mozilla Text Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url("../../../assets/fonts/mozilla-text/files/mozilla-text-latin-wght-normal.woff2") format("woff2-variations");
  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: "Mozilla Headline Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url("../../../assets/fonts/mozilla-headline/files/mozilla-headline-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Mozilla Headline Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url("../../../assets/fonts/mozilla-headline/files/mozilla-headline-latin-wght-normal.woff2") format("woff2-variations");
  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: "Martian Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../../../assets/fonts/martian-mono/files/martian-mono-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Martian Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../../../assets/fonts/martian-mono/files/martian-mono-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Martian Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../../../assets/fonts/martian-mono/files/martian-mono-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Martian Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../../../assets/fonts/martian-mono/files/martian-mono-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --bg: #111216;
  --fg: #ffffff;
  --sidebar-bg: #24252A;
  --sidebar-fg: #a1adb8;
  --sidebar-non-existant: #505254;
  --sidebar-active: #3473ad;
  --sidebar-spacer: #393939;
  --scrollbar: var(--sidebar-fg);
  --icons: #43484d;
  --icons-hover: #b3c0cc;
  --links: #2b79a2;
  --inline-code-color: #c5c8c6;
  --theme-popup-bg: #141617;
  --theme-popup-border: #43484d;
  --theme-hover: #1f2124;
  --quote-bg: hsl(234, 21%, 18%);
  --quote-border: hsl(234, 21%, 23%);
  --warning-border: #ff8e00;
  --table-border-color: hsl(200, 7%, 13%);
  --table-header-bg: hsl(200, 7%, 28%);
  --table-alternate-bg: hsl(200, 7%, 11%);
  --searchbar-border-color: #aaa;
  --searchbar-bg: #b7b7b7;
  --searchbar-fg: #000;
  --searchbar-shadow-color: #aaa;
  --searchresults-header-fg: #666;
  --searchresults-border-color: #98a3ad;
  --searchresults-li-bg: #2b2b2f;
  --search-mark-bg: #355c7d;
  --color-scheme: dark;
  --copy-button-filter: invert(26%) sepia(8%) saturate(575%) hue-rotate(169deg) brightness(87%) contrast(82%);
  --copy-button-filter-hover: invert(36%) sepia(70%) saturate(503%) hue-rotate(167deg) brightness(98%) contrast(89%);
  --mono-font: "Martian Mono Variable", "Martian Mono", "SFMono-Regular", Consolas, monospace;
}

#theme-toggle,
#theme-list {
  display: none !important;
}

html,
button,
input {
  font-family: "Mozilla Text Variable", "Mozilla Text", ui-sans-serif, system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Mozilla Headline Variable", "Mozilla Headline", ui-sans-serif, system-ui, sans-serif;
  font-weight: 620;
  line-height: 1.16;
  letter-spacing: 0;
}

#content,
.content main,
.chapter {
  font-family: "Mozilla Text Variable", "Mozilla Text", ui-sans-serif, system-ui, sans-serif;
}

h1 {
  color: #9DBCFB;
}

code,
pre,
.ace_editor,
.hljs {
  font-family: var(--mono-font) !important;
}
