/* ─── FONT ───
   Add fonts/AppleGaramond-Light.woff next to this file's folder
   structure (i.e. at the site root, alongside css/ and media/) and
   it'll load here. Falls back to Times New Roman if the file is
   missing or fails to load. */
@font-face {
  font-family: "AppleGaramondLight";
  src: url('../fonts/AppleGaramond-Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* ─── COLORS ───
   Pulled straight from the old site's --bright-mode block — this is
   just that palette made permanent instead of toggled. Change any of
   these to retheme; nothing else in the file needs to change. */
:root {
  --bg-color: #00FFFF;      /* cyan, was --cyan */
  --text-color: #003030;    /* dark teal, was --dark-teal */
  --win98-light: #ffffff;
  --win98-dark: #000000;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
}

body {
  background-color: var(--bg-color);
  /* This file lives in css/, so getting to media/ means stepping back
     up a folder first — a bare "media/bg.gif" would look for
     css/media/bg.gif instead, which is why it wasn't showing up.
     Delete this line entirely if you just want flat --bg-color with
     no pattern. */
  background-image: url('../media/bg.gif');
  background-repeat: repeat;
  color: var(--text-color);
  font-family: "AppleGaramondLight", "Times New Roman", Times, serif;
  font-size: 24px;
  line-height: 1.5;
  /* No overflow:hidden here on purpose — the old site's grid layout
     needed that so each frame could scroll independently. With just
     one column of content, the page is allowed to scroll normally. */
  min-height: 100vh;
  display: flex;
  justify-content: center;
  /* align-items:center + the min-height:100vh above fills the whole
     phone screen edge-to-edge and centers the post vertically too —
     useful for a screen recording where you don't want dead space at
     the top/bottom of frame. */
  align-items: center;
  padding: 40px 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-wrap {
  width: 100%;
  max-width: 700px;
}

.post {
  text-align: center;
}

/* ─── IMAGE FRAME ───
   Same Win98 "raised" border look the old site used on every picture. */
.feedimg-frame {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 20px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win98-light) var(--win98-dark) var(--win98-dark) var(--win98-light);
}

.feedimg-frame img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ─── MARQUEE ───
   Same idea as the old site's top banner: text scrolls continuously
   right-to-left with no gap or pause, forever. Works by animating a
   wide inner strip (.marquee-content, holding TWO copies of the text
   back-to-back) leftward by exactly half its own width per cycle —
   since the second copy is identical to the first, the instant it
   snaps back to 0% looks unchanged, so the loop reads as seamless.
   That's why the HTML has the text twice — only ever edit the wording
   in one place, in the first span (keep the second matching).

   Two separate knobs, so tweaking one doesn't affect the other:
   - SPEED: the "10s" below. Bigger = slower, smaller = faster.
   - CHUNKINESS: the "30" in steps(30, end). Bigger = smoother,
     smaller = choppier. Try 15–20 for extra chunky, 40+ for barely
     noticeable steps. */
.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  animation: marquee 5s steps(30, end) infinite;
}

.marquee-content span {
  padding-right: 60px; /* gap between the looping copies */
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}