.content-section {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.text-image-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.text-content {
  flex: 1;
  font-size: 1.2rem;
  line-height: 1.8;
}

.text-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-content img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 4/3; /* Relación de aspecto cuadrada */
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  width: 100%;
}

.image-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1; /* Cuadrado */
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}




/* video css*/
.video-section {
  margin-top: 2rem;
  text-align: center;
}

.video-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.video-section video {
  width: 300px; /* Ancho del video */
  height: 300px; /* Altura del video para que sea cuadrado */
  border-radius: 10px; /* Bordes redondeados (opcional) */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para estética */
  object-fit: cover; /* Ajusta el contenido del video al tamaño del cuadro */
}
