.card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.left {
  float: left;
}

.right {
  float: right;
}


    .bild-container {
      text-align: center;
      margin: 20px;

    }

    .bild-container img {
      max-width: 100%;
      height: auto;
      border: 2px solid #ccc;

    }

    
.bild-unterschrift {
  font-size: 14px;
  color: aqua !important;
  margin-top: 8px;
  font-style: italic;
  text-align: center;
}

 box-sizing: border-box;
    }
    body {
      margin: 0;
      font-family: sans-serif;
      background-color: #111;
      color: #d6a419; /* ockerfarbene Schrift */
    }
    nav {
      background-color: #222;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
    }
    nav a {
      padding: 1em;
      color: #d6a419;
      text-decoration: none;
    }
    nav a:hover {
      background-color: #333;
    }
    .gallery {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 10px;
      padding: 10px;
      background: #000;
    }
    .gallery img {
      width: 100%;
      height: auto;
      border-radius: 8px;
    }

.photo-album {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 10px;
      padding: 10px;
      background: #000;
    } 


    main {
     width: 100%;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 10px;
      padding: 10px;
      background: #000;

    }
    .card {
      background-size: cover;
      background-position: center;
      border-radius: 10px;
      padding: 20px;
      color: #d6a419;
      background-blend-mode: overlay;
      background-color: rgba(0, 0, 0, 0.5);
    }
    .span-1 { grid-column: span 1; }
    .span-2 { grid-column: span 2; }
    .span-3 { grid-column: span 3; }
    .span-4 { grid-column: span 4; }
    .span-5 { grid-column: span 5; }
    .span-6 { grid-column: span 6; }

    footer {
      background-color: #444;
      color: white;
      text-align: center;
      padding: 20px;
    }
    footer a {
      color: #fff;
      margin: 0 10px;
      text-decoration: none;
    }
/* Lightbox-Overlay */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
  animation: fadein 0.4s ease;
}

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
