.gallery-block {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.gallery-block__image-bg {
  filter: blur(5px);
}
.gallery-block__item {
  transition: 0.3s all linear;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-block__item:after {
  content: "";
  display: block;
  padding-bottom: 112%;
  opacity: 0.5;
  background: var(--gray1);
  mix-blend-mode: multiply;
  transition: 0.3s all linear;
  opacity: 0;
  transform: scale(0);
}
.gallery-block__item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-image: url("./images/lupa.svg");
  background-repeat: no-repeat;
  background-size: max(1.6666666667vw, 32px) max(1.6666666667vw, 32px);
  background-position: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-block__item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s all linear;
}
@media (min-width: 992px) {
  .gallery-block__item:hover .gallery-block__image-hover {
    transform: scale(0.892);
  }
  .gallery-block__item:hover .gallery-block__image-bg {
    transform: scale(1.05);
  }
  .gallery-block__item:hover::before {
    opacity: 1;
  }
  .gallery-block__item:hover::after {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .gallery-block {
    display: flex;
    flex-wrap: wrap;
  }
  .gallery-block__item {
    flex-grow: 1;
    flex-basis: 0;
    min-width: 33.333%;
  }
}
@media (max-width: 575px) {
  .gallery-block__item {
    min-width: 50%;
  }
}

/*# sourceMappingURL=block.css.map */
