/* Lightbox styles */
.lightbox {
  padding: 0;
  border: none;
  background: transparent;
  /* max-width: 90vw; */
  /* max-height: 90vh; */
  width: 100vw;
  border-radius: 8px;
  height: 100vw;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
  overflow: visible;
}

@media screen and (min-width: 641px) {
  .lightbox:open {
    margin: auto;
    display: flex;
  }
}
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

#lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: white;
  border-radius: 20px;
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 15px;
  font-size: 1rem;
  padding: 0 20px;
  visibility: hidden;
}

.close-button {
  position: absolute;
  top: -50px;
  right: 10px;
  background: white;
  border: none;
  color: black;
  font-size: 28px;
  cursor: pointer;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  transform-origin: center;
}

@media (hover: hover) {
  .close-button:hover,
  .nav-button:hover {
    opacity: 0.95;
  }
}
/* Make gallery images appear clickable */
.gallery-item img {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

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

/* Navigation buttons for slideshow */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(1);
  background-color: rgb(255, 255, 255);
  color: #000000;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.prev-button {
  left: -70px;
}

.next-button {
  right: -70px;
}

@media (max-width: 768px) {
  .nav-button {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .prev-button {
    left: 10px;
    top: -50px;
    transform: translateX(0%);
  }
  .next-button {
    right: 0;
    left: 10px;
    transform: translateX(200%);
    top: -50px;
  }
}

/*# sourceMappingURL=lightbox.css.map */
