* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: white;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

/* Titel */
.title {
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    font-size: 40px;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-top: 20px;
}

/* Hauptcontainer für Kategorien und Inhalt */
.menu-container {
    display: flex;
    width: 90%;
    max-width: 1400px;
    margin: 20px auto;
}

/* Kategorie-Seitenleiste */
.category-sidebar {
    width: 25%;
    max-height: 600px;
    overflow-y: auto;
    padding: 20px;
    background-color: rgba(34, 34, 34, 0.9);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.category-sidebar h2 {
    font-family: 'Georgia', serif;
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.category-link {
    display: block;
    color: white;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.category-link:hover {
    background-color: rgba(85, 85, 85, 0.8);
}

/* Inhaltsbereich für Speisen */
.menu-content {
    width: 75%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Transparenter Hintergrund */
    color: white; /* Weiße Schrift */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-left: 20px;
}

.menu-content h2, .menu-content h3 {
    font-family: 'Georgia', serif;
    color: white;
    margin-top: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
}

.menu-content h3 {
    font-size: 22px;
    margin-top: 30px; /* Abstand zwischen Kategorien */
}

/* Speisenliste */
.menu-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    gap: 8px; /* Abstand zwischen den Elementen */
}

.menu-item h4 {
    color: white;
    font-size: 20px;
    margin: 0;
}

.menu-item p {
    color: #dcdcdc;
    margin: 0;
    font-size: 16px;
}

.zusatzstoffe {
    font-size: 14px;
    color: #b0b0b0;
}

/* Preis rechtsbündig */
.menu-price {
    font-weight: bold;
    color: #f2f2f2;
    font-size: 18px;
    align-self: flex-end; /* Positioniert den Preis rechts */
}

/* Footer */
.footer-legal {
    background-color: rgba(128, 128, 128, 0.5);
    padding: 10px;
    text-align: center;
    width: 100%;
    color: white;
    font-size: 16px;
    margin-top: auto;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .menu-container {
        flex-direction: column;
        width: 100%; /* Volle Breite auf mobilen Geräten */
    }
    
    .category-sidebar {
        width: 100%;
        margin-bottom: 20px;
        padding: 15px;
        text-align: center; /* Zentrierte Kategorien auf mobilen Geräten */
    }
    
    .menu-content {
        width: 100%;
        padding: 15px;
        margin-left: 0;
    }
    
    /* Anpassung der Schriftgrößen und Abstände für mobile Ansicht */
    .title {
        font-size: 32px;
    }
    
    .menu-content h2, .menu-content h3 {
        font-size: 20px;
    }
    
    .menu-item h4 {
        font-size: 18px;
    }
    
    .menu-item p, .zusatzstoffe {
        font-size: 15px;
    }
    
    .menu-price {
        font-size: 16px;
        align-self: flex-start; /* Preis unter den Namen rücken */
    }
}
