
body {
  margin: 0;
  background: black;
  color: white;
  font-family: Georgia, serif;
  overflow-x: hidden;
}
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1em;
  z-index: 1000;
  background-color: black;
  transition: opacity 1s ease;
}
header.fade-out {
  opacity: 0;
  pointer-events: none;
}
#left-link, #right-link {
  color: white;
  text-decoration: none;
  font-size: 0.9em;
}
#right-link.sticky {
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 999;
}
#left-link {
  justify-self: start;
}
#right-link {
  justify-self: center;
}
#center-text {
  justify-self: center;
  color: white;
  font-size: 0.9em;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
#center-text::after {
  content: "↓";
  font-size: 1.5em;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
#poem-container {
  padding-top: 25vh;
  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;
}
.title-block {
  font-size: clamp(2em, 8vw, 4em);
  font-weight: bold;
}
.block.visible {
  opacity: 1;
}
#back-button {
  margin-top: 10vh;
  text-align: center;
}
#back-button a {
  color: white;
  text-decoration: none;
  font-size: 1em;
  border: 1px solid white;
  padding: 0.5em 1em;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s;
}
#back-button a:hover {
  background-color: white;
  color: black;
}
.highlight-black {
  background-color: white;
  color: black;
  padding: 0 0.2em;
}
.highlight-red {
  background-color: red;
  color: white;
  padding: 0 0.2em;
}
.highlight-blue {
  background-color: blue;
  color: white;
  padding: 0 0.2em;
}


/* Use sans-serif for title and back link */
.title-block {
  font-family: 'Arial', sans-serif;
  font-size: clamp(2.5em, 8vw, 4em);
  font-weight: bold;
  text-transform: uppercase;
}

/* Correct smaller font for body text */
.block {
  font-size: clamp(1em, 3vw, 1.4em);
}

/* Floating BIG DATA link */
#right-link.sticky {
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 999;
}

/* Back button */
#back-button {
  margin: 10vh auto;
  text-align: center;
  font-family: 'Arial', sans-serif;
}
#back-button a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  border: 1px solid white;
  padding: 0.6em 1.2em;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s;
}
#back-button a:hover {
  background-color: white;
  color: black;
}

#back-button a {
  color: white !important;
}


/* Refined body text size */
.block {
  font-size: clamp(1em, 3vw, 1.4em);
}

/* Title font styling in Futura-like sans serif */
.title-block {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: clamp(2.5em, 8vw, 4em);
  color: white;
}

/* Floating BIG DATA link */
#right-link.sticky {
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 999;
}

/* Back button centered in white sans serif */
#back-button {
  margin: 10vh auto;
  text-align: center;
  font-family: 'Arial', sans-serif;
}
#back-button a {
  color: white !important;
  text-decoration: none;
  font-size: 1.2em;
  border: 1px solid white;
  padding: 0.6em 1.2em;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s;
}
#back-button a:hover {
  background-color: white;
  color: black;
}


/* Title in bold white sans-serif (Futura-like) */
.title-block {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: clamp(2.5em, 8vw, 4em);
  color: white;
}

/* Floating BIG DATA link */
#right-link.sticky {
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 999;
  color: white;
}
