@charset "UTF-8";
.ornamental {
  margin: 20px;
}

.ornTitle {
  color: var(--color-secondary);
  font-size: 32px;
  font-style: oblique;
}

/* Contenedor principal de la galería */
/* Contenedor principal de la galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto; /* Centra el contenedor horizontalmente */
}

/* Estilo para cada imagen */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al pasar el mouse */
.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

/* Agregar un efecto al hacer hover */
.gallery-item:hover img {
  opacity: 0.8;
}

/* Estilos para los títulos de las imágenes */
.gallery-item h3 {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 5px 10px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
}/*# sourceMappingURL=ornamental.css.map */