:root {
  --verde-oscuro: #2e7d32;
  --verde-claro: #a5d6a7;
  --amarillo-suave: #f9fbe7;
  --blanco: #ffffff;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--amarillo-suave);
  color: #333;
}

/* Contenedor principal */
div {
  background: linear-gradient(90deg, #1e6dff, #0cf5c2);
  color: black;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  animation: fadeInDown 1s ease-out;
}

/* Título */
div h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Imagen responsiva */
div img {
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

/* Animaciones */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Media queries para responsividad */
@media (min-width: 768px) {
  div h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  div h1 {
    font-size: 4rem;
  }
  div img {
    max-width: 600px;
  }
}