
body {
  margin: 0;
  background: black;
  color: white;
  font-family: Georgia, serif;
  overflow-x: hidden;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1em;
  z-index: 1000;
  background-color: black;
}
#left-link, #right-link {
  color: white;
  text-decoration: none;
  font-size: 0.9em;
}
#center-text {
  color: white;
  font-size: 0.9em;
  font-style: italic;
}
#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 2s ease;
  font-size: clamp(1.4em, 5vw, 2em);
  max-width: 800px;
  text-align: center;
  white-space: pre-wrap;
  line-height: 1.8;
  will-change: opacity;
}
.block.visible {
  opacity: 1;
}
.block.delay {
  transition-delay: 1.5s;
}
.block.repeat::after {
  content: " " attr(data-repeat);
  opacity: 0.4;
}
