/* Gallery */

.gallery .container-medium hr {
  border-color: #c6c6c6;
  margin-bottom: 50px;
}

.gallery h4 {
  font-family: var(--font-primary);
  /* font-weight: 300; */
  /* text-transform: uppercase; */
  font-family: var(--font-primary);
  font-weight: 500;
  letter-spacing: 1px;
  width: 80%;
  /* margin-top: 4rem; */
  font-size: 1.5em;
  margin-bottom: 3rem;
}

.gallery {
  margin-top: 8rem;
}

.gallery .container-medium hr {
  border-color: #c6c6c6;
  margin-bottom: 50px;
}

.box-gallery {
  justify-items: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.gallery h4 {
  font-family: var(--font-primary);
  /* font-weight: 300; */
  letter-spacing: 1px;
  width: 80%;
}

.box-gallery img {
  width: 20vw;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: all .3s ease-in-out;
  aspect-ratio: 1/1;
  margin-bottom: 7%;
}

.hover-image-animation:hover {
  transform: scale(1.02)
}

/* Responsive Design */

@media screen and (min-width: 767px) and (max-width: 1100px) {
  .box-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .box-gallery img {
    width: 45vw;
    height: auto;
    margin-bottom: 5%;
  }
}

@media screen and (max-width: 767px) {
  .box-gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .box-gallery img {
    width: 100%;
    height: auto;
    margin: auto;
    margin-bottom: 5%;
    display: block;
    /* grid-template-columns: repeat(3, 1fr); */
    /* transition: all .3s ease-in-out; */
  }

  .hover-image-animation:hover img {
    transform: scale(1.02)
  }
}