/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2&family=Open+Sans&family=Libre+Franklin&display=swap');

/* Base styles */
html body {
    margin: 0;
    padding: 0;
    font-family: 'Libre Franklin', 'Open Sans', sans-serif;
    background-color: #F5F1E3;
    color: #000000;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Libre Franklin', cursive;
  color: #000000;
}

/* Header */
header {
    background-color: #D2ECAA;
    padding: 5px;
    text-align: center;
    color: #000000;
}

header .logo h1 {
    margin: 0;
    font-size: 2.5em;
}

header .logo p {
    margin: 5px 0 0;
    font-size: 1.2em;
}

/* Navigation */
nav {
    margin-top: 15px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 20px;
}
a, 
a.current,
a.clicked, 
a.hover, {
  color: #000000;
}
nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background-color: #FFFFBF;
    padding: 10px 5px;
    text-align: center;
}
.hero img {
  max-width: 600px;
  height: auto;
}
/* Responsive Anpassung */
  .hero img {
    max-width: 80%;
  }

.image-embed-item {
  max-width: 200px;
  height: auto;
  padding: 10px;
}

/* Main Content */
main {
}

/* Footer */
footer {
    background-color: #D2ECAA;
    color: #A5A5A5;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer section {
    flex: 1 1 45%;
    margin: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    footer section {
        flex: 1 1 100%;
    }

    header .logo h1 {
        font-size: 2em;
    }

    header .logo p {
        font-size: 1em;
    }
}

/* Galerie */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gallery img {
  width: 100%;
  max-width: 150px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: 4px;
}

.gallery img:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  margin-top: 5vh;
  border-radius: 4px;
  transition: opacity 0.3s ease;
  opacity: 1;
}

.lightbox img.fade-out {
  opacity: 0;
}

.caption {
  color: white;
  font-size: 1em;
  margin-top: 10px;
  text-align: center;
}

.prev, .next {
  position: absolute;
  top: 50%;
  font-size: 2em;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  padding: 10px;
}

.prev { left: 10px; }
.next { right: 10px; }

@media (max-width: 600px) {
  .gallery img {
    max-width: 100px;
  }

  .prev, .next {
    font-size: 1.5em;
  }
}
