
/* changing default style of the color. */

*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: sans-serif;
}
i{
    cursor: pointer;
    color: #081c15;
}
a{
    text-decoration: none;
    color: white;
}
/* navbar styles */
.navbar{

    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #081c15;
    color:white;
    padding:15px 60px;
    margin-bottom: 30px;
}
.cart{
    background-color: white;
    font-size: 22px;
    padding: 8px;
    border-radius: 4px;
    position: relative;
    
}
.cartAmount{
    position: absolute;
    top:-10px;
    right: -12px;
    font-size: 13px;
    background-color: red;
    color:white;
    border-radius: 4px;
    padding: 4px;
}

/* Shop-items styles are here. */
.shop{
    /* outline: 1px solid red; */
    display: grid;
    grid-template-columns: repeat(4,223px);
    gap:30px;
    justify-content: center;
    margin-bottom: 40px;
}

@media (max-width:1000px)
{
    .shop{
        grid-template-columns: repeat(2,223px);
    }
}

@media (max-width:550px)
{
    .shop{
        grid-template-columns: repeat(1,223px);
    }
}
.item{
    border: 2px solid #081c15;
    border-radius: 4px;
}
.item img{
    width: 100%;
    border-radius: 2px 2px 0 0;
}
.details{
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap:10px;
}
.price-quantity{

    display: flex;
    justify-content: space-between;
    align-items: center;
}
.buttons{
    display: flex;
    gap:8px;
}
.fa-plus{
    color: green;
    cursor: pointer;
}
.fa-minus{
    color: red;
    cursor: pointer;
}

/* Styling label and button in cart.html */
.text-center{
    text-align: center;
    margin-bottom: 20px;
}
.HomeBtn, .checkout, .removeAll{
    background-color: #081c15ca;
    color:white;
    border: none;
    padding: 5px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
}
.checkout{
    background-color: green;
}
.removeAll{
    background-color: red;
}
.fa-x{
    color:red;
}

/* styles for shopping cart */
.shopping-cart{
    display: grid;
    grid-template-columns: repeat(1,320px);
    justify-content: center;
    gap:15px;
}

/* styles for cart item */
.cart-item{
    border: 2px solid #081c15;
    border-radius: 5px;
    display: flex;
}
.title-price-x{
    width: 195px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border: 1px solid red; */
}
.title-price{
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-item-price{
    background-color: #081c15;
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
}
