/* ==========================================================
   style.css — the one stylesheet every page shares.
   Change the variables below to restyle the whole site.
   ========================================================== */

:root {
  --bg: #1f1a0a;          /* page background */
  --text: #fdfcf9;           /* main text colour */
  --muted: #777;          /* dates, captions, small print */
  --accent: #b27263;      /* links and highlights */
  --font-body: Georgia, "Times New Roman", serif;
  --font-head: Georgia, "Times New Roman", serif;
  --width: 40rem;         /* how wide the reading column is */
}

/* ---------- base ---------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

a {
  color: var(--accent);
}

img {
  max-width: var(--width);
  height: auto;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
}

/* ---------- layout ---------- */

header,
main,
footer {
  max-width: var(--width);
  margin: 0 auto;
  padding: 1rem;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

header nav a {
  text-decoration: none;
}

footer {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- content bits ---------- */

/* a list of pieces on a section page */
.pieces {
  list-style: none;
  padding: 0;
}

.pieces li {
  margin-bottom: 1rem;
}

.date {
  color: var(--muted);
  font-size: 0.9rem;
}

/* poems keep their line breaks exactly as typed */
.poem {
  white-space: pre-line;
}

/* images */
.home-text-img-right{
  display: inline-block;
}