.gallery-block {
  padding: 75px 0;
}

.gallery-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
}

.gallery-items .gallery-item {
  width: 25%;
  height: 500px;
}

.gallery-items .gallery-item:first-child {
  width: 50%;
}

.gallery-item {
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  z-index: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

.gallery-item .hover {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity .4s ease-out;
  transition: opacity .4s ease-out;
}

.gallery-item.gallery-item-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(55, 64, 78, 0.6)), to(rgba(55, 64, 78, 0.6))), -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0.4)));
  background: linear-gradient(0deg, rgba(55, 64, 78, 0.6), rgba(55, 64, 78, 0.6)), linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  opacity: 0;
  -webkit-transition: opacity .4s ease-out;
  transition: opacity .4s ease-out;
}

.gallery-item.gallery-item-image:hover::before {
  opacity: 1;
}

.gallery-item.gallery-item-image:hover .hover {
  opacity: 1;
}

.gallery-item.gallery-item-video .hover {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  opacity: 1;
}

.gallery-navigation {
  margin-top: 40px;
}

@media (max-width: 1240px) {
  .gallery-item {
    height: 300px;
  }
  .gallery-items {
    gap: 20px;
  }
  .gallery-items .gallery-item {
    height: 350px;
  }
}

@media (max-width: 992px) {
  .gallery-block {
    padding: 20px 0 !important;
  }
  .gallery-items {
    gap: 10px;
  }
  .gallery-items .gallery-item {
    height: 250px;
  }
  .gallery-navigation {
    margin-top: 20px;
  }
}

@media (max-width: 760px) {
  .gallery-item {
    height: 250px;
  }
  .gallery-items {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .gallery-items .gallery-item {
    width: calc(50% - 10px);
    height: 200px;
  }
  .gallery-items .gallery-item:first-child {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 640px) {
  .gallery-item {
    height: 230px;
  }
}

@media (max-width: 420px) {
  .gallery-items .gallery-item {
    height: 180px;
  }
  .gallery-items .gallery-item:first-child {
    height: 200px;
  }
}
/*# sourceMappingURL=block.css.map */