.gallery-one {
  position: relative;
  padding-top: 120px;
}
@media (max-width: 767px) {
  .gallery-one {
    padding: 80px 0;
  }
}
.gallery-one .container-fluid {
  width: 100%;
  max-width: 1572px;
}
.gallery-one .row {
  --bs-gutter-x: 10px;
  --bs-gutter-y: 10px;
}
@media (min-width: 992px) {
  .gallery-one__carousel .owl-nav {
    display: none;
  }
}
.gallery-one__filter__list {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.gallery-one__filter__list li {
  cursor: pointer;
}
.gallery-one__filter__list li span {
  display: block;
  font-size: 10px;
  background-color: var(--alefox-gray, #f6f4ec);
  transition: all 500ms ease;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: var(--alefox-letter-space, 0.1em);
  padding: 15px 20px;
  line-height: 1.2em;
}
.gallery-one__filter__list li.active span, .gallery-one__filter__list li:hover span {
  background-color: var(--alefox-base, #44a05b);
  color: var(--alefox-white, #fff);
}
.gallery-one__card {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  justify-content: center;
  width: 260px;
}
.gallery-one__card img {
  transform: scale(1);
  max-width: 100%;
  transition: transform 500ms ease, opacity 500ms ease;
  opacity: 1;
  border: 3px solid black;
  width: 100%;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.gallery-one__card__hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #00000045;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(1, 0);
  transition: transform 500ms ease;
  transform-origin: bottom center;
}
.gallery-one__card__hover .img-popup {
  position: relative;
}
.gallery-one__card:hover img {
  opacity: 0.9;
}
.gallery-one__card:hover .gallery-one__card__hover {
  transform-origin: top center;
  transform: scale(1, 1);
}
.gallery-one__card__icon {
  width: 32px;
  height: 32px;
  display: block;
  position: relative;
}
.gallery-one__card__icon::after, .gallery-one__card__icon::before {
  content: "";
  width: 2px;
  height: 100%;
  background-color: var(--alefox-white, #fff);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gallery-one__card__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}