body {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
}

h1 {
    font-size: 2em;
    margin-top: 20px;
}

.tab-container {
    margin-top: 20px;
}

.tab-button {
    background-color: #444;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-size: 1em;
}

.tab-button:hover {
    background-color: #666;
}

/* Rezepte-Container */
.kategorie {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Zentriert die Rezepte */
    gap: 20px;
    padding: 20px;
}

/* Rezeptkarte */
.rezept {
    background-color: #222;
    border-radius: 10px;
    padding: 15px;
    width: 280px; /* Einheitliche Breite */
    min-height: 500px; /* Mindestens gleiche Höhe */
    text-align: left;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Sorgt dafür, dass Inhalt gut verteilt ist */
}

/* Bild-Anpassung */
.rezept img {
    width: 100%;
    height: 180px; /* Einheitliche Höhe für alle Bilder */
    object-fit: cover; /* Schneidet das Bild passend zu */
    border-radius: 10px;
}

/* Titelgröße */
.rezept h2 {
    font-size: 1.3em;
    margin-top: 10px;
}

/* Zutaten-Text */
.rezept p, .rezept ul {
    font-size: 0.9em;
}

/* Links */
.rezept a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
}

.rezept a:hover {
    text-decoration: underline;
}

/* Responsive Anpassung */
@media (max-width: 600px) {
    .kategorie {
        flex-direction: column; /* Rezepte untereinander bei sehr kleinen Bildschirmen */
        align-items: center;
    }

    .rezept {
        width: 90%; /* Breite anpassen für kleinere Bildschirme */
    }
}

.rezept {
    display: flex;
    flex-direction: column;
    min-height: 600px; /* Einheitliche Höhe für alle Boxen */
}

.rezept-footer {
    margin-top: auto; /* Drückt den Button nach unten */
    padding-top: 10px; /* Optional: Abstand nach oben */
}
