body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #ffffff, #e0f7fa);
  background-image: url('https://www.transparenttextures.com/patterns/flowers.png');
  background-repeat: repeat;
  margin: 0;
  padding: 0;
  color: #333;
}
header {
  background: #0077b6;
  color: white;
  padding: 1rem;
}
footer {
  background: #caf0f8;
  text-align: center;
  padding: 1rem;
}
details {
  background: #0077b6;
  color: white;
  margin: 1rem 0;
  border-radius: 8px;
}
details > summary {
  padding: 1rem;
  font-size: 1.2rem;
  background: #0096c7;
  cursor: pointer;
  list-style: none;
}
details[open] > summary {
  background: #023e8a;
}
details > div {
  background: #caf0f8;
  color: #000;
  padding: 1rem;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
}
input, textarea {
  padding: 0.5rem;
  font-size: 1rem;
  width: 100%;
}
button {
  padding: 0.7rem;
  background: #1e90ff;
  color: white;
  border: none;
  cursor: pointer;
}
button:hover {
  background: #1c86ee;
}
@media (max-width: 768px) {
  header div {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* Hover suave para enlaces */
a:hover {
  transition: color 0.3s ease, background-color 0.3s ease;
  color: #3b82f6;
}

/* Hover animado para botones */
button:hover, .btn:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
