.cartH1 {
    text-align: center;
    margin: 100px 0 20px 0;
    font-size: 2.5rem;
    color: #5c3c10;
    margin-top: 100px;
    font-family: 'Fredericka the Great';
}

#cart-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-item {
    width: 280px;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e6e6e6;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.cart-item:hover {
    background-color: #dddddd;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.cart-item-link {
    font-size: 1.5rem;
    color: #0073e6;
    text-decoration: none;
    margin-bottom: 15px;
    text-align: center;
}

.cart-item-link:hover {
    text-decoration: underline;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.quantity-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.remove-button {
    padding: 7px 15px;
    background-color: #d9534f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.remove-button:hover {
    background-color: #c9302c;
}

.cart-summary {
    text-align: center;
    margin: 30px 0;
    font-size: 1.5rem;
    color: #333;
}

.checkout-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.2rem;
}

.checkout-button:hover {
    background-color: #252525;
}

#formDeliv {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.orderbtn {
    background-color: black;
    color: white;
    border: none;
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 0.9rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.orderbtn:hover {
    background-color: #2f4527;
}

.orderbtn:disabled {
    background-color: gray;
}

#total {
    font-family: "Crafty Girls";
}

#index {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    font-family: "Crafty Girls";
}

#notes {
    background-color: #eae2dd;
    width: 250px;
    height: 100px;
    border-radius: 5px;
    border: none;
}

.address {
    background-color: #eae2dd;
    width: max-content;
    height: 25px;
    border-radius: 4px;
    border: none;
}

@media (max-width: 600px) {
    .h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 500px) {
    .h1 {
        font-size: 1.2rem;
    }
}
