body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}


.meal-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.meal-item {
    text-align: center;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    width: 250px;
    height: 250px; /* Set the height as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; /* Hide overflowing content */
}

.meal-item p {
    margin-bottom: 10px;
    font-weight: bold;
    color: #43B3E0;
}

.meal-item img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
}
/* Padding for content */
.page-content {
    padding-top: 80px; /* Adjust the value as needed */

}
/* Page Header */
.page-header {
    text-align: center;
    margin-top: 10px;
}

#delete-form .delete-button {
    background-color: #ff0000; /* Red background color */
    color: #ffffff; /* White text color */
    font-size: 12px; 
    padding: 5px 10px; 
    margin: 0; /* Reset margin to 0 */
    text-align: right; /* Right-align the button */
}

.page-header h1 {
    font-size: 40px;
    color: #43B3E0;
    font-weight: bold;
}

img {
    max-width: 70%; /* Das Bild wird maximal 100% der Breite des Elternelements haben */
    max-height: 50vh; /* Das Bild wird maximal 70% der Bildschirmhöhe haben */
    display: block; /* Das Bild wird als Blockelement behandelt, um die Margin-Auto-Methode zu verwenden */
    margin: auto; /* Zentrieren Sie das Bild mit Margin-Auto */
}

/* Meal Form */
.meal-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.meal-form .submit2 {
    margin-left: 10px;  /* Adjust the value as needed */
}

.newmeal-form {
    text-align: center;
  }
  
.control-group {
    margin-bottom: 20px;
} 

/* Ingredients Table */
table {
    margin: 20px auto;
    border-collapse: collapse;
    width: 80%;
}

table th, table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Ratings Section */
h2 {
    text-align: center;
    margin-top: 40px;
    font-size: 24px;
    color: #43B3E0;
}

.ratings {
    margin: 20px auto;
    width: 80%;
    text-align: center;
}


