
body {
  color: #272142;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;

  
  background: url("Aesthetic\ Paper\ Background\ Vintage.jpeg") no-repeat center center fixed;
  background-size: cover;

  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}



h1 {
  font-weight: 800;
  font-size: 2.5rem;
  text-align: center;
  padding: 20px;
  line-height: 1.5;
  color:  rgb(86, 36, 53);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.container {
  flex: 1;
  margin: 40px auto;
  max-width: 800px;
  padding: 0 15px;
}

.poem {
  font-size: 16px;
  padding: 20px;
  margin-top: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 2;
  box-shadow: 0px 4px 30px 0px rgba(39, 33, 66, 0.05);
  border-left: 3px solid rgb(74, 30, 44);
  background-color: #f7d48a;
  border-radius: 8px;
}

.poem strong {
  color: rgb(59, 11, 27);
}

.hidden {
  display: none;
}


.form-container {
  padding: 25px;
  background:#f7d48a;
  box-shadow: 0px 10px 40px rgba(65, 50, 100, 0.08);
  border-radius: 12px;
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: 100%;
}

.instructions {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(39, 33, 66, 0.5);
  font-weight: 400;
  font-size: 16px;
  border-radius: 50px;
  line-height: 20px;
  color: #272044;
  min-width: 200px;
}

.btn {
  flex-shrink: 0; 
  background: rgb(74, 30, 44);
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.btn:hover {
  background: rgb(149, 7, 52);
}

.btn:disabled {
  opacity: 0.5;
}


@media (max-width: 768px) {
  .instructions {
    min-width: 0; 
  }
}


.hint {
  line-height: 1.5;
  margin-top: 10px;
  opacity: 0.6;
  font-size: 12px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    padding: 15px;
  }

  .container {
    margin: 20px auto;
  }

  .form-container {
    padding: 20px;
  }

  form {
    flex-direction: column;
    align-items: stretch;
  }

  

  .btn {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }

  .poem {
    font-size: 14px;
    padding: 15px;
  }

}
