/* Grundlayout */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header & Logo */
header {
    background-color: #1f2933;
    color: white;
    padding: 20px;
    position: sticky !important;
    top: 0;
}

header h1 {
    margin: 0 0 15px 0;
}

.navlogo {
    display: block;
    height: 45px;
    margin: 0 auto 15px auto;
}

/* Navigation */

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;

    flex-direction: column;
    align-items: center;
    gap: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;

   /* display: none; /* Für Mobiles /nicht!!/ wird ausgeblendet, aber fehler weil ich es falsch verstanden habe */
}

/* Desktop-Version (ab 768px) */
@media (min-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    nav ul {
        display: flex; /* Nur am Desktop wieder einblenden */
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
    }
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Hover-Effekt */
nav a:hover {
    transform: scale(1.15);
    background-color: #374151;
    border-radius: 5px;
}

/* Aktiver Menüpunkt */
nav a.active {
    color: #00ff15; 
    border-bottom: 2px solid #00ff15;
}

/* Desktop-Version (ab 768px) alt 
@media (min-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navlogo {
        margin: 0;
    }

    nav ul {
        flex-direction: row; 
        justify-content: space-between; 
        gap: 20px;
    }
}*/


main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;

}

/* Flexbox-Container für Artikel und Sidebar */
@media (min-width: 768px) {
    .content-wrapper {
        display: flex;
        gap: 30px;
    }
    article { flex: 2; }
    aside { flex: 1; }
}

article, aside, section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}



.desktop-table {
    display: none;
}

/* Flexbox-Karten für Mobile */
.food-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.food-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    text-align: center;
}

.food-card img {
    max-width: 100px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Desktop-Ansicht */
@media (min-width: 768px) {
    
    .food-container {
        display: none;
    }

    .desktop-table {
        display: flex;
        flex-direction: column;
        border: 1px solid #ccc;
    }

    .table-header, .table-row {
        display: flex;
        width: 100%;
    }

    .table-header {
        background-color: #374151;
        color: white;
        font-weight: bold;
    }

    .table-cell {
        flex: 1; /* Gleichmäßige Spaltenbreite */
        padding: 12px;
        border: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Footer */
footer {
    background-color: #1f2933;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
/* Custom Font */
@font-face {
    font-family: 'Adtranz Led';
    src: url('../fonts/adtranz-led.woff2') format('woff2');
}

h1, h2 {
    font-family: 'Adtranz Led', Arial, sans-serif;
}

#hobbys {
    box-shadow:
        0px -10px 10px red,   
        0px  10px 10px blue;
    background-color: lightgreen !important;
}