﻿/* site.css */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #333;
    color: white;
}

    .navbar .logo {
        font-size: 1.5rem;
        font-weight: bold;
    }

    .navbar .nav-links {
        display: flex;
        gap: 1rem;
    }

        .navbar .nav-links a {
            color: white;
            text-decoration: none;
        }

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.orders {
    padding: 2rem;
    background-color: #f9f9f9;
}

.order-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.order-item {
    background-color: white;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.quantity-input {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.order-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

    .order-btn:hover {
        background-color: #0056b3;
    }

footer {
    padding: 2rem;
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-between;
}

    footer div {
        flex: 1;
        margin-right: 1rem;
    }

    footer h3 {
        margin-bottom: 1rem;
    }

    footer ul {
        list-style: none;
        padding: 0;
    }

        footer ul li {
            margin-bottom: 0.5rem;
        }

            footer ul li a {
                color: white;
                text-decoration: none;
            }

.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.grocery-list li {
    margin: 5px 0;
}
.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
}
.error-message {
    color: red;
    font-weight: bold;
}
