/*  */
.dark-gallery {
  padding-top: 52.5px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .dark-gallery {
    padding-top: 37.5px;
  }
}

@media (max-width: 767.99px) {
  .dark-gallery {
    padding-top: 22.5px;
  }
}

/*  */
.dark-gallery .dark-gallery-wrapper {
  display: grid;
  grid-template-columns: auto auto auto auto;
}

@media (max-width: 991.98px) {
  .dark-gallery .dark-gallery-wrapper {
    grid-template-columns: auto auto;
  }
}

/*  */
.dark-gallery .dark-gallery-wrapper > div {
  position: relative;
  height: 300px;
  max-height: 300px;
}


@media (max-width: 991.98px) {
  .dark-gallery .dark-gallery-wrapper > div {
    height: 200px;
    max-height: 200px;
  }
}
@media (max-width: 767.98px) {
  .dark-gallery .dark-gallery-wrapper > div {
    height: 200px;
    max-height: 200px;
  }
}

.dark-gallery .dark-gallery-wrapper > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dark-gallery-wrapper-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
}

.dark-gallery-wrapper-icon button {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-30px);
  opacity: 0;
  border: none;
  border-radius: 50%;
  backdrop-filter: none;
  background-color: transparent;
  transition: .5s;
}

@media (max-width: 991.98px) {
  .dark-gallery-wrapper-icon button {
    width: 80px;
    height: 80px;
    transform: translateY(0px);
    opacity: 1;
  }
}
@media (max-width: 767.98px) {
  .dark-gallery-wrapper-icon button {
    width: 65px;
    height: 65px;
    transform: translateY(0px);
    opacity: 1;
  }
}


.dark-gallery .dark-gallery-wrapper > div:hover .dark-gallery-wrapper-icon button {
  transform: translateY(0);
  backdrop-filter: blur(5px);
  opacity: 1;
}



.dark-gallery-wrapper-icon button i {
  font-size: 35px !important;
}


@media (max-width: 991.98px) {
  .dark-gallery-wrapper-icon button i {
    font-size: 30px !important;
  }
}
@media (max-width: 767.98px) {
  .dark-gallery-wrapper-icon button i {
    font-size: 28px !important;
  }
}
