@font-face{
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://example.com/MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'),
        local('MaterialIcons-Regular'),
        url(https://example.com/MaterialIcons-Regular.woff2) format('woff2'),
        url(https://example.com/MaterialIcons-Regular.woff) format('woff'),
        url(https://example.com/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons{
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    margin-top: 10px;
    cursor: pointer;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

body{
    overflow-x: hidden;
}



/* HAIR CARE MAIN CONTENT */

/* TOP BACKGROUND IMAGE AND FILTER / SORT OPTION */

/* BACKGROUND IMAGE ( HAIR CARE TEXT ) */
#top_backgrd_hear_care{
    border: 1px solid transparent;
    width: 100%;
    height: 200px;
    margin: 0;
    margin-bottom: 30px;
    background-image: url(https://images.forestessentialsindia.com/pub/media/catalog/category/3_Hair_Care_MG_7191_final_2880x640-min-min.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    padding-top: 100px;
}

/* FILTER AND SORT FEATURE */
#filter_price{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: center;
}
/* FILTER AS PER CATEGORY / SORT AS  PER PRICE  */
#filter, #sorted{
    font-weight: lighter;
    padding: 15px 100px;
    text-align: center;
    border: 1px solid rgb(180, 178, 178);
    color: rgb(180, 178, 178);
}
option{
    font-size: larger;
    font-weight: bolder;
}

/* SHORTCUT FOR HOME PAGE  */
#h3_home_link{
    color: rgb(110, 110, 110);
    text-decoration: none;
}
#h3_home_link:hover{
    text-decoration: underline;
}

/* HAIR PRODUCT IN GIRD */
#hair_container{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}
#hair_container>div{
    background-color: #fbf9f9;
    height: 500px;
}

/* PRODUCT IMAGE  */
#prodimg{
    width: 100%;
    height: 275px;
    cursor: pointer;
}

/* PRICE AND WISHLIST GROUP */
.priceWishSmallDiv{
    height: 40px;
    display: flex;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 50px;
}
#hair_container>div:nth-child(2)>.priceWishSmallDiv{
    margin-top: 11%;
}
#hair_container>div:nth-child(8)>.priceWishSmallDiv{
    margin-top: 5%;
}
#hair_container>div:nth-child(15)>.priceWishSmallDiv{
    margin-top: 10%;
}
#hair_container>div:nth-child(16)>.addCartButton{
    margin-top: 8%;
}
#hair_container>div:nth-child(17)>.priceWishSmallDiv{
    margin-top: 0%;
}
#hair_container>div:nth-child(17)>.addCartButton{
    margin-top: 5%;
}

/* ADD CART BUTTON  */
.addCartButton{
    border: 2px solid black;
    background-color: transparent;
    text-align: center;
    padding: 10px 80px;
    font-size: large;
    margin-top: 10%;
    cursor: pointer;
    margin-left: 5%;
}

/* ENDING LINES BELOW HAIR PRODUCTS */
#hair_ending_lines_below_product{
    width: 80%;
    margin: auto;
    padding-top: 30px;
}


/* THE FOOTER PART */
/*_*******************************************************-------------newlatter-----------*************************************************** */ 
#footer_body_hair_care{
    margin: 0px;
    color:black;
    background-color: white;
}
#newsletter_image_container{
    background-image: url(https://images.forestessentialsindia.com/pub/media/cms_images/newsletter-bg.jpg);
    text-align: center;
    height: 250px;
    background-size: cover;
    padding: 98px 0px;
    margin-top: 60px;
}
#newslatter_text_container{
    width: 700px;
    height: 300px;
    color: white;
    margin: auto;
} 
#newslatter_text_container p{
    border: 1px solid transparent;
    line-height: 35px;
    font-size: 19px;
    width: 90%;
    letter-spacing: .5px;
}
.inputfield{
    border: none;
    padding: 14px 27px;
    font-size: 12px;
    height: 20px;
    font-family:calibri;
    width: 210px;
    letter-spacing: 3px;
}
#newsletter_image_container button{
    background-color: #d2ab67;
    border: 1px solid #d2ab67;
    color: white;
    padding: 15px 15px;
    font-size: 13px;
    width: 150px;
    height: 48.5px;
    letter-spacing: 3px;
}
#newsletter_image_container button:hover{
    background-color: black;
    border-color: white;
}
#newslatter_text_container a{
    color: white;
    text-decoration: none;
}
/* _____________________________________________________newslatter-css-end_________________________________________________________________ */


/* ******************************************--------services-characteristics-css-start---------******************************************* */
#footer,#service_charac{
    display: flex;
    width: 80%;
    margin: auto;
    justify-content: space-evenly;
    font-family: calibri;
    color: rgb(85, 80, 80);
    margin-top: 100px;
}
#footer>div,#service_charac div{
    height: 300px;
    width: 23%;
}
#service_charac div{
    height: 230px;
    letter-spacing: 1px;
}
#service_charac img{
    height:100px ;
    width:100px;
}
#service_charac h2{
    margin-top: 40px;
    font-weight: normal;
    letter-spacing: 2px;
}
#service_charac p{
    font-size: 14px;
    line-height: 27px;
    width: 100%;
}
/* _____________________________________________________services-characteristics-css-end_________________________________________________________________ */


/*****************************************************--------- footer css-start--------*****************************************************/
    /* margin: 30px auto; */
/* } */
#footer ul{
    list-style: none;
}
#footer h4,#footer li{
    font-size: 11px;
    line-height: 36px;
    letter-spacing: 2.8px;
    color: #000;
}
#footer h4{
    border-top: 1px solid #e8e8e8;
    margin: 80px 0 30px;
    padding-top: 30px;
    font-weight: normal;
}
#footer a{
    text-decoration: none;
}
#footer .a{
    color:#000;
    border-bottom: 1px solid #8d8080;
    padding-bottom: 3px;
}
#footer p{
    font-size: 16px;
}
#footer ul{
    padding: 0px;
    margin: 0px;
}
.fa{
    width: 25px;
    height: 25px;
}
/*__________________________________________________________footer-css-end______________________________________________________________________*/


/* **************************************************----------copyright-css-start------------***************************************************/
#copy_right{
    display: flex;
    width: 80%;
    height: 150px;
    justify-content: space-between;
    margin: auto;
    margin-top: 250px;
}
#copy_right>div{
    padding: 0px 10px;
    width: 48%;
    border: 1px solid transparent;
}
#copy_right span{
    letter-spacing: 2.8px;
    display: block;
    padding-bottom: 40px;
    padding-top: 25px;
    font-size: 13px;
    border-top: 1px solid #e8e8e8;
}
/* _______________________________________________________________copyright-css-end_________________________________________________________ */





@media only screen and (min-width: 0px) and (max-width: 375px){
    /* HAIR CARE MAIN CONTENT */

/* TOP BACKGROUND IMAGE AND FILTER / SORT OPTION */

/* BACKGROUND IMAGE ( HAIR CARE TEXT ) */
    #top_backgrd_hear_care{
        border: 1px solid black;
        width: 100%;
        height: 150px;
        margin: 0;
        margin-bottom: 30px;
        background-image: url(https://media.istockphoto.com/photos/jars-of-spices-picture-id1298434383?b=1&k=20&m=1298434383&s=170667a&w=0&h=RqHTBppU1TdnXJRu4v-Q4KW6ktI5kEMpCVb0eyoGZo0=);
        background-position: center;
        background-size: 100%;
        background-repeat: no-repeat;
        text-align: center;
        padding-top: 15%;
        padding-bottom: 5%;
    }
    /* FILTER AND SORT FEATURE */
    #filter_price{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    /* FILTER AS PER CATEGORY / SORT AS  PER PRICE  */
    #filter, #sorted{
        padding: 5px 10px;
    }

    /* HAIR PRODUCT IN GIRD */
    #hair_container{
        width: 90%;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 4px;
    }
    #hair_container>div{
        height: 400px;
    }

    /* PRODUCT IMAGE  */
    #prodimg{
        height: 175px;
    }

    /* PRICE AND WISHLIST GROUP */
    .priceWishSmallDiv{
        padding-left: 15px;
        padding-right: 30px;
    }
    #hair_container>div:nth-child(2)>.priceWishSmallDiv{
        margin-top: 20%;
    }
    #hair_container>div:nth-child(2)>.addCartButton{
        margin-top: 15%;
    }
    #hair_container>div:nth-child(3)>.priceWishSmallDiv{
        margin-top: 20%;
    }
    #hair_container>div:nth-child(8)>.priceWishSmallDiv{
        margin-top: 5%;
    }
    #hair_container>div:nth-child(11)>.priceWishSmallDiv{
        margin-top: 20%;
    }
    #hair_container>div:nth-child(13)>.priceWishSmallDiv{
        margin-top: 20%;
    }
    #hair_container>div:nth-child(15)>.priceWishSmallDiv{
        margin-top: 23%;
    }
    #hair_container>div:nth-child(16)>.addCartButton{
        margin-top: 8%;
    }
    #hair_container>div:nth-child(17)>.priceWishSmallDiv{
        margin-top: -10px;
    }
    #hair_container>div:nth-child(17)>.addCartButton{
        margin-top: 0;
    }

    /* ADD CART BUTTON  */
    .addCartButton{
        padding: 5px 10px;
        margin-top: 5%;
        font-size: medium;
    }

    /* ENDING LINES BELOW HAIR PRODUCTS */
    #hair_ending_lines_below_product{
        width: 90%;
        margin: auto;
        padding-top: 0;
    }

    /* THE FOOTER PART */
    #newsletter_image_container{
        height: 450px;
    }
    #newslatter_text_container{
        width: 100%;
    }
    #input_fleld_div input{
        margin-bottom: 20px;
    }
    #service_charac{
        flex-wrap: wrap;
        justify-content: space-between;
        width: 90%;
    }
    #service_charac div{
        width: 100%;
        height: 400px;
        text-align: center;
    }
    #service_charac>div:last-child{
        height: 100px;
    }
    #footer{
        display: grid;
        width: 90%;
        grid-template-columns: 100%;
        grid-template-rows: repeat(4,400px);
        grid-gap: 20px;
    }
    #footer div{
        width: 374px;
    }
    #footer>div:last-child{
        height: 100px;
    }
    #copy_right{
        border: 1px solid transparent;
        display: flex;
        flex-wrap: wrap;
        margin-top: 100px;
    }
    #copy_right>div{
        margin-top:20px ;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    #copy_right span{
        border: none;
        margin: auto;
    }
    #copy_right img{
        width: 350px;
    }
}

@media only screen and (min-width: 376px) and (max-width: 768px){
    /* HAIR CARE MAIN CONTENT */

/* TOP BACKGROUND IMAGE AND FILTER / SORT OPTION */

/* BACKGROUND IMAGE ( HAIR CARE TEXT ) */
    #top_backgrd_hear_care{
        border: 1px solid black;
        width: 100%;
        height: 150px;
        margin: 0;
        margin-bottom: 30px;
        background-image: url(https://media.istockphoto.com/photos/adaptogen-health-food-collection-for-stress-relief-picture-id1298149766?b=1&k=20&m=1298149766&s=170667a&w=0&h=nmjxFUAZAZG5DzE8XV_Y74W-CFs5RmdZWeqsZ67dgHc=);
        background-position: center;
        background-size: 100%;
        background-repeat: no-repeat;
        text-align: center;
        padding-top: 15%;
        padding-bottom: 5%;
    }
    /* FILTER AND SORT FEATURE */
    #filter_price{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    /* FILTER AS PER CATEGORY / SORT AS  PER PRICE  */
    #filter, #sorted{
        padding: 10px 20px;
    }

    /* HAIR PRODUCT IN GIRD */
    #hair_container{
        width: 90%;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 4px;
    }
    #hair_container>div{
        height: 425px;
    }

    /* PRODUCT IMAGE  */
    #prodimg{
        height: 200px;
    }

    /* PRICE AND WISHLIST GROUP */
    .priceWishSmallDiv{
        padding-left: 15px;
        padding-right: 30px;
        margin-top: 5%;
    }
    #hair_container>div:nth-child(2)>.priceWishSmallDiv{
        margin-top: -2%;
    }
    #hair_container>div:nth-child(2)>.addCartButton{
        margin-top: 15%;
    }
    #hair_container>div:nth-child(3)>.priceWishSmallDiv{
        margin-top: 15%;
    }
    #hair_container>div:nth-child(8)>.priceWishSmallDiv{
        margin-top: 5%;
    }
    #hair_container>div:nth-child(11)>.priceWishSmallDiv{
        margin-top: 5%;
    }
    #hair_container>div:nth-child(12)>.priceWishSmallDiv{
        margin-top: -10%;
    }
    #hair_container>div:nth-child(13)>.priceWishSmallDiv{
        margin-top: 15%;
    }
    #hair_container>div:nth-child(15)>.priceWishSmallDiv{
        margin-top: 15%;
    }
    #hair_container>div:nth-child(16)>.addCartButton{
        margin-top: 8%;
    }
    #hair_container>div:nth-child(18)>.priceWishSmallDiv{
        margin-top: -8px;
    }
    #hair_container>div:nth-child(19)>.priceWishSmallDiv{
        margin-top: 15%;
    }

    /* ADD CART BUTTON  */
    .addCartButton{
        padding: 5px 10px;
        margin-top: 5%;
        font-size: medium;
    }

    /* ENDING LINES BELOW HAIR PRODUCTS */
    #hair_ending_lines_below_product{
        width: 90%;
        margin: auto;
        padding-top: 0;
    }

    /* THE FOOTER PART */
    #newslatter_text_container{
        width: 100%;
    }
    #service_charac{
        flex-wrap: wrap;
        justify-content: space-between;
        width: 90%;
    }
    #service_charac div{

        width: 48%;
        height: 320px;
    }
    #service_charac>div:nth-child(3),#service_charac>div:nth-child(4){
        height: 200px;
    }
    #footer{
        border: 1px solid transparent;
        display: grid;
        margin: auto;
        width: 80%;
        grid-template-rows: 480px 480px;
        grid-template-columns: repeat(2,1fr);
    }
    #copy_right{
        border: 1px solid transparent;
        display: flex;
        flex-wrap: wrap;
        margin: auto;
        width: 80%;
        margin: 310px auto 10px ;
        margin-left: 28%;
    }
    #copy_right>div{
        margin-top:20px ;
        width: 50%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    #copy_right span{
        border: none;
    }
}