body {
  background-image: url("image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: "Quicksand", sans-serif;
  color: #333;
  margin: 0;
  padding: 20px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: -1;
}

a {
  color: #001e78ff;
  font-weight: bold;
  text-decoration: none;
  margin: 0 5px;
}

.container {
  margin: 50px auto;
  max-width: 800px;
}

header {
  margin-bottom: 30px;
}

header p {
  text-align: center;
  font-size: 20px;
  color: #272044;
  line-height: 1.5;
}

h1 {
  font-family: "Fredoka", sans-serif;
  text-align: center;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.5;
  color: #272044;
}

form {
  display: flex;
}

.form-container {
  background-color: white;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0px 20px 60px rgba(65, 50, 100, 0.08);
  padding: 30px 20px;
  opacity: 0.9;
}

.hint {
  line-height: 1.5;
  margin-top: 5px;
  opacity: 0.6;
  font-size: 12px;
  font-family: "Franklin", "Arial", Arial, sans-serif;
}

.instructions {
  padding: 16px;
  border: 1px solid rgba(39, 33, 66, 0.5);
  width: 80%;
  font-size: 16px;
  border-radius: 50px;
  line-height: 20px;
  color: #272044;
}

.submit-button {
  margin-left: 10px;
  background: #001e78ff;
  color: white;
  border: none;
  width: 150px;
  font-size: 16px;
  border-radius: 50px;
  padding: 14px 24px;
}

.submit-button:hover {
  background-color: #0033a0;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.poem {
  font-size: 16px;
  background-color: #ffffff;
  color: #272044;
  padding: 20px;
  line-height: 2;
  text-align: center;
  border-left: 3px solid #001e78ff;
  opacity: 0.9;
  border-radius: 12px;
  box-shadow: 0px 4px 30px 0px rgba(39, 33, 66, 0.03);
}

.hidden {
  display: none;
}

.poem strong {
  color: #001e78ff;
}

footer {
  font-family: "Quicksand", sans-serif;
  text-align: center;
  font-size: 14px;
  color: #272044;

  margin-top: 30px;
}

footer a:hover {
  text-decoration: underline;
}

.generating {
  animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
