:root {
  --bg: #0e1f37;
  --text: #f4f4f5;
  --accent: #5DADE2;
  --accent-alt: #E2A76F;
  --link: #A9CCE3;
  --bg-image: url(/img/dark/favicon-192.png);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8fafc;
    --text: #282e67;
    --accent: #1a75c4;
    --accent-alt: #8f6446;
    --link: #1565C0;
    --bg-image: url(/img/light/favicon-192.png);
  }
}

body {
  margin: 0;
  font-display: swap;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background .3s, color .3s;
}
a {
  color: var(--link);
  text-decoration: none;
}
h1 {
  font-size: 2rem;
  margin-bottom: 0;
  padding-left: 52px;
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-position: center left;
  background-size: contain;
  font-weight: 600;
}
h2 {
  color: var(--accent);
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
}
h3 {
  color: var(--accent-alt);
  margin-bottom: 0;
  font-weight: 600;
}
strong {
  font-weight: 600;
}
button.theme-toggle {
  background:none;
  border:none;
  color:var(--accent-amber);
  font-size:1rem;
  cursor:pointer;
  position:fixed;
  top:1rem;
  right:1rem;
}
main {
  min-width: 300px;
  max-width: 640px;
  padding: 1rem;
  margin: 0 auto;
}
p.manifest {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  padding: .2rem 1rem .5rem 1rem;
  border-left: 4px solid #FFC107;
}
a:hover {
  text-decoration: underline;
}
ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  margin-top: .5rem;
}
ul li + li {
  margin-top: .5rem;
}
ul.links {
  display: flex;
  justify-items: center;
  gap: 2rem;
}
ul.links li {
  margin-top: 0;
}
footer {
  margin-top: 4rem;
  text-align: center;
  font-size: .8rem;
}
footer p {
  font-display: swap;
  font-family: "JetBrains Mono", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}