/* General Styling */
body {
    background-image: url('bgpizza.jfif'); /* Path to your background image */
    background-size: cover; /* Ensures the image covers the entire page */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Keeps the background fixed while scrolling */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Header Styles */
header {
    background-color: #e74c3c;
    padding: 10px 0;
    text-align: center;
    color: white;
}

header h1 {
	text-align: center;
    margin: 0;
    font-size: 2.5em;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
}

nav ul li a:hover {
    color: #f1c40f;
}

/* Main Heading */
h1 {
    font-size: 2.5em;
    margin-top: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	text-align: center;
}


/* Container Styling */
.container {
    width: 80%;
    margin: 30px auto;
    background-color: rgba(255, 255, 255, 0.9); /* Slight transparency */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

/* Form Label and Input Styling */
label {
    display: block;
    margin-top: 15px;
    font-size: 16px;
    color: #d32f2f;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
    box-sizing: border-box;
}

/* Checkbox and Quantity Styling */
.pizza-selection {
    margin-top: 20px;
}

.pizza-selection label {
    font-size: 18px;
    color: #d32f2f;
}

.pizza-selection input[type="checkbox"] {
    margin-right: 10px;
}

.pizzaQuantity {
    width: 60px;
    margin-left: 10px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Total Price Styling */
.total {
    margin-top: 20px;
    font-size: 20px;
    color: #d32f2f;
    font-weight: bold;
}

/* Submit and Back Button Styling */
button[type="submit"],
button {
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #d32f2f;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover,
button:hover {
    background-color: #b71c1c;
}

/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
    font-size: 16px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 50px;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex-basis: 22%;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffcc00;
}

.footer-section p, .footer-section a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-section a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

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

.footer-section ul li {
    margin: 8px 0;
}

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

.footer-section ul li a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons a {
    margin: 0 10px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    background-color: #222;
    padding: 20px 0;
    color: #aaa;
    font-size: 14px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom a {
    color: #ffcc00;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}