body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom right, #ffe0e0, #d0cfff);
    color: #333;
    transition: all 0.9s ease;
}

.header {
    padding: 2rem;
    text-align: center;
    background-color: #dfe7ed; /* such a gentle colour ;-) */
}

.header h1 {
    font-size: 2.5rem;
    margin: 0;
    font-family: cursive;
}

.intro {
    padding: 1rem 2rem;
    text-align: center;
}

.meals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.meal-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 350px; /* fixed height */
    overflow-y: auto;
}

.meal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.meal-card img {
    width: 100%;
    height: 180px; /* fixed height */
    display: block;
    object-fit: cover;
}

.meal-card .meal-info {
    padding: 0.2rem 1.2rem;
    margin: 0 0 0.3rem 0;
    font-size: 0.75rem;
    /* flex-grow: 1; */
    color: #555;
    overflow-y: auto;
}

/* Responsiveness for mobile */
@media (max-width: 480px) {
    .meal-card {
        height: auto;
    }
    .meal-card img {
        height: 150px;
    }
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4caf50; /* nice green ;-) */
    color: azure;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-align: center;
    margin: 0 auto;
}

.button:hover {
    background-color: #45a049;
}

.center {
    text-align: center;
    margin-top: 20px;
}


