:root {
  --overlay: rgba(0, 0, 0, 0.85);
  --fg: #cfcfcf;
  --accent: #ffffff;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Background and base */
body {
  margin: 0;
  padding: 0;
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  background: url("verse.jpg") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  position: relative;
  letter-spacing: 0.1px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay);
  z-index: 0;
}

/* Layout */
main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 64px 32px 100px;
  margin: 0 auto;
  max-width: 1280px;
}

/* tighter readable width */
#content {
  flex: 2;
  max-width: 680px;
}

#streams {
  flex: 1;
  max-width: 300px;
  min-width: 220px;
  padding-left: 2rem;
}

/* two-column only on wide viewports */
@media (min-width: 1000px) {
  main {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
  }

  /* move main content further left */
  #content {
    margin-left: 3vw;  /* roughly 1–2 inches depending on screen */
  }

  #streams {
    margin-top: 90px;
    opacity: 0.9;
  }
}

/* Typography */
h1, h2, summary {
  color: var(--accent);
  font-weight: 500;
  text-transform: lowercase;
}

h1 {
  font-size: 1.9rem;
  margin: 52px 0 20px;
}

h2 {
  font-size: 1.15rem;
  margin: 48px 0 14px;
}

p, li {
  margin: 10px 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin: 12px 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.25s ease;
}
a:hover {
  opacity: 0.6;
}

/* About section */
details summary {
  cursor: pointer;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}
details p {
  margin-top: 1rem;
  line-height: 1.7;
}

/* Footer */
footer {
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #a3a3a3;
}

/* Fade-in animation */
body {
  opacity: 0;
  animation: fadeIn 1.6s ease forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Slightly smaller font for essay/rant/recommendation sections */
#content ul,
#content p a[href="#"] {
  font-size: 0.93rem;
  line-height: 1.6;
}

#content ul li a {
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Optional: make section headers breathe more */
#content h2 {
  margin-top: 56px;
}

@media (max-width: 700px) {
  main {
    padding: 40px 18px 80px;
  }
  body {
    font-size: 16px;
  }
  footer {
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

.signature {
  text-align: right;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 24px;
  letter-spacing: 0.5px;
  color: #b3b3b3;
}
.signature:hover {
  opacity: 0.9;
  transition: opacity 0.3s ease;
}