/* page gallery */
.section-gallery h1 {
  padding-top: 195px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 140px;
}

.gallery-holder {
  display: flex;
  width: 100%;
  align-items: start;
  justify-content: flex-start;
  margin-bottom: 120px;
}

.gallery-holder h2 {
  font-family: "PP Formula Narrow";
  color: #FFDF00;
  font-size: 40px;
  font-style: italic;
  font-weight: 700;
  line-height: 48px; /* 120% */
  text-transform: uppercase;
  padding-right: 120px;
}

.gallery-holder .gallery {
  margin-left: 30px;
}

.gallery-holder .gallery ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 32px;
}

.gallery-holder .gallery li {
  list-style: none;
  width: auto;
  height: 315px;
  min-width: 420px;
  @media(max-width: 1200px) {
    min-width: 100%;
  }
}
.gallery-holder .gallery li a {
  display: block;
  width: 100%;
  height: 100%;
  @media(max-width: 1023px) {
    display: inline;
  }
}

.gallery-holder .gallery li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (min-width: 640px) and (max-width: 1023px) {
  .section-gallery h1 {
    padding-top: 130px;
    margin-bottom: 80px;
  }
  .gallery-holder {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .gallery-holder h2 {
    text-align: center;
    padding-right: 0;
    margin-bottom: 30px;
  }
  .gallery-holder .gallery {
    margin-left: 0;
  }
  .gallery-holder .gallery ul {
    grid-gap: 24px;
  }
  .gallery-holder .gallery li {
    height: 200px;
  }
}

@media screen and (max-width: 600px) {
  .section-gallery h1 {
    color: #fff;
    font-size: 40px;
    font-style: italic;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 108px;
  }

  .section-gallery h1.reveal-text div span {
    padding-left: 10px;
  }

  .gallery-holder .gallery {
    margin-left: 0;
  }
  .section-gallery .gallery-holder {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .section-gallery .gallery-holder .gallery ul {
    grid-gap: 12px;
    margin: 0 20px;
  }
  .gallery-holder .gallery li {
    height: 121px;
    width: 100%;
  }
  .gallery-holder h2 {
    text-align: center;
    font-size: 24px;
    line-height: 40px; /* 166.667% */
    width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }
}
