/* Basis-Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 50px; /* Platz für die mobile Navigation */
}

/* Inhaltsbereich für die Galerie */
#content-area {
    padding: 20px;
    text-align: center;
}

/* Tab-Navigation */
.tab-navigation {
    display: flex;
    justify-content: space-around;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: #333;
    color: #fff;
}

.tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: white;
    flex: 1;
    text-align: center;
}

.tab .text {
    display: none;
}

.tab.active {
    background-color: #444;
}

.tab:hover {
    background-color: #555;
}

/* Responsive Desktop-Ansicht */
@media(min-width: 768px) {

	#content-area {
		padding-top:70px;
		text-align: center;
	}
	
	.tab-navigation {
        top: 0;
        bottom: unset;
        height: 60px;
        padding: 0 20px;
    }

    .tab {
        flex-direction: row;
        justify-content: center;
        padding: 10px 15px;
    }

    .tab .icon {
        display: none;
    }

    .tab .text {
        display: inline;
    }
}

/* Filter-Seitenmenü */
.filter-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: #333;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transform: translateX(-100%); /* Initial ausgeblendet */
    transition: transform 0.3s ease; /* Weiches Ein-/Ausblenden */
}

.filter-options {
    margin-top: 20px;
}

.toggle-button {
    background-color: #555;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 100%;
}

.toggle-button:hover {
    background-color: #666;
}

/* Filteroptionen und Button */
.filter-options h3 {
    margin-bottom: 10px;
}

.filter-options label {
    display: block;
    margin-bottom: 5px;
}

.filter-options button {
    margin-top: 15px;
    padding: 10px;
    background-color: #444;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
}

.filter-options button:hover {
    background-color: #555;
}

/* Galerie-Stil */
.gallery {
    margin-left: 220px; /* Platz für das Seitenmenü */
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery img {
    width: 200px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05); /* Leichtes Vergrößern beim Hover */
}

/* Anpassung für mobile Geräte */
@media (max-width: 768px) {
    .gallery {
        margin-left: 0;
        padding: 10px;
    }
    
    .filter-menu {
        width: 100%; /* Volle Breite auf kleinen Bildschirmen */
    }

    #content-area {
        padding-top: 60px; /* Platz für die Navigation */
    }
}