
html {
  overflow-y: scroll;
}

body {
  /* zentriert und begrenzt die Breite */
  max-width: 980px;
  margin: 0 auto;
  background: #ebe7d0;
  padding: 2rem;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.9rem;

}
.index-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 3rem
}
.index-text {
  text-align: center;
  margin-top: 1rem;
  color: #333;
}
.breadcrumbs {
  text-align: center;
  /* font-size: 0.9rem; */
  color: #666;
  margin-bottom: 1rem;
}
footer {
  text-align: center;
  /* font-size: 0.9rem; */
  color: #666;
  margin-top: 2rem;
}
#logo {
  max-width: 300px;
  text-align: center;
  margin-bottom: 1rem;
}
.album-name {
  font-size: 2rem;
  color: #333;
  margin-top: 2rem;
  margin-bottom: 0rem;
}
.album-description {
  /* font-size: 0.9rem; */
  color: #666;
  margin-bottom: 1rem;
}
.album-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.album-image,
.album-child {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.album-image img,
.album-child img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.album-child-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.5rem;
  font-size: 1.2rem;
  opacity: 1;
  /* transition: opacity 0.3s ease; */
}
.album-child:hover img {
  transform: scale(1.05);
}
/* .album-child:hover .album-child-name {
  opacity: 1;
} */

        /* Lightbox */
        .lightbox {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.8);
          display: none;
          align-items: center;
          justify-content: center;
          z-index: 9999;
          padding: 1rem;
      }

      .lightbox.active {
          display: flex;
      }

      .lightbox-content {
          position: relative;
          max-width: 90%;
          max-height: 90%;
          background: #fff;
          border-radius: 8px;
          overflow: hidden;
      }

      .lightbox-content img {
          display: block;
          width: 100%;
          height: auto;
      }

      .lightbox-caption {
          padding: 1rem;
          font-size: 1rem;
          background: #fff;
          color: #333;
      }

      .lightbox-close {
          position: absolute;
          top: 10px;
          right: 10px;
          background: #fff;
          border: none;
          font-size: 1.5rem;
          cursor: pointer;
          padding: 0.25rem 0.5rem;
          border-radius: 6px;
      }