/* Grundlegendes Styling für die Galerie */
.gallery {
  margin-top: 50px;
  text-align: center;
}

.gallery-filters {
  margin-bottom: 20px;
}

.filter-button {
  background-color: #0077b6;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  margin: 0 10px;
  border-radius: 5px;
}

.filter-button:hover {
  background-color: #00a8cc;
}

.gallery-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-image {
  display: none;
  margin: 10px;
  width: 300px;
}

.gallery-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Wenn die Klasse für 60qm oder 80qm gesetzt ist, zeige das Bild an */
.60qm {
  display: block;
}

.80qm {
  display: block;
}

/* Optional: Styling für Links zur Vergrößerung */
.image-link {
  display: block;
  position: relative;
  width: 100%;
}

.image-link::after {
  content: "🔍";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: white;
  opacity: 0.7;
}

.image-link:hover::after {
  opacity: 1;
}

/* Styling für die Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-content {
  position: relative;
  text-align: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox p {
  color: white;
  font-size: 18px;
  margin-top: 10px;
}

.close-lightbox {
  background-color: #0077b6;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  border-radius: 5px;
}

.close-lightbox:hover {
  background-color: #00a8cc;
}
