*{
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
.navbar{
    background: rgb(1, 1, 44);
    padding: 25px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
h2{
    color: white;
}
i{
    cursor: pointer;
}
.cart{
    background: white;
    color: black;
    font-size: 30px;
    border-radius: 10px;
    padding: 5px;
    border-radius: 4px;
    position: relative;
}
.cart_amount{
    position: absolute;
    top: -15px;
    right: -12px;
    font-size: 25px;
    color: white;
    background: red;
    border-radius: 4px;
    padding: 3px;
    
}

.shop{
    display: grid;
    grid-template-columns: repeat(4, 223px);
    gap: 2rem;
    width: 85%;
    margin: 19px auto;
    justify-content: center;
    margin-bottom: 60px;
}
.item{
    border: 2px solid rgb(1, 1, 43);
    border-radius: 4px;
}
.item img{
    width: 100%;
    border-radius: 2px 2px 0 0;
}
.details{
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
}
.price_quantity{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
strong{
    font-size: 20px;
}
.button{
    display: flex;
    gap: 10px;
    font-size: 20px;
}
.fa-minus{
    color: red;
}
.fa-plus{
    color: green;
}


.text_center{
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.HomeBtn, .checkout, .removeall{
    background: rgb(2, 2, 61);
    color: white;
    font-family: cursive;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}
.checkout{
    background-color: green;
    border: none;

}
.removeall{
    background: red;
    border: none;
    
}

/* Shopping cart */
.fa-times{
    color: red;
    font-weight: bold;
}
.shopping_cart{
    display: grid;
    grid-template-columns: repeat (1, 350px);
    justify-content: center;
    gap: 1rem;
    
}
.cart_item{
    border: 2px solid rgb(2, 2, 61);
    border-radius: 8px;
    display: flex;
}
.title_price_x{
    display: flex;
    width: 200px;
    align-items: center;
    justify-content: space-between;
}
.title_price{
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.cart_name{
    max-width: 90px;
}
.cart_price{
    background: rgb(0, 0, 31);
    color: white;
    padding: 5px;
    border-radius: 5px;
}
.cart_btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
}

@media screen and (max-width: 1024px){
    body{
        width: 92%;
    }
    .navbar{
        background: rgb(1, 1, 44);
        padding: 25px 60px;
        display: flex;
        width: 100vw;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 30px;
    }
    .shop{
        display: grid;
        grid-template-columns: repeat(3, 220px);
        gap: 2rem;
        width: 92%!important;
        margin-bottom: 60px;
    }
}
@media screen and (max-width: 600px){
    body{
        width: 92%;
    }
    .navbar{
        background: rgb(1, 1, 44);
        padding: 25px 60px;
        display: flex;
        width: 100vw;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 30px;
    }
    .shop{
        display: grid;
        grid-template-columns: repeat(2, 120px);
        gap: 2rem;
        width: 92%!important;
        margin-bottom: 60px;
    }
    .details{
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.9rem 0.2rem;
    }
    .details p{
        display: none;
    }
}