.fatherContentGalery {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}


.content-gallery {
  display: flex;
  gap:0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.content-gallery picture {
  min-width: 90%;
  height: 100%;
  scroll-snap-align: start;
  overflow:hidden;
}

.content-gallery picture img {
  width: 100%;
  height:100%;
  object-fit:cover;
  display:block;
}


.openImg {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.openImg.active {
  display: flex;
}


.openImg img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

@media (orientation: landscape) {
  .openImg img {
    max-width: 50%;
    max-height: 80%;
  }
}


@media (min-width: 1024px) {
    .content-gallery{
        gap: 0.5rem;
    }
    .content-gallery picture img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  scroll-snap-align: start;
}
  .content-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
  }
}
