.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item h4 {
  color: #000;
}

.gallery-item img {
  border-radius: var(--border-radius);
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.gallery-item img:hover {
  opacity: 0.8;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.lightbox-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.lightbox-content {
  position: relative;
  background-color: white;
  padding: 20px;
  text-align: center;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 50%;
}

.lightbox-content img {
  max-height: 80%;
  object-fit: contain;
}

.lightbox-close {
  font-size: 42px;
  color: #ffffff;
  cursor: pointer;
}

.lightbox-close:hover {
  color: #000000;
}

.portfolio-closing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.portfolio-closing h2 {
  font-size: 2rem;
  font-weight: 500;
  color: #000000;
  display: flex;
  justify-content: center;
}

.portfolio-closing p {
  display: flex;
  justify-content: center;
}

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