#gallery {
  padding: 20px auto;
  width: auto;
  margin: 40px auto;
}

#gallery .gallery-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  margin-top: -50px;
  margin-bottom: 20px;
}

#gallery .gallery-title h2 {
  font-size: 3rem;
  margin-top: 30px;
}

.filter-button {
  display: flex;
  /* background-color: red; */
  justify-content: center;
  margin: auto;
}

#gallery ul {
  margin: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#gallery ul li {
  border-radius: 10px;
  background: rgb(216, 216, 216);
  padding: 8px 20px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: box-shadow 0.5s ease-in-out;
  box-shadow: 0px 5px 5px #00000059;
}

#gallery ul li:hover {
  box-shadow: none;
}

#gallery ul li.active {
  background-color: hsl(43, 49%, 46%);
  color: white;
  font-weight: 500;
}

.img-section {
  /* background-color: rgb(172, 172, 172); */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-left: 10px;
  padding-block: 15px;
}

.img-section .holder {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  border-radius: 10px;
  box-shadow: 0px 5px 5px #00000059;

  overflow: hidden;
}

.img-section .holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img:hover {
  transform: scale(15px);
}

@media screen and (max-width: 768px) {
  .img-section .holder {
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 600px) {
  #gallery .gallery-title h2 {
    font-size: 2.5rem;
  }

  #gallery ul li {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
