/* IMPORT GOOGLE FONT */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

*{
    margin: 0px;
}

body{
    font-family: 'Open Sans', sans-serif;
}




/* NAVBAR STYLING */
#navbar{
    width: 100%;
    height: 85px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    display: flex;
    justify-content: space-around;
    /* border: 2px solid red; */
    box-sizing: border-box;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: whitesmoke; 
}

/* .main{
    padding-top: 85px;
} */

/* #navbar > div{
    border: 1px solid blue;
} */

#menu{
    width: 5%;
    box-sizing: border-box;
    padding: 20px;
}

#menu a, #menu a:hover{
    text-decoration: none;
    color: black;
}

#logo{
    width: 34%;
    box-sizing: border-box;
    padding: 20px;
    text-align: right;
}

#logo img{
    filter: invert(1);
}

#userArea{
    width: 20%;
    box-sizing: border-box;
    padding: 20px;
    font-size: 14px;
}

.icons{
    display: inline-block;
    margin-left: 15px;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
    /* border: 1px solid red; */
}

.icontxt{
    height: 30px;
    display: inline-block;
    text-align: center;
    /* border: 1px solid blue; */
}
/* a.userAreaIcons{
    
} */

#userArea>a, #userArea > a:hover{
    text-decoration: none;
    color: black;
}


/*TOP CART PROPERTIES*/
#topCart{
    position: relative;
}

#totalCartItems{
    position: absolute;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background-color: #eb0b0b;
    top: 0;
    left: 50%;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    box-sizing: border-box;
    padding: 5px;
}



/* TOP HEADING BANNER */
#topBanner{
    width: 100%;
    height: 80px;
    background-color: whitesmoke;
    text-align: center;
    box-sizing: border-box;
    padding: 20px;
}

#topBanner h3{
    font-size: 28px;
    font-weight: bolder;
}


/* MAIN BODY CONTAINER */

#bodyContainer{
    width: 90%;
    /* height: 500px; */
    margin: auto;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    /* border: 1px solid red; */
}

/* #bodyContainer > div{
    border: 1px solid blue;
} */

/* DISPLAY CART ITEMS DIV */

#cartArea{
    width: 65%;
    box-sizing: border-box;
    margin-bottom: 50px;
}

#cartContainer{
    width: 100%;
    /* height: 0px; */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 200px;
    grid-auto-rows: 200px;
    grid-gap: 20px;
    /* border: 1px solid green; */
}

/* CART ITEM STYLES */
.cartContainer > div{
    box-sizing: border-box;
}

.cartItemData{
    border-bottom: 1px solid grey;
}

.cartItem{
    /* width: 90%; */
    margin: 10px;
    height: 60%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid grey;
    /* border: 1px solid red; */
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

.cartItem > div{
    box-sizing: border-box;
    /* border: 1px solid blue; */
}

.cartImg{
    width: 12%;
    height: 100%;
    /* text-align: center; */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: whitesmoke;
}

.cartImg img{
    width: 80%;
    height: 80%;
}

.cartItemInfo{
    width:40%;
}

.cartItemName{
    width: 90%;
    height: 60%;
    margin: auto;
    box-sizing: border-box;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    /* border: 1px solid red; */
}

.cartItemSize{
    width: 90%;
    height: 30%;
    margin: auto;
    margin-top: 10px;
    /* border: 1px solid red; */
}

.cartItemSize > select{
    width: 40%;
    font-size: 16px;
    padding: 5px;
}

/* .cartItemSize select option{
    background: rgba(100, 100, 100, 0.3);;
} */

.cartItemPrice{
    width: 15%;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.cartItemQty{
    width: 15%;
    padding: 5px;
    display: flex;
    justify-content: space-between;
}

.addQty, .minusQty{
    width: 20%;
    cursor: pointer;
}

.qtyArea{
    width: 40%;
}

.qtyArea input{
    width: 80%;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.cartItemTotal{
    width: 15%;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/* PROMO AREA */
#promoArea{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    /* border: 1px solid blue; */
}

#promoBox{
    width:65%;
    margin-left: 10px;
    font-size: 18px;
    padding: 10px;
}

#promoBox:focus{
    outline: 2px solid #027bff;
    border: 0px;
}

#promoBtn{
    width: 25%;
    margin-right: 10px;
    cursor: pointer;
    background-color: #000;
    color: #fff;
    font-size: 18px;
}

#promoMsg{
    margin: 10px;
    margin-top: 10px;
}

#promoApplyMsg{
    color: #444444;
    font-size: 14px;;
}


/* REMOVE BUTTON DIV */

.removeItem{
    margin: 10px;
    margin-top: 20px;
    padding: 5px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* border: 1px solid red; */
    font-weight: bold;
}

.removeItem i{
    font-size: 18px;
}

.removeItem:hover{
    cursor: pointer;
    color: red;
}

/*SHIPPING AREA DIV*/
#shippingInfo{
    margin: 5px;
    margin-top: 30px;
    font-size: 14px;
}

/* DISPLAY TOTAL AREA STYLE */

#totalArea{
    width: 30%;
    height: 400px;
    box-sizing: border-box;
}

#totalDisplayArea{
    width: 95%;
    margin: auto;
    height: 200px;
}

#totalDisplayArea > div{
    width: 100%;
    margin-top: 10px;
    box-sizing: border-box;
    padding: 5px;
    /* border: 1px solid blue; */
}

#summary{
    background-color: #b8b8b8;
    font-weight: bold;
}

.totalText{
    display: flex;
    justify-content: space-between;
    border-bottom: 0.5px solid grey;
}

#finalTotal{
    font-size: 18px;
    font-weight: bold;
}


#totalArea button{
    display: block;
    width: 95%;
    margin: auto;
    margin-top: 20px;
    height: 50px;
    border: 0px;
    cursor: pointer;
}

#totalArea i{
    font-size: 18px;
}

#continueBtn{
    background-color: black;
}

#checkoutBtn{
    background-color: red;
}

#continueBtn a, #checkoutBtn a, #continueBtn a:hover #checkoutBtn a:hover{
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    color: white;
}


/* FOOTER AREA */

#iconsPolicy{
    width: 100%;
    height: 90px;
    margin-top: 30px;
    padding: 1px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #ebebeb;
}

#iconsPolicy > div{
    width: 10%;
    /* border: 1px solid red; */
    box-sizing: border-box;
    height: 100%;
    padding: 10px;
}

.iconAdd{
    text-align: center;
    font-size: 32px;
}

#iconsPolicy > div > p{
    font-weight: bold;
    text-align: center;
    font-size: 14px;
}

#footerMain{
    width: 100%;
    background-color: black;
    height: 400px;
    /* display: flex;
    align-items: center; */
}

#footerLinks{
    width: 80%;
    height: 70%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border: 1px solid red; */
}

#footerLinks > div{
    /* border: 1px solid blue; */
    height: 100%;
    margin-top: 5%;
    box-sizing: border-box;
    padding: 10px;
}

#aboutus{
    width: 15%;
}



.aboutUsLinks{
    display: block;
    color: grey;
    font-size: 14px;
    margin-top: 10px;
}

.aboutUsLinks, .aboutUsLinks:hover{
    text-decoration: none;
    color: grey;
}

#store{
    width: 25%;
}



a.order{
    display: block;
    border: 1px solid grey;
    margin-bottom: 10px;
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.order, a.order:hover{
    text-decoration: none;
    color: grey;
}

#keeptouch{
    width: 25%;
}

#keeptouch p:nth-child(2){
    color: grey;
    font-size: 14px;
    margin-bottom: 10px;
}


#keeptouch input{
    width: 100%;
    background-color: black;
    border: 0px;
    outline: 1px solid grey;
    height: 15%;
    padding: 5px;
    color: grey;
}

#ourpolicies{
    width: 20%;
}

#ourpolicies p{
    color: white;

}

.linkHeading{
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
}

#copyrightText{
    width: 80%;
    height: 10%;
    margin: auto;
    /* border: 1px solid red; */
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#copyrightText small{
    color: grey;
    font-size: 11px;
}

#socialIcons{
    color: white;
}

#socialIcons i{
    color: white;
    font-size: 20px;
    margin-left: 10px;
}




@media all and (max-width: 800px){
    
    #navbar{
        justify-content: space-between;
    }

    #logo{
        width: 60%;
        text-align: right;
        padding: 20px;
    }

    #logo img{
        width: 100%;
    }

    #userArea{
        width: 20%;
        display: flex;
        justify-content: flex-start;
        padding: 10px;
        font-size: 12px;
    }

    .icontxt{
        display: none;
    }

    #searchbox{
        width: 50%;
    }

    #searchbox input{
        font-size: 14px;
        height: 30px;
    }

    .icons{
        display: block;
        margin-left: -5px;
    }

    #userArea > a:not(:nth-child(3)){
        display: none;
    }






    #footerMain{
        height: 150px;
    }

    #footerLinks{
       flex-direction: row;
       justify-content: space-between;
       cursor: pointer;
    }

    .aboutUsLinks{
        display: none;
    }

    #footerLinks input{
        display: none;
    }

    a.order{
        display: none;
    }

    #keeptouch > p:nth-child(2){
        display: none;
    }

    #store > p:not(p:first-child){
        display: none;
    }

    #copyrightText{
        margin-top: -15px;
    }

    #socialIcons i{
        color: white;
        font-size: 12px;
        margin-left: 10px;
    }

    #bodyContainer{
        flex-direction: column;
    }

    #cartArea{
        width: 100%;
    }

    .cartItemQty{
        flex-direction: column;
    }

    .cartItemName{
        font-size: 12px;
    }

    .cartItemPrice, .cartItemTotal{
        font-size: 12px;
    }

    #totalArea{
        width: 80%;
    }
}