.gallery-sizer,
.gallery-item {
  width: calc(50% - 5px);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  cursor: pointer;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.gallery-item img {
  display: block;
  max-width: 100%;
}

.gallery-item video {
  display: block;
  max-width: 100%;
}

.gallery-item:hover .gallery-info {
  bottom: 0;
  opacity: 1;
}

.gallery-item:hover .icon-play-circle-outline {
  opacity: 0;
}

.gallery-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: absolute;
  height: 100%;
  left: 0;
  right: 0;
  bottom: -100%;
  pointer-events: none;
  opacity: 0;
  padding: 7px 10px;
  font-size: 14px;
  color: white;
  transition: bottom 0.25s ease, opacity 0.25s ease;
}

.gallery-info p {
  font-size: inherit;
  font-weight: 300;
}

.icon-play-circle-outline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  margin: auto;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.icon-play-circle-outline::after {
  content: '\e01d';
  font-family: 'lg' !important;
  font-size: 50px;
  font-style: normal;
  color: white;
}

.gallery-html {
  margin-inline: auto;
  list-style: none;
  /* margin: 0; */
  display: flex;
  flex-direction: row;
  justify-content: center !important;
  gap: 90px  !important;
  /* align-items: center;
  text-align: left;
  gap: 10px 20px; */
  font-size: 12px;
  color: white;
  /* flex-wrap: wrap; */
}


.gallery-html span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .gallery-sizer,
  .gallery-item {
    width: calc(25% - (30px / 4));
  }

  .gallery-html {
    justify-content: center;
    text-align: center;
    gap: 10px !important;
    flex-wrap: wrap;
  }

  .gallery-html span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.5);
  }
}
@media (max-width: 768px) {
  .gallery-html {
    justify-content: center;
    text-align: center;
    gap: 10px !important;
    flex-wrap: wrap;
  }
}