/* Splendid 66 Bold by Johan Holmdahl, free-typewriter-fonts.com (license: /fonts/Splendid66-license.txt) */
@font-face {
  font-family: "Splendid 66";
  src: url("/fonts/SplendidB.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f1ea;
  --ink: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141414;
    --ink: #ece8df;
  }
}

* {
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Splendid 66", "Courier New", Courier, monospace;
  font-weight: 700;
  /* Readable on phones (~21px at 375px wide), 32px on desktop; lines wrap when they don't fit. */
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* One centered column as wide as the longest line (or the screen, if narrower); text inside is left-aligned. */
main {
  min-height: 100%;
  display: grid;
  place-content: center;
  padding: 1rem;
  text-align: left;
}

p {
  text-wrap: pretty;
}
