/* General Reset */
* {
    margin: 0;
    padding: 0;
    font-family: monospace;
    box-sizing: border-box;
}

/* Body Styles */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(to bottom, #5356FF, #378CE7, #67C6E3, #DFF5FF);
    font-size: 16px;
}

/* Header Styles */
header {
    display: flex;
    width: 100%;
    background-color: #f1f1f1;
}

.logo-box {
    width: 20%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo-box img {
    width: 100px;
    height: 100px;
}

.nav-box {
    width: 80%;
    display: flex;
    justify-content: flex-end;
}

.nav-box ul {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-box ul li a {
    padding: 10px;
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}

.nav-box ul li a:hover {
    color: darkblue;
    cursor: pointer;
}

/* Main Container */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
}

.heading-box {
    width: 100%;
    background-color: darkblue;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

h1 {
    font-size: 3rem;
    font-weight: bold;
    padding: 20px;
}

h2 {
    font-weight: bold;
    padding: 20px;
}

.sub-heading-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.item-container {
    width: 90%;
    background-color: lightblue;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
}

.item {
    width: 300px;
    height: 350px;
    margin: 20px;
    padding: 10px;
    border: 3px solid black;
    background-color: lightgray;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

.item img {
    width: 30%; /* Adjusted width */
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.item p {
    font-size: 0.75em;
}

button {
    margin: 5px;
    width: 100%;
    height: 50px;
    background-color: lightblue;
    border: 3px solid black;
    color: black;
    font-size: 1em;
    cursor: pointer;
    transition: transform 200ms ease-in-out, background-color 200ms ease-in-out;
}

button:hover {
    transform: scale(1.05);
    background-color: darkblue;
    color: white;
}

.item-5 {
    border: 3px solid darkblue;
}

.item-5 h5 {
    color: darkblue;
}

.item-5 p {
    padding: 0;
    margin: 0;
}

/* Footer Styles */
footer {
    width: 100%;
    background-color: #f1f1f1;
    text-align: center;
    padding: 10px;
    margin-top: auto;
}

.footer-box {
    display: inline-block;
}

/* Cart Page Styles */
.cart-page {
    width: 100%;
}

.cart-container {
    width: 60%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
}

th {
    background-color: #007bff;
    color: white;
    text-align: left;
}

.cart-info {
    display: flex;
    align-items: center;
}

.cart-info img {
    width: 100px; /* Adjusted width */
    height: auto; /* Adjusted height */
    object-fit: cover;
    margin-right: 10px;
}

.quantity-column input {
    width: 60px;
}
