.section-gallery {
  width: 80%;
  margin: 200px auto;
}

.gallery-list {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0;
  margin: 0 auto;
}

.gallery-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  transition: transform 0.3s ease;
}
.gallery-list li:hover {
  transform: translateY(-5px);
}
.gallery-list img {
  width: 80%;
  height: auto;
}

.photo_title {
  font-size: 1.4rem;
  text-align: center;
  margin: 20px;
  color: #4c4c4c;
  opacity: 1;
}
.photo_title :hover {
  opacity: 1;
}
@media (max-width: 768px) {
  .section-gallery {
    margin: 100px auto;
  }
}
.openbtn span {
  background-color: #a5a5a5;
}
