.lightbox {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
  z-index: 9999;
  text-align: center;
  overflow: auto; /* Gerekirse içeriğin kaydırılmasını sağlar */
}

.lightbox .content {
  display: inline-block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: max-content;
  height: max-content;
  min-width: 50px;
  min-height: 50px;
  background-image: url("../images/loader.svg");
  background-position: center;
  background-repeat: no-repeat;
}

#prevButton,
#nextButton,
#prevButtonShop,
#nextButtonShop,
#prevButtonAnnounce,
#nextButtonAnnounce {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 10px;
}

/* #prevButton {
  left: 0;
  z-index: 10000;
}

#nextButton {
  right: 0;
  z-index: 10000;
} */

.close-button,
.nav-button {
  padding: 5px;
  border: none;
  background-color: #333;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: flex;
  justify-content: center;
  cursor: pointer;
  align-items: center;
}

.close-button:hover,
.nav-button:hover {
  background-color: #555;
}

.loaderr {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: #fff;
}
