* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    padding: 20px;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin-top: 20px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header {
    background-color: #007BFF; /* Blue background for the box */
    color: white; /* White text */
    padding: 20px; /* Padding inside the box */
    border-radius: 10px; /* Optional rounded corners */
    text-align: center; /* Center align the content */
    margin-bottom: 20px;
}

.header h1 {
    color: #ffffff;
    font-size: 36px;
    font-weight: bold;
}

.header h5 {
    font-size: 18px;
    color: #ffffff;
}

header marquee {
    font-size: 20px;
    color: white;
    font-weight: bold;
    margin-top: 10px; /* Add some space between the title and marquee */
}

.products-section, .cart-section {
    margin-bottom: 30px;
}

.products-section h2, .cart-section h2 {
    font-size: 28px;
    color: #34495e;
    margin-bottom: 15px;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product {
    background-color: #ecf0f1;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product:hover {
    transform: scale(1.05);
}

.product h5 {
    font-size: 18px;
    color: #2c3e50;
}

.product h6 {
    font-size: 14px;
    color: #7f8c8d;
}

.product p {
    font-size: 16px;
    color: #e74c3c;
    font-weight: bold;
}

.product input {
    width: 60px;
    padding: 5px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.product button {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product button:hover {
    background-color: #e90808;
}

.cart-section {
    border-top: 2px solid #ddd;
    padding-top: 20px;
}

.cart-items {
    list-style-type: none;
    padding: 0;
}

.cart-items li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.cart-items button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-items button:hover {
    background-color: #c0392b;
}

.cart-section p {
    font-size: 18px;
    font-weight: bold;
    color: #34495e;
}

.cart-section label {
    font-size: 16px;
    color: #34495e;
}

#delivery-time {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.place-order {
    background-color: #2980b9;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    margin-top: 10px;
}

.place-order:hover {
    background-color: #3498db;
}

/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 15px;
    }

    .header h1 {
        font-size: 28px;
    }

    .products {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .product {
        padding: 10px;
    }

    .product h5 {
        font-size: 16px;
    }

    .product p {
        font-size: 14px;
    }

    .product input {
        width: 50px;
        padding: 5px;
    }

    .product button {
        padding: 6px 12px;
        font-size: 14px;
    }

    .cart-items li {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-items button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .cart-section label {
        font-size: 14px;
    }

    #delivery-time {
        padding: 10px;
        font-size: 16px;
    }

    .place-order {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 24px;
    }

    .products {
        grid-template-columns: 1fr;
    }

    .product h5 {
        font-size: 14px;
    }

    .product p {
        font-size: 12px;
    }

    .product button {
        padding: 5px 10px;
        font-size: 12px;
    }

    .cart-items li {
        padding: 5px 0;
    }

    .cart-items button {
        padding: 5px 10px;
        font-size: 12px;
    }

    .place-order {
        font-size: 14px;
    }
}