
body {
  margin: 0;
  background: black;
  color: white;
  font-family: Georgia, serif;
  overflow-x: hidden;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1em;
  z-index: 1000;
  background-color: black;
}
#left-link {
  justify-self: start;
  color: white;
  text-decoration: none;
  font-size: 0.9em;
}
#left-link:hover {
  text-decoration: underline;
}
#center-text {
  justify-self: center;
  color: white;
  font-size: 0.9em;
  font-style: italic;
}
#right-link {
  justify-self: end;
  color: white;
  text-decoration: none;
  font-size: 0.9em;
}
#arrow {
  position: fixed;
  top: 1.5em;
  right: 1.5em;
  font-size: 1.5em;
  color: white;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
#poem-container {
  padding-top: 20vh;
  padding-bottom: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8vh;
}
.block {
  opacity: 0;
  transition: opacity 1.5s ease;
  font-size: clamp(1.2em, 4vw, 1.8em);
  max-width: 95vw;
  text-align: center;
  white-space: normal;
  line-height: 1.6;
  word-wrap: break-word;
}
.block.visible {
  opacity: 1;
}
.block.delay {
  transition-delay: 1.5s;
}
.block.repeat::after {
  content: " " attr(data-repeat);
  opacity: 0.4;
}
.block.glitch {
  animation: glitch 1s infinite;
}
@keyframes glitch {
  0% { transform: none; }
  20% { transform: translateX(-1px); }
  40% { transform: translateX(1px); }
  60% { transform: translateY(-1px); }
  80% { transform: translateY(1px); }
  100% { transform: none; }
}
.highlight-black {
  color: black;
  text-shadow: 1px 1px 0 white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white;
}
