body {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   font-family: sans-serif;
 }
 h1 {
   color: coral;
 }
 .grid-container {
   columns: 5 200px;
   column-gap: 1.5rem;
   width: 90%;
   margin: 0 auto;
   div {
     width: 150px;
     margin: 0 1.5rem 1.5rem 0;
     display: inline-block;
     width: 100%;
     border: solid 2px black;
     padding: 5px;
     box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
     border-radius: 5px;
     transition: all .25s ease-in-out;
     background-color: white;

     &:hover {
       border-color: coral;
       transform: scale(1.05);
     }
     img {
       width: 100%;
       filter: grayscale(0%);
       border-radius: 5px;
       transition: all .25s ease-in-out;
       background-color: white;
     }

img:hover {
  transition: all;
  cursor: pointer;
  transition: transform all .25s ease-in-out;
  transform: scale(1.05);
  filter: brightness(1.05);
  filter: saturate(1.06);
}

     p {
       margin: 5px 0;
       padding: 0;
       text-align: center;
       font-style: italic;
     }
   }
 }

 bild:hover {
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  filter: brightness(1.05);
}
 
body {
  background-image: url('/Bilder/kamera/DSC04493.JPG');
  background-size: cover;
  background-position: center;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
}

/* Header */
header {
  text-align: center;
  padding: 50px 0;
  background-color: rgba(255, 255, 255, 0.7); /* Halbtransparenter Hintergrund */
}

header h1, header h2 {
  margin: 0;
  color: #333;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  background-color: white;
}

.nav-links a {
  color: #333;
  font-weight: bold;
  padding: 10px 10px;
  border-radius: 25px;
  text-decoration: none;
  background-color: white;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: #007bff;
  color: white;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px 20px;
}

.feature {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  text-decoration: none;
  text-decoration-line: none;
  color:black
}

.feature:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.feature h2 {
  font-size: 1.5rem;
  color: #007bff;
}

.feature p {
  color: #555;
}

/* Video Container */
.container {
  text-align: center;
  margin: 40px auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.container video {
  width: 100%;
  max-width: 900px;
  border-radius: 8px;
}
 
 
 
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
  padding-top: 60px;
}

.modal-content {
  margin: auto;
  display: block;
  width: 50%; 
  max-width: 700px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Performance-Optimierungen */
.grid-item {
    will-change: transform;
    content-visibility: auto;
    contain-intrinsic-size: 0 200px;
}

img[loading="lazy"] {
    background: #f0f0f0;
    min-height: 100px;
}
