.cart {
    flex-wrap: nowrap;
    align-items: flex-start;
}

.shopping-cart {
    width: 10%;
    position: relative;
}

.cart-items {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}
/* styles for cart image to check later */
.cart-img {
    border-radius: 0;
    box-shadow: none;
}

.cart-summary {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1em;
    border: 2px solid;
    padding: 2%;
}

.cart-summary h2 {
    text-transform: capitalize;
}

.cart-btn, .cart-summary a {
    background-color: #4a3a35;
    width: 100%;
    text-align: center;
    padding: 2% 4%;
    color: bisque;
    text-transform: capitalize;
    border-radius: 10px;
    transition: 1s;
}

.cart-summary a:hover {
    color: #4a3a35;
    background-color: #e4ccc5;
}

header #shopping-cart {
    font-size: 3rem;
    color: #190f0e;
    border-radius: 50%;
}

.item-count {
    font-size: 1.5rem;
    background-color: #b0aba4;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 0;
    left: 32%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#shopping-cart-add {
    color: #190f0e;
    position: absolute;
    bottom: 4%;
    right: 5%;
    font-size: 3rem;
    background-color: #ffe1b2;
    border-radius: 50%;
    padding: 3%;
    border: solid 1px;
}

.shopping-cart-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-color: #ebd9c2;
    padding: 1%;
    border-radius: 10px;
    width: 100%;
}

.shopping-cart-item {
    width: 10%;
}

.item-name, .item-price {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-family: 'Orbitron';
    align-self: center;
}

.item-price {
    font-family: serif;
}

.remove-item {
    display: flex;
    align-items: center;
    gap: 1em;
}

.remove-item-text {
    font-size: clamp(1rem, 3vw, 1.5rem);
}

/* media queries */
@media screen and (max-width: 768px) {
    .cart {
        flex-direction: column;
    }
    .cart-items {
        width: 100%;
    }
    .cart-summary {
        width: 100%;
    }
}

@media screen and (max-width: 376px) {
    .shopping-cart-item {
        width: 20%;
    }
    .item-name {
        padding-left: 4%;
    }
    .remove-item {
        align-items: flex-start;
    }
}

