/*============= FUNCTIONS ===============*/
/*============= MIXINS ===============*/
.gallery-block {
  padding: 40px 0;
}
.gallery-title {
  margin-bottom: 40px;
}
.gallery-item {
  height: 400px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}
.gallery-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  width: 50px;
  height: 50px;
  background-image: url(./images/gallery-hover.svg);
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-out;
}
.gallery-item::after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  background: var(--head);
  transition: opacity 0.4s ease-out;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.gallery-item:hover::before {
  opacity: 1;
}
.gallery-item:hover::after {
  opacity: 0.3;
}
.gallery-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .gallery-block {
    padding: 20px 0;
  }
  .gallery-title {
    margin-bottom: 20px;
  }
  .gallery-theme {
    margin-top: 20px;
  }
}
@media (max-width: 820px) {
  .gallery-item {
    height: 250px;
  }
}/*# sourceMappingURL=block.css.map */