@font-face {
  font-family: "VT323";
  src: url("/static/fonts/VT323-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #000000;
  --font: "VT323", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --fg: #ffffff;
  }
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  box-sizing: border-box;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  margin: 0;
  padding: 1rem;
  transition: background-color 0.5s ease, color 0.5s ease;

  width: min(90%, 128ch);
  margin-inline: auto;
  padding: 1rem;
}
