.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 40px auto;
  max-width: 1000px;
  border: 0px solid red;
}
.thumbnail {
  height: 300px;
  max-height: 300px;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s ease;
  @media screen and (max-width: 480px) {
    max-width: 80%;
  }
}

.thumbnail:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.lightbox-img:hover {
  transform: scale(1.2);
  cursor: zoom-in;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}
