﻿body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    background-image: url(img/pizzaBackground.jpg);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2 {
    text-align: center;
    font-style: italic;
    font-family: serif;
    border-radius: 5px;
    border: 1px solid;
    background-color: beige;
    color: darkorange;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0.1, 0, 0, 0.1);
}

header {
    position: fixed;
    top: 0;
    font-family: fantasy;
    font-size: 2rem;
    text-align: center;
    background-color: burlywood;
    color: honeydew;
    margin-bottom: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    z-index: 2;
}

#customer, #order {
    background-color: #fff;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    border: 1px solid;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0.1, 0, 0, 0.1);
    width: 66%;
    opacity: 0.93;
}

#customer {
    margin-top: 4.4rem;
}

#order {
    margin-bottom: 1rem;
}

#imgCrust {
    float: right;
    max-width: 45%;
    border-radius: 5px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

input, select {
    width: 50%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1rem;
}
/*Current order table*/
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

    /* Style table headers */
    table th {
        background-color: burlywood;
        color: black;
        padding: 0.5rem;
        text-align: center;
    }

    /* Style table rows */
    table tr {
        background-color: antiquewhite;
    }

    /* Style table cells */
    table td {
        padding: 1rem;
        border-bottom: 1px solid #ccc;
    }

#btnAddPizza, #btnSubmitOrder, #btnViewVipAccount {
    font-weight: bold;
    background-color: burlywood;
    cursor: pointer;
}

#btnViewVipAccount {
    width: 25%;
}

#btnAddPizza {
    width: 50%;
}

#btnSubmitOrder {
    width: 100%;
}

#btnSubmitOrder {
    margin-top: 3rem;
    margin-bottom: 0;
}

#btnSubmitOrder:hover, #btnAddPizza:hover, #btnViewVipAccount:hover {
    color: honeydew;
}

#lblErrorMessage {
    padding: 1rem;
    background-color: white;
    color: darkred;
    font-weight: bold;
    z-index: 1;
}

footer {
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: burlywood;
}

