/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Quicksand:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: #fffaf0;
  color: #333;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

header, footer {
  background-color: #d62828;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

h1, h2 {
  font-family: 'Merriweather', serif;
  margin-bottom: 0.5em;
}

main {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

.formulario, .respuesta {
  background-color: #ffffff;
  border: 2px solid #fcbf49;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

label {
  font-weight: 600;
}

input, textarea {
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background-color: #f9f9f9;
  transition: border 0.3s;
}

input:focus, textarea:focus {
  border-color: #386641;
  outline: none;
}

button {
  background-color: #386641;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.9rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

button:hover {
  background-color: #2f5233;
  transform: scale(1.03);
}

blockquote {
  background-color: #fff3e0;
  border-left: 4px solid #fcbf49;
  padding: 1rem;
  margin: 1rem 0;
  font-style: italic;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 600px) {
  main {
    padding: 1rem;
  }

  .formulario, .respuesta {
    padding: 1.5rem;
  }
}

/* Efecto nieve */
.snowflake {
  position: fixed;
  top: -2em;
  font-size: 1.5em;
  opacity: 0.8;
  color: white;
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(0); }
  100% { transform: translateY(100vh); }
}
