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

a {
  color: #7553cd;
  text-decoration: none;
}

.container {
  margin: 100px auto;
  max-width: 600px;
}

header {
  margin-bottom: 30px;
}

h1 {
  color: #4b0082;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

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

form {
  display: flex;
}

.hint {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 5px;
  opacity: 0.6;
  padding: 4px 17px;
}

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

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

.poem {
  background-color: white;
  border-left: 3px solid #9673eb;
  border-radius: 10px;
  box-shadow: 0px 4px 30px 0px rgba(39, 33, 66, 0.03);
  font-size: 16px;
  line-height: 2;
  padding: 20px;
}

.hidden {
  display: none;
}

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

.generating {
  animation: l1 1s linear infinite alternate;
  color: #4b0082;
  font-weight: 600;
}

@keyframes l1 {
  to {
    opacity: 0;
  }
}
