.photo-section {
  margin-top: 50px;
  padding: 50px 0px;
  background-color: white;
}

.photo-head {
  max-width: 1032px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.photo-subhead {
  max-width: 1000px;
  margin: auto;
  padding: 0px 16px;
}

.horizontal-bar {
  width: 8px;
  background-color: #00a2d3;
  margin: 8px 16px;
}

h2 {
  color: #00a2d3;
}

.photo-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  gap: 32px;
  grid-template-columns: auto auto auto auto;
  padding: 20px;
}

.photo-grid-item {
  background-color: #e8e8e8;
  border-radius: 3px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.photo-grid-item:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 850px) {
  .photo-grid {
    grid-template-columns: auto auto auto;
  }
}

@media screen and (max-width: 650px) {
  .photo-grid {
    grid-template-columns: auto auto;
  }
}

@media screen and (max-width: 450px) {
  .photo-grid {
    grid-template-columns: auto;
  }
}

.photo-grid-vid {
  grid-template-columns: auto auto;
}

@media screen and (max-width: 450px) {
  .photo-grid-vid {
    grid-template-columns: auto;
  }
}
