.container {
  margin: 130px auto;
  max-width: 650px;
}

body {
  font-family: monospace, Arial, Helvetica, sans-serif;
  background-image: url(/src/pexels-pixabay-163116.jpg);
  background-position: top;
  background-repeat: no-repeat;
}

form {
  margin-bottom: 10px;
}

.instructions {
  padding: 15px;
  border-radius: 8px;
  border-style: none;
  width: 60%;
}

input::placeholder {
  color: #6b7280;
  font-size: 13px;
  font-family: monospace, Arial, Helvetica, sans-serif;
}

.button {
  background-color: #d97706;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: monospace, Arial, Helvetica, sans-serif;
}

.button:hover {
  background-color: #b45309;
}

.haiku {
  line-height: 1.5;
  margin-top: 30px;
  white-space: pre-line;
}

.example {
  font-size: 14px;
}

.instructions:focus {
  border-color: #d97706;
  box-shadow: 0 0 5px rgba(217, 119, 6, 0.5);
  outline: none;
  transition: all 0.2s;
}

a {
  text-decoration: none;
  color: #b45309;
}

footer {
  margin-top: 150px;
  font-size: 13px;
}

#loading {
  display: none;
  font-style: italic;
  color: #d97706;
  margin-top: 15px;
  transition: opacity 0.3s;
}

#loading.show {
  display: block;
  opacity: 1;
}

.loading-dots {
  font-style: italic;
  color: #d97706;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.loading-dots span {
  width: 3px;
  height: 3px;
  background-color: #d97706;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.4s infinite both;
}

.loading-dots span:nth-child(1) {
  animation-delay: 0s;
}
.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}
