#photos-block .photos__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
#photos-block .photos__item {
  max-height: 260px;
  height: 15vw;
}
#photos-block .photos__img {
  display: block;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
#photos-block .photos__img::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  height: 50px;
  width: 50px;
  transform: translate(-50%, -50%);
  background: url("./images/img-icon.svg");
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
#photos-block .photos__img::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: 100%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: var(--transition);
}
#photos-block .photos__img:hover::after, #photos-block .photos__img:hover::before {
  opacity: 1;
}

@media screen and (max-width: 1300px) {
  #photos-block .photos__gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  #photos-block .photos__item {
    height: 40vw;
  }
}
@media screen and (max-width: 992px) {
  #photos-block .photos__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 600px) {
  #photos-block .photos__gallery {
    grid-template-columns: 1fr;
  }
  #photos-block .photos__item {
    height: 50vw;
  }
}/*# sourceMappingURL=block.css.map */