#gallery-block .block__title {
  font-size: 32px;
  line-height: 1;
  color: #373737;
  font-weight: 700;
  margin-bottom: 40px;
}
#gallery-block .gallery__holder {
  display: flex;
  flex-wrap: wrap;
}
#gallery-block .gallery__holder .gallery__item {
  display: flex;
  position: relative;
  width: calc(100% / 4);
  flex-grow: 1;
}
#gallery-block .gallery__holder .gallery__item .item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
}
#gallery-block .gallery__holder .gallery__item .hover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(232, 8, 8, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .3s ease-in;
  pointer-events: none;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-end;
  font-size: 32px;
  line-height: 1;
  color: #fff;
  font-weight: 700;
  padding: 30px;
  text-align: right;
  text-transform: uppercase;
  column-gap: 10px;
}
#gallery-block .gallery__holder .gallery__item .hover span {
  font-size: 100px;
  font-weight: 700;
  line-height: 90px;
}
#gallery-block .gallery__holder .gallery__item:hover .hover {
  opacity: 1;
}

@media (max-width: 1240px) {
  #gallery-block .gallery__holder .gallery__item .hover {
    font-size: 25px;
  }
  #gallery-block .gallery__holder .gallery__item .hover span {
    font-size: 80px;
    line-height: 70px;
  }
}
@media (max-width: 1025px) {
  #gallery-block .gallery__holder .gallery__item .hover {
    font-size: 20px;
  }
  #gallery-block .gallery__holder .gallery__item .hover span {
    font-size: 60px;
    line-height: 55px;
  }
}
@media (max-width: 769px) {
  #gallery-block .gallery__holder .gallery__item {
    width: calc(100% / 3);
  }
}
@media (max-width: 498px) {
  #gallery-block .gallery__holder .gallery__item {
    width: calc(100% / 2);
  }
  #gallery-block .gallery__holder .gallery__item .hover {
    font-size: 16px;
  }
  #gallery-block .gallery__holder .gallery__item .hover span {
    font-size: 50px;
    line-height: 45px;
  }
}

/*# sourceMappingURL=block.css.map */
