/* Lightbox ohne JavaScript */

html, body {
  margin: 0;
  padding: 0;
}


.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox:target {
  display: flex;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 32px;
  text-decoration: none;
  font-weight: bold;
}

.topbar {
   position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #445522;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #556b2f;
  color: black;
}


.topbar-left {
  font-size: 1.3rem;
  width: 20%;
  text-align: center;
}

.topbar-center {
  font-size: 1.3rem;
  width: 60%;
  text-align: center;
}

.topbar-right {
  font-size: 1.3rem;
  width: 20%;
  text-align: right;
}

.info-links {
  position: sticky;
  border-bottom: 2px solid #445522;
  background: #556b2f;
  padding: 15px;
  text-align: center;
}

.info-links a {
  margin: 0 15px;
  color: white;
  font-size: 1.2rem;
}

.masonry {
  display: grid;
  background-color: #556b2f;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 20px;
}

.masonry img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}



@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    text-align: center;
  }

  .topbar-right {
    text-align: center;
  }
}


