.section-gallery {
  padding-top: 150px;
  padding-bottom: 150px;
}

.section-gallery .container {
  max-width: 1250px;
}

.gallery-title {
  font-size: 40px;
  line-height: 110%;
  text-align: center;
  margin-bottom: 70px;
}

.line.gallery {
  max-width: 370px;
}

.galleryWrp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 380px;
  grid-gap: 30px;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.gallery-img:hover {
  transition-duration: .3s;
  transform: scale(1.01);
}

.m-r-0 {
  margin-right: 0;
}

@media screen and (max-width: 1439px) {
  .galleryWrp {
    max-width: 790px;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1023px) {
  .galleryWrp {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 349px;
  }
}

@media screen and (max-width: 950px) {}

@media screen and (max-width: 767px) {
  .gallery-title {
    font-size: 30px;
  }
  .line.gallery {
    max-width: 308px;
  }
  .galleryWrp {
    grid-template-columns: 1fr;
    grid-auto-rows: 400px;
  }
}

@media screen and (max-width: 376px) {
  .galleryWrp {
    grid-auto-rows: 350px;
  }
}