/* The whole site. Black and white, follows the reader's light/dark setting. */

:root { color-scheme: light dark; }

body {
  max-width: 36rem;
  margin: 3rem auto;
  padding: 0 1rem;
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  background: Canvas;
  color: CanvasText;
}

a { color: inherit; }

header { margin-bottom: 2.5rem; }
header .name { font-weight: 700; font-size: 1.4rem; text-decoration: none; }
nav { margin-top: .25rem; }
nav a[aria-current] { font-weight: 700; text-decoration: none; }

h1 { font-size: 1.4rem; margin: 0 0 1rem; }
h2 { font-size: 1.1rem; margin: 2rem 0 .5rem; }

ul.list { list-style: none; padding: 0; }
ul.list li { margin: .4rem 0; }
.date { font-variant-numeric: tabular-nums; margin-right: .75rem; }

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

footer { margin-top: 4rem; font-size: .9rem; }
footer a + a { margin-left: .75rem; }
.icon { width: 1.25rem; height: 1.25rem; fill: currentColor; vertical-align: middle; }
