/* Globale Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f2f2f2;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert den Inhalt horizontal */
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: inline-block; /* Macht das Bild zu einem Inline-Block-Element */
    width: 341px; /* Anpassen der Breite des Bildes nach Bedarf */
    height: auto; /* Automatische Anpassung der Höhe */
    margin: 0 auto 0px; /* Zentriert das Bild horizontal und fügt unten 20px Abstand hinzu */
}

h1 {
       text-align: center;
    margin-top:  0px;
}


.logo-table{
    margin: 0 auto; /* Zentriert die Tabelle horizontal */
    }
/* Header */

.header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* Stile für das Suchfeld */
form{
    display: flex;
    flex-direction: row; /* Anordnung der Elemente horizontal */
    align-items: center; /* Zentrierung der Elemente vertikal */
    justify-content: center; /* Zentrierung der Elemente horizontal */
}

#search-container {
    display: block;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

#search-input {
    display: block;
    width: 90%;
    padding: 12px;
    font-size: 16px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    text-align: center;
}

/* Stile für den Suchbutton */
#search-button {
    display: block;
    width: 45px;
    padding: 12px;
    font-size: 16px;
    background-color: #f2f2f2;
    color: black;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#search-button:hover {
    background-color: black;
    color: #f2f2f2;
}

/* Ergebnisliste */

.results {
    list-style-type: none;
    padding: 0;
}

.results li {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 10px;
}

/* Tabelle mit Rezepten */

.recipe-table {
    width: 100%;
    border-collapse: collapse;
}

.recipe-table th, .recipe-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.recipe-table th {
    background-color: #f2f2f2;
}

.wrapper {
    display: inline-table;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    
    background-color: #bbb;
    border-radius: 50%;
  }

.badge {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
  
a {
    padding: 12px;
    font-size: 16px;
    background-color: #fff;
    color: #333;
    outline: none;
}

a:hover{
    padding: 12px;
    font-size: 16px;
    background-color: #333;
    color: #fff;
    outline: none;
}

p {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

/* Responsives Design */

@media only screen and (max-width: 600px) {
    .search-container input[type=text] {
        width: 100%;
    }
}
