body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(to right, #f3f4f6, #e5e7eb);
  color: #1f2937;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 40px;
  font-size: 18px;
  color: #111827;
}

main {
  max-width: 600px;
  width: 40%;
  margin: 0 auto;
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.blink {
  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;
  }
}

form {
  display: flex;
  margin-bottom: 12px;
  gap: 8px;
}

.hint {
  line-height: 1.5;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 12px;
}

.text {
  padding: 12px 15px;
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.poem {
  font-size: 16px;
  font-weight: 500;
}

.text:focus {
  border-color: #2563eb;
  outline: none;
}

.submit {
  background-color: #2563eb;
  color: white;
  padding: 16px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit:hover {
  background-color: #1d4ed8;
}

.poem {
  font-style: italic;
  font-size: 14px;
  color: #374151;
  line-height: 16px;
  padding-left: 10px;
  border-left: 4px solid #2563eb;
}

footer {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  margin-top: 30px;
  padding: 30px 0 10px;
}

footer a {
  color: #2563eb;
  text-decoration: none;
}

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