/* General Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #3d76c2;
  color: #333;
  margin: 0;
  padding: 0;
  text-align: center; /* Centrar todo el contenido de texto */
}

header, section, footer {
  text-align: center;  /* Asegura que el contenido esté centrado */
  padding: 20px;
  margin: 10px 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1, h2 {
  color: black;
  text-align: center;  /* Centrar los títulos */
}

h1 {
  font-size: 2.5em;    /* Tamaño grande */
  margin: 0;
}

h2 {
  font-size: 2em;      /* Tamaño medio */
  margin-bottom: 20px;
}

/* Contenedor de imágenes */
.contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.contenedor figure {
  margin: 10px;
}

.imagen {
  width: 200px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.imagen:hover {
  transform: scale(3.3);
}

/* Responsiveness */
@media (max-width: 768px) {
  .contenedor {
      flex-direction: column;
  }

  .imagen {
      width: 100%;
  }
}
