/* General Styles */

body {

    font-family: Arial, sans-serif;

    background-color: #f4fdf4; /* Light green background */

    color: #333;

    margin: 0;

    padding: 0;

}


/* Header and Navigation */

header {

    background-color: #2d572c; /* Dark green */

    color: white;

    padding: 10px 20px;

    position: sticky;

    top: 0;

    z-index: 1000;

}


.header-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


nav {

    display: flex;

    justify-content: space-between;

    width: 100%;

    align-items: center;

}


.nav-left, .nav-center, .nav-right {

    display: flex;

    align-items: center;

}


.nav-center {

    justify-content: center;

    flex-grow: 1;

}


.nav-link {

    color: white;

    text-decoration: none;

    margin: 0 10px;

    transition: color 0.3s;

}


.nav-link:hover {

    color: #c8e6c9;

}


.btn-login {

    background-color: #4caf50;

    color: white;

    padding: 8px 16px;

    border: none;

    border-radius: 4px;

    text-decoration: none;

    transition: background-color 0.3s;

}


.btn-login:hover {

    background-color: #388e3c;

}


/* Checkout Section */

.checkout-container {

    max-width: 1200px;

    margin: 20px auto;

    padding: 20px;

    background-color: #fff;

    border-radius: 8px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}


.checkout-container h2 {

    text-align: center;

    color: #2d572c;

    margin-bottom: 20px;

}


/* Cart Summary */

.cart-summary {

    margin-bottom: 20px;

}


.cart-summary h3 {

    color: #2d572c;

    margin-bottom: 10px;

}


.cart-table {

    width: 100%;

    border-collapse: collapse;

    margin-bottom: 20px;

}


.cart-table th, .cart-table td {

    padding: 10px;

    text-align: left;

    border-bottom: 1px solid #e0e0e0;

}


.cart-table th {

    background-color: #4caf50;

    color: white;

}


.text-right {

    text-align: right;

}


/* Checkout Form */

.checkout-form {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

}


.form-section {

    grid-column: span 2;

}


.form-section h3 {

    margin-bottom: 10px;

    color: #2d572c;

}


label {

    display: block;

    margin-bottom: 5px;

    font-weight: bold;

}


input[type="text"], input[type="tel"], input[type="month"] {

    width: 100%;

    padding: 10px;

    border: 1px solid #ccc;

    border-radius: 4px;

    margin-bottom: 15px;

    box-sizing: border-box;

}


.btn-primary {

    background-color: #4caf50;

    color: white;

    padding: 12px;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    transition: background-color 0.3s;

    width: 100%;

    text-align: center;

}


.btn-primary:hover {

    background-color: #388e3c;

}


/* Footer Section */

footer {

    background-color: #2d572c;

    color: white;

    text-align: center;

    padding: 10px;

}


footer p {

    margin: 0;

}

Comments

Popular posts from this blog

fruit.jsp