:root {
  --primary-color: #333;
  --primary-color-ligher: #444;
  --primary-color-lighest: #555;
  --primary-color-darker: #252525;
  --primary-color-darkest: #111;
  --secondary-color: #da0;
  --secondary-color-lighter: #c90;
  --secondary-color-lightest: #fc0;
  --secondary-color-darker: #960;
  --secondary-color-darkest: #860;
  --tertiary-color: #460;
  --tertiary-color-ligher: #680;
  --tertiary-color-lighest: #8a0;
  --tertiary-color-darker: #340;
  --tertiary-color-darkest: #230;
  --quarternary-color: #146;
  --quarternary-color-lighter: #257;
  --quarternary-color-lightest: #2368;
  --quarternary-color-darker: #035;
  --quarternary-color-darkest: #024;
  --bg-color: #222;
  --bg-color-inverted: #ccc;
  --fg-color: #f0f0f0;
  --fg-color-inverted: #212121;
  --link-color: #da0;
  --link-color-inverted: #246;
  --border-color: #111;
  --border-color-inverted: #aaa;
  --shadow-color: #333;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #333;
    --bg-color-inverted: #fff;
    --fg-color: #fff;
    --fg-color-inverted: #222;
    --link-color: #fc0;
    --link-color-inverted: #246;
  }
}

body {
  margin: 0;
  padding: 0;
  font: var(--primary-font);
  background: var(--bg-color);
  color: var(--fg-color);
  min-height: 100vh;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font: var(--heading-font);
}

h1 {
  font-size: 1.6rem;
  line-height: 1.9rem;
}

h2 {
  font-size: 1.6rem;
  line-height: 1.6rem;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.4rem;
}

h4 {
  font-size: 1.2rem;
  line-height: 1.2rem;
}

h5 {
  font-size: 1rem;
  line-height: 1rem;
}

h6 {
  font-size: 1rem;
  line-height: 1rem;
}