@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Poppins:wght@400;500;600&display=swap");

* {
  box-sizing: border-box;
}

body {
  background-image: linear-gradient(
    160deg,
    #fbeff2 0%,
    #f3e0e6 40%,
    #ead9e4 100%
  );
  background-attachment: fixed;
  font-family: "Poppins", Helvetica, Arial, sans-serif;
  margin: 0;
  color: #4a2545;
}

a {
  color: #a94d6a;
  text-decoration: none;
  border-bottom: 1px solid rgba(169, 77, 106, 0.4);
}

a:hover {
  color: #6b2c39;
  border-bottom-color: #6b2c39;
}

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

header {
  margin-bottom: 30px;
  position: relative;
}

header::before {
  content: "❦";
  display: block;
  text-align: center;
  font-size: 28px;
  color: #c08497;
  margin-bottom: 8px;
}

h1 {
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 1.3;
  color: #4a2545;
  margin: 0;
}

form {
  padding: 24px;
  background-color: #ffffff;
  box-shadow: 0px 20px 60px rgba(74, 37, 69, 0.1);
  border-radius: 16px;
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(192, 132, 151, 0.2);
}

.instructions {
  padding: 14px 20px;
  border: 1px solid rgba(74, 37, 69, 0.2);
  flex: 1;
  font-family: inherit;
  font-size: 15px;
  border-radius: 50px;
  line-height: 20px;
  color: #4a2545;
  outline: none;
  transition: border-color 150ms ease-in-out;
}

.instructions:focus {
  border-color: #c08497;
}

.instructions::placeholder {
  color: rgba(74, 37, 69, 0.4);
}

.submit-button {
  background: #a94d6a;
  color: white;
  border: none;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  border-radius: 50px;
  padding: 14px 26px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 150ms ease-in-out,
    transform 150ms ease-in-out;
}

.submit-button:hover {
  background: #6b2c39;
  transform: scale(1.03);
}

.submit-button:disabled {
  background: #d9b6c4;
  cursor: not-allowed;
  transform: none;
}

/* topics de ejemplo, clickeables */
.examples {
  text-align: center;
  font-size: 13px;
  color: rgba(74, 37, 69, 0.55);
  margin: 0 0 30px;
}

.example-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(169, 77, 106, 0.3);
  color: #a94d6a;
  font-family: inherit;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 3px 2px;
  cursor: pointer;
  transition:
    background 150ms ease-in-out,
    color 150ms ease-in-out;
}

.example-chip:hover {
  background: #a94d6a;
  color: #ffffff;
  border-color: #a94d6a;
}

.poem {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-style: italic;
  background-color: #ffffff;
  padding: 34px 30px;
  line-height: 1.9;
  border-left: 3px solid #c08497;
  border-radius: 4px 16px 16px 4px;
  box-shadow: 0px 10px 40px rgba(74, 37, 69, 0.06);
  color: #4a2545;
  position: relative;
  min-height: 90px;
}

.poem::before {
  content: "“";
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 60px;
  font-style: normal;
  color: #ead9e4;
  position: absolute;
  top: -10px;
  left: 12px;
  line-height: 1;
}

footer {
  text-align: center;
  font-size: 12px;
  font-family: "Poppins", Helvetica, Arial, sans-serif;
  color: rgba(74, 37, 69, 0.6);
  margin-top: 30px;
}
