.page-hero {
  background-image: 
  var(--gradient-1),
  url("../media/our-work-hero.jpg");
}

.white-logo {
  opacity: 1;
 }

section p {
  width: 70%;
  margin: 0 auto;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 4em 0;
  gap: 2vw;
  align-content: center;
}

.gallery-grid a {
  display: flex;
  width: 100%;
  padding: 1.5em;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: calc(var(--border-radius)*2);
  background-color: rgba(0,0,0,0.1);
  background-position: center;
  background-size: cover;
  text-decoration: none;
  text-align: center;
  color: white;
  font-size: 1.6vw;
  font-weight: 300;
  transition: 0.3s;
}

.gallery-grid a:hover {
  transform: scale(1.02);
  filter: brightness(170%);
}

.gallery-section {
  background-color: white;
}

.gallery-section > p:nth-child(1) {
  margin-bottom: 3em;
}

.gallery-section:nth-child(even) {
  background-color: var(--very-light-grey);
}

.gallery {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  gap: 8px;
  padding-top: 16px;
  padding-bottom: 90px;
}

.gallery-item {
  background-color: var(--very-light-grey);
  border-radius: var(--border-radius);
  transition: 0.3s;
  aspect-ratio: 1;
}

.gallery-item img {
  display: block;
  width: 100%;
  border-radius: var(--border-radius);
}

.gallery-item:hover {
    transform: scale(1.01);
    filter: brightness(90%);
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.gallery-section a:has(button) {
  display: block;
  margin-bottom: 1em;
  text-align: center;
}

.fb-iframe {

  width: 1200px;

}

@media(max-width: 1000px) {
  section p {
      width: 100%;
      text-align: left;
  }

  .gallery {
      grid-template-columns: auto auto auto;
  }
}

@media (max-width: 1000px) {
    .gallery-grid {
      grid-template-columns: 1fr 1fr;
  }

  .gallery-grid a {
      aspect-ratio: 2/1;
      font-size: 3vw;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
}

.gallery-grid a {
    font-size: 7vw;
}
}

@media (max-width: 500px) {
  .gallery {
      /* grid-template-columns: auto auto; */
  }
}