@import url('https://fonts.googleapis.com/css2?family=Cinzel&display=swap');

body {
  margin: 0;
  font-family: 'Cinzel', serif;
  background: url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0') no-repeat center center fixed;
  background-size: cover;
  color: #e0e0e0;
}

header {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 1em;
  text-align: center;
  border-bottom: 2px solid #444;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2em;
  padding: 0;
  margin: 0;
}

nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: bold;
  padding: 1em;
  display: block;
}

nav a:hover {
  background-color: #333;
}

main {
  padding: 2em;
}

section {
  background-color: rgba(0, 0, 0, 0.6);
  margin: 2em auto;
  padding: 2em;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 0 20px #222;
}

footer {
  text-align: center;
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.85);
  border-top: 2px solid #444;
}
@media screen and (max-width: 768px) {
  table, th, td {
    font-size: 0.8em;
    padding: 0.5em;s
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  form, .add-link {
    width: 90%;
    margin: auto;
  }

  nav ul {
    flex-direction: column;
    gap: 1em;
  }
 {
  margin: 0;
  font-family: 'Cinzel', serif;
  background: url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0') no-repeat center center fixed;
  background-size: cover;
  color: #e0e0e0;
}

header {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 1em;
  text-align: center;
  color: #c0c0ff;
  font-size: 2em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 2em;
  max-width: 1200px;
  margin: auto;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #a0a0ff;
	/* Lightbox-Hintergrund */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 20, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Großes Bild */
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 2px solid #a0a0ff;
  border-radius: 10px;
  box-shadow: 0 0 30px #a0a0ff;
}

/* Schließen mit Klick */
.lightbox:target {
  display: flex;
}

}



