body {
  background-color: #f9f7f5;
  font-family: "Roboto", sans-serif;
  color: #272044;
  margin: 0;
  padding: 60px 20px;
}

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

header h1 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #272044;
  margin-bottom: 24px;
  line-height: 1.3;
}

main {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(65, 50, 100, 0.08);
}

#poem-generator-form {
  display: flex;
  flex-direction: column;
}

.input-group {
  display: flex;
  gap: 10px;
}

#user-instructions {
  flex-grow: 1;
  padding: 14px 20px;
  font-size: 15px;
  border: 1px solid #d3d3d3;
  border-radius: 50px;
  outline: none;
  color: #272044;
  width: 60%;
}

#user-instructions:focus {
  border-color: #885df1;
}

input[type="submit"] {
  background-color: #885df1;
  color: white;
  border: none;
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 200ms ease-in-out;
}

input[type="submit"]:hover {
  background-color: #6b3cdb;
}

.hint {
  font-size: 12px;
  color: #70757a;
  margin-top: 8px;
  margin-left: 12px;
  font-style: italic;
  opacity: 0.8;
}

#poem {
  background-color: #faf8ff;
  padding: 20px 24px;
  border-left: 4px solid #885df1;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 24px;
}

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

footer a {
  color: #885df1;
  text-decoration: none;
}

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