.poem-text {
  font-family: "EB Garamond", "Lora", serif;
  font-size: 1.25rem;
  line-height: 1.9;
  color: #2c2c2c;
  text-align: center;
  background: #fffdf9;
  border-left: 5px solid #b89b6b;
  border-radius: 10px;
  padding: 2rem 3rem;
  max-width: 750px;
  margin: 2rem auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);

  /* To display line breaks */
  white-space: pre-line;
  word-wrap: break-word;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  background-image: url("pictures/texture-hero.png") !important;
}

.poem-text:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: #4b3e2a;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* If poem is reading */
.check-box {
  width: 20px;
  height: 20px;
  border: 2px solid #4b3e2a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  cursor: pointer;
}

.check-box i {
  display: none; 
  color: #4b3e2a;
  font-size: 1rem;
}

.back {
  background-color: #5e3b3b;
}

footer {
  display: visible !important; 
}

/* responsiveness */
@media (max-width: 768px) {
  .poem-text {
    font-size: 1.1rem;
    padding: 1.5rem;
    max-width: 90%;
  }
  h1 {
    font-size: 1.8rem;
  }
}
