body {
  font-family: Verdana, sans-serif;
  margin: 0;
  background-color: #f4fff9;
  color: #2f3e46;
}

header {
  background-color: #38a169;
  color: white;
  padding: 20px;
  text-align: center;
}

section {
  padding: 20px;
}

h1, h2 {
  margin: 0 0 10px;
}

/* Posicionamiento */
.contenido {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.texto {
  flex: 1;
  padding: 10px;
}

.imagen {
  flex: 1;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cards {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  flex-wrap: wrap;
}

.card {
  background-color: #e6fffa;
  border: 1px solid #c6f6d5;
  padding: 15px;
  border-radius: 10px;
  width: 150px;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 128, 0, 0.1);
  transition: transform 0.3s;
}

/* Animaciones */
.animar1 {
  animation: flotar 2s ease-in-out infinite;
}

.animar2 {
  animation: zoom 2s ease-in-out infinite;
}

.animar3 {
  animation: girar 2s linear infinite;
}

@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes zoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes girar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

footer {
  background-color: #38a169;
  color: white;
  text-align: center;
  padding: 10px;
}
