.gallery {
  padding: 40px 0 95px;
  width: 100%;
  height: auto;
}

.gallery__head__title {
  font-family: "Montserrat";
  font-size: 34px;
  font-size: 2.125rem;
  line-height: 54.4px;
  line-height: 3.4rem;
  -webkit-font-feature-settings: 'kern' 1;
          font-feature-settings: 'kern' 1;
  -webkit-font-kerning: normal;
          font-kerning: normal;
  font-weight: 700;
  color: #ffffff;
}

.gallery__head__desc {
  font-family: "Montserrat";
  font-size: 13px;
  font-size: 0.8125rem;
  line-height: 20.8px;
  line-height: 1.3rem;
  -webkit-font-feature-settings: 'kern' 1;
          font-feature-settings: 'kern' 1;
  -webkit-font-kerning: normal;
          font-kerning: normal;
  font-weight: 800;
  color: #6a6d74;
}

.gallery__head__date {
  font-family: "Montserrat";
  font-weight: 800;
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 32px;
  line-height: 2rem;
  -webkit-font-feature-settings: 'kern' 1;
          font-feature-settings: 'kern' 1;
  -webkit-font-kerning: normal;
          font-kerning: normal;
  color: #0c1b47;
}

.gallery__item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 30px;
}

.gallery__item__img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.gallery__item__img-container {
  margin: 20px;
  width: 46%;
}

.gallery__item__img-container:nth-child(2n) {
  margin-right: 0;
}

.gallery__item__img-container:nth-child(2n + 1) {
  margin-left: 0;
}

@media only screen and (max-width: 639px) {
  .gallery {
    padding: 40px 0 45px;
  }
  .gallery__item__img-container {
    width: 100%;
  }
  .gallery__item__img-container:nth-child(2n) {
    margin: 0 0 30px;
  }
  .gallery__item__img-container:nth-child(2n + 1) {
    margin: 0 0 30px;
  }
}

@media only screen and (max-width: 1247px) {
  .gallery__head__title {
    font-size: 24px;
    font-size: 1.5rem;
    line-height: 38.4px;
    line-height: 2.4rem;
    -webkit-font-feature-settings: 'kern' 1;
            font-feature-settings: 'kern' 1;
    -webkit-font-kerning: normal;
            font-kerning: normal;
  }
}

@media only screen and (max-width: 479px) {
  .gallery__head__title {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 28.8px;
    line-height: 1.8rem;
    -webkit-font-feature-settings: 'kern' 1;
            font-feature-settings: 'kern' 1;
    -webkit-font-kerning: normal;
            font-kerning: normal;
  }
}

@media only screen and (max-width: 1023px) {
  .gallery__head__date {
    font-size: 16px;
    font-size: 1rem;
    line-height: 25.6px;
    line-height: 1.6rem;
    -webkit-font-feature-settings: 'kern' 1;
            font-feature-settings: 'kern' 1;
    -webkit-font-kerning: normal;
            font-kerning: normal;
  }
}
