body {
  background-color: #f5f0e8;
  font-family: Georgia, "Times New Roman", Times, serif;
}

a {
  color: #1c4a6e;
}
.container {
  margin: 120px auto;
  max-width: 600px;
}

header {
  margin-bottom: 30px;
  font-family: "Playfair Display", serif;
}

h1 {
  text-align: center;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.5;
  color: #c8102e;
}

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

main {
}

form {
  display: flex;
}

.hint {
  line-height: 1.5;
  font-size: 12px;
  margin-top: 5px;
  opacity: 0.6;
}

.instructions {
  padding: 18px;
  border: 1px solid rgba(191, 193, 196, 0.5);
  width: 80%;
  font-size: 16px;
  border-radius: 50px;
  line-height: 20px;
  color: #272044;
  font-family: "EB Garamond", serif;
}

.submit-button {
  margin-left: 10px;
  background-color: #c8102e;
  color: #f5f0e8;
  border: none;
  width: 150px;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 16px;
  font-family: "EB Garamond", serif;
}

.submit-button:hover {
  background-color: #7a0a1a;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.poem {
  font-size: 18px;
  background-color: #f5f0e8;
  color: #1a1a2e;
  padding: 20px;
  line-height: 2;
  border-left: 3px solid #1c4a6e;
  box-shadow: 0px 20px 60px rgba(191, 193, 196, 0.5);
  font-family: "EB Garamond", serif;
}

.hidden {
  display: none;
}

.poem strong {
  color: #b5930a;
}

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

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

footer {
  text-align: center;
  font-size: 13px;
  margin-top: 30px;
  color: #6b6b6b;
}
