/* Vice City, minimal: night sky, sunset band, neon pink + teal. */
@font-face {
  font-family: "Yellowtail";
  src: url("/fonts/yellowtail.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #140a24;
  --text: #f3e9ff;
  --muted: #a993c4;
  --pink: #ff3ea5;
  --teal: #2de2e6;
  --orange: #ff9a3c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, sans-serif;
}

header {
  padding: 4.5rem 1.25rem 3rem;
  text-align: center;
  background: linear-gradient(to bottom, var(--night) 0%, #3b1250 45%, #b2306f 75%, var(--orange) 100%);
  border-bottom: 2px solid var(--teal);
  box-shadow: 0 0 24px rgba(45, 226, 230, .35);
}

.logo {
  font: 4rem/1 "Yellowtail", cursive;
  color: var(--pink);
  text-decoration: none;
  text-shadow: 2px 2px 0 var(--teal), 0 0 18px rgba(255, 62, 165, .7);
}

main, footer { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }
main { padding-top: 2.5rem; }
section + section { margin-top: 3rem; }

h1, h2 { line-height: 1.2; }
h2 {
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
}

a { color: var(--pink); text-underline-offset: 3px; }
a:hover { color: var(--teal); }

.muted { color: var(--muted); }

.list { list-style: none; padding: 0; }
.list li { padding: .7rem 0; border-bottom: 1px solid #2b1a45; }
.list a { font-weight: 600; text-decoration: none; }
.list time { float: right; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.list p { margin: .2rem 0 0; color: var(--muted); }

article img { max-width: 100%; height: auto; }
pre { overflow-x: auto; padding: 1rem; background: #1e1033; border-left: 2px solid var(--pink); }
code { font-size: .9em; }
blockquote { margin: 0; padding-left: 1rem; border-left: 2px solid var(--teal); color: var(--muted); }

.cta { display: inline-block; padding: .4rem .9rem; border: 1px solid var(--pink); text-decoration: none; }
.cta:hover { border-color: var(--teal); }

footer { margin-top: 4rem; padding-bottom: 3rem; color: var(--muted); font-size: .9rem; }
