body {
  background-color: #907778c5;
}

.container {
  max-width: 800px;
  display: block;
  margin: 80px auto;
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 15px;
}

h1 {
  text-align: center;
  font-style: italic;
  color: #333;
  line-height: 1.5;
  font-weight: bolder;
  font-family: "Roboto", sans-serif;

  font-variation-settings: "wdth" 100;
}
#sad-poem-form {
  padding: 40px;
  display: flex;
  position: relative;

  background-color: #d4c6c615;
  border-radius: 15px;
  justify-content: space-between;
}
#sad-poem-search {
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  box-shadow: 0 0 5px #333;
}
#sad-poem-submit {
  border-radius: 15px 20px;
  background-color: hsla(358, 10%, 52%, 0.8);
  border-color: none;
  padding: 20px;
}

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

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
#sad-poem-result {
  padding: 20px;
  font-size: 18px;
  line-height: 24px;
  font-family: "Tagesschrift", system-ui;
  text-align: center;
  border-radius: 15px;
  background-color: #d4c6c642;
}
.instructions {
  font-size: 14px;
  color: black;
  display: none;

  position: absolute;
  bottom: -0.1%;
  left: 40%;
  transform: translateX(-50%);
  opacity: 0.5;

  transition: opacity 0.3s ease-in-out, bottom 0.3s ease-in-out;
}

#sad-poem-search:hover ~ .instructions {
  display: block;
}

#sad-poem-result strong {
  color: rgb(153, 120, 100);
}
footer {
  font-size: 14px;
  text-align: center;
  color: hsla(0, 0%, 40%, 0.445);
  margin-top: 20px;
}
.poem-hidden {
  display: none;
}

a {
  color: #907778;
}
