

#lightboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  /*background: rgba(255, 255, 255, 1);*/
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0; /* Startzustand */
  /*transition: opacity 0.5s ease; /* Sanfter Übergang */
}

#lightboxOverlay.show {
  display: flex; /* Sichtbar */
  opacity: 1; /* Sichtbar */
}

#lightbox {
  position: relative;
  display: none;
}

.lb-image {
  max-width: 90vw;
  max-height: 90vh;
   opacity: 0; 
   /*transition: opacity 0.5s ease-in-out; */
}

/* Navigation Fix */
.lb-nav {
  position: fixed;
  top: 50%;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  z-index: 1000;
}

.lb-prev, .lb-next, .lb-close {
  font-size: 30px;
  padding: 10px;
  font-weight: bold;
  color: black;
  background: transparent;
  /*transform: translateY(-50%);*/
  border: none;
	cursor:crosshair;
  user-select: none;
}

.lb-prev {
  position: absolute;
   left: -5px; /* Mehr Abstand von der linken Kante */
   /*transition: opacity 0.5s ease-in-out; */
}
.lb-next {
  position: absolute;
  right: -5px; /* Mehr Abstand von der rechten Kante */
   /*transition: opacity 0.5s ease-in-out; */
}

/* Für größere Bildschirme */
@media (min-width: 600px) {
  .lb-prev {
    left: 3%; /* Abstand für größere Bildschirme */
  }

  .lb-next {
    right: 3%; /* Abstand für größere Bildschirme */
  }
}

.lb-close {
  position: absolute;
  top: -60px;
  right: -20px;
  /*transition: opacity 0.5s ease-in-out; */
}


body {
  margin: 0;
  
}

/* body.no-scroll {
  overflow: hidden; /* Verhindert Scrollen */
  padding-right: calc(100vw - 100%); /* Kompensiert den verlorenen Platz durch den Scrollbalken */
} */
