@font-face {
  font-family: "Linux Biolinum";
  src: url("assets/fonts/LinBiolinum_R.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Linux Biolinum";
  src: url("assets/fonts/LinBiolinum_RB.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Linux Biolinum";
  src: url("assets/fonts/LinBiolinum_RI.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Linux Libertine";
  src: url("assets/fonts/LinLibertine_R.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Linux Libertine";
  src: url("assets/fonts/LinLibertine_RB.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Linux Libertine";
  src: url("assets/fonts/LinLibertine_RI.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Linux Libertine Mono";
  src: url("assets/fonts/LinLibertine_M.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-soft: #111318;
  --panel: #151922;
  --panel-strong: #1b202a;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #ffffff;
  --muted: #d7dde2;
  --subtle: #9ba7ad;
  --accent: #00f0c8;
  --accent-strong: #4dffdf;
  --accent-rgb: 0, 240, 200;
  --content-wide: 1500px;
  --content-readable: 1040px;
  --content-narrow: 920px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Linux Libertine", Georgia, serif;
  font-size: 18px;
  line-height: 1.58;
  letter-spacing: 0;
}

body.dialog-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  font-family: "Linux Biolinum", Arial, sans-serif;
}

[hidden] {
  display: none !important;
}

@media (max-width: 739px) {
  body {
    font-size: 16px;
  }
}
