/* General Body Styling */
body {
  background: linear-gradient(180deg, #001f3f, #0f0f0f);
  color: #00ffcc;
  font-family: "Courier New", Courier, monospace;
  margin: 0;
  padding: 0;
  text-align: center;
  overflow-x: hidden;
}

/* Header Styling */
h1 {
  color: #ff4500;
  text-shadow: 0 0 10px #ff4500, 0 0 20px #ff4500;
  margin-top: 50px;
}

/* Poem Container */
.poem {
  font-size: 1.2rem;
  line-height: 1.8;
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  box-shadow: 0 0 20px #ff4500, 0 0 40px #ff4500;
}

/* Navigation Links */
.back-to-home,
.back-to-garden {
  display: block;
  text-align: center;
  margin-top: 30px;
  color: #00ffcc;
  font-size: 1.2rem;
  text-decoration: underline;
}

/* Animation for Stars */
@keyframes twinkling {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}

.star {
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.8;
  animation: twinkling 1.5s infinite alternate;
}

.star:nth-child(1) {
  top: 50px;
  left: 100px;
  animation-delay: 0s;
}

.star:nth-child(2) {
  top: 200px;
  left: 150px;
  animation-delay: 0.5s;
}

.star:nth-child(3) {
  top: 400px;
  left: 300px;
  animation-delay: 1s;
}

.star:nth-child(4) {
  top: 100px;
  left: 450px;
  animation-delay: 1.5s;
}

/* Butterfly Styling */
.butterfly {
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: url("butterfly.png"); /* Replace with butterfly image */
  background-size: cover;
  animation: flutter 2s ease-in-out infinite;
}

@keyframes flutter {
  0% {
    top: 50px;
    left: 50px;
    transform: rotate(0deg);
  }
  100% {
    top: 300px;
    left: 500px;
    transform: rotate(360deg);
  }
}
