/* schidster.com: the shared look. White page, nanum brush everywhere, lowercase,
   colours from the veesum cover. Release pages may add their own on top. */
@font-face {
  font-family: "nanum brush";
  src: url("/fonts/nanum-brush-script.woff2") format("woff2");
  font-display: swap;
}
:root {
  --paper: #ffffff;
  --ink: #12201f;
  --slate: #1f4a48;
  --soft: #5f5490;
  --lilac: #8f80cc;
  --line: #cfc8e6;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--paper); color: var(--ink);
  font-family: "nanum brush", "Bradley Hand", "Segoe Print", cursive;
  font-size: 24px; line-height: 1.25;
  padding: 0 20px env(safe-area-inset-bottom);
  overflow-x: clip;
}
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; }

header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  margin: 0 -20px; padding: 22px 20px 18px;
  display: flex; align-items: baseline; justify-content: space-between;
}
header .name { font-size: 36px; text-decoration: none; }
header nav { white-space: nowrap; }
header nav a { margin-left: 12px; font-size: 21px; color: var(--soft); text-decoration: none; }
header nav a:hover { color: var(--ink); }

h1 { font-size: 52px; font-weight: normal; line-height: 1; margin: 18px 0 6px; }
h2 { font-size: 22px; font-weight: normal; color: var(--soft); margin-bottom: 14px; }
section { border-top: 1px solid var(--line); padding: 22px 0; }
.soft { color: var(--soft); }
.u { text-decoration: underline; text-decoration-color: var(--lilac); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* cards: square art, title, one line under it */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: block; text-decoration: none; }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.card .t { display: block; font-size: 28px; margin-top: 8px; line-height: 1.1; }
.card .s { display: block; color: var(--soft); font-size: 20px; }
.card:hover .t { text-decoration: underline; text-decoration-color: var(--lilac); text-decoration-thickness: 2px; text-underline-offset: 4px; }

footer { color: var(--soft); padding: 26px 0 40px; font-size: 20px; }

/* film grain over the whole page */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 10; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .12;
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }
