
/* Cookie-Hinweis Styling */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    text-align: center;
    display: none; /* Standardmäßig ausgeblendet */
    z-index: 1000;
}

#cookie-banner p {
    margin: 0;
    font-size: 14px;
}

#cookie-banner button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 15px;
    cursor: pointer;
    font-size: 14px;
}

#cookie-banner button:hover {
    background-color: #45a049;
}


header {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
}

.container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

html, body {
    height: 100%; /* Stelle sicher, dass der Body die volle Höhe hat */
}

body {
    display: flex;
    flex-direction: column; /* Ordne die Elemente in einer Spalte an */
}

body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('img/Steinlaternen_back1.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
}

header {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
}

.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px; /* Optional: abgerundete Ecken */
    width: 70%; /* Füge eine Breite hinzu, z.B. 80% */
    margin: 0 auto; /* Zentriert die Spalte */
    max-width: 800px; /* Maximalbreite der Spalte */
    min-width: 450px; /* Minimalbreite der Spalte */
    border: 1px solid #583822;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-item a {
    text-decoration: none;
    width: 75px;
    color: #333;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s ease;
    border: 1px solid #583822;
    border-radius: 5px;
}

.nav-item a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 160px;
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-item.dropdown:hover .dropdown-content {
    display: block;
}


.container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.column {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    margin: 5px;
    border-radius: 10px; /* Optional: abgerundete Ecken */
    width: 70%; /* Füge eine Breite hinzu, z.B. 80% */
    margin: 0 auto; /* Zentriert die Spalte */
    max-width: 800px; /* Maximalbreite der Spalte */
    min-width: 300px; /* Minimalbreite der Spalte */
    border: 3px solid #583822;
}

.gallery {
    padding: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8); /* Weißer Hintergrund mit Transparenz */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schatten ähnlich wie bei den Spalten */
    border-radius: 10px; /* Optional: abgerundete Ecken */
    width: 60%; /* Füge eine Breite hinzu, z.B. 80% */
    margin: 40px auto; /* Zentriert die Galerie */
    max-width: 800px; /* Maximalbreite der Galerie */
    min-width: 300px; /* Minimalbreite der Galerie */
    border: 3px solid #583822;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    margin: 15px;
    text-align: center;
}

.gallery-item img {
    width: 150px; /* Feste Breite für Vorschaubilder */
    height: auto; /* Höhe wird automatisch angepasst, um das Seitenverhältnis beizubehalten */
    border-radius: 5px; /* Optional: Abgerundete Ecken für die Bilder */
    border: 3px solid #583822;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.2);
}

.gallery-item p {
    margin-top: 5px;
    font-size: 14px; /* Anpassung der Schriftgröße */
    color: #333; /* Textfarbe */
}

#lightbox {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 80%;
    max-height: 80%;
}

#lightbox-img {
    max-width: 100%;
    max-height: 100%;
    margin-bottom: 10px;
    border: 3px solid #FFFFFF;
    border-radius: 10px;
}

#lightbox-description {
    color: white;
    text-align: center;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.impressum {
    padding: 60px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8); /* Weißer Hintergrund mit Transparenz */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schatten ähnlich wie bei den Spalten */
    border-radius: 10px; /* Optional: abgerundete Ecken */
    margin: 40px auto;
    max-width: 600px; /* Maximalbreite des Impressums */
    min-width: 300px; /* Minimalbreite des Impressums */
    border: 3px solid #583822;
}


footer {
    text-align: center;
    padding: 5px;
    background-color: rgba(128, 128, 0, 0.8);
    position: sticky;
    bottom: 0;
    margin-top: auto; /* Pushes the footer to the bottom */
    width: 100%;
}