*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: poppins;
}
:root{
    --color1:#ECF2FF;
    --color2:#ffffff;
    --color3:#454545;
    --color4:#a4a4a4;
}
::-webkit-scrollbar{
    display: none;
}
body{
    background-color: var(--color1);
    user-select: none;
}
section{
    /* background-color:var(--color3); */
    min-height: 100vh;
    width: 100%;

}
header{
    position: sticky;
    top: 0px;
    background-color: var(--color2);
    height: 65px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
}
.logobox{
    display: flex;
    justify-content: left;
    align-items: center;
    /* background-color: aqua; */
    width: 5%;
    height: 100%;
    
}
.logobox img{
    height: 35px;
    
}
.searchbox{
    z-index: 1;
    background-color: var(--color2);
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;

}
.searchbox input{
    height: 40px;
    width: 85%;
    outline: none;
    border: none;
    border-radius: 6px 0px 0px 6px;
    background-color: var(--color1);
    padding: 0px 15px;
    font-size: 14px;
    font-weight: 400;
    color: var(--color3);
}
.searchbox input::placeholder{
    color: var(--color4);
    font-weight: 300;
    
}
.searchbox .icon{
    background-color: var(--color3);
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    border-radius: 0px 6px 6px 0px;
    color: var(--color2);
}
.others{
    display:flex ;
    justify-content: right;
    align-items: center;
    /* background-color: aquamarine; */
    width: 5%;
    height: 100%;
}
.others i{
    font-size: 38px;
    cursor: pointer;
}
.productbox {
    /* background-color: #16da7e; */
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 16px;
    padding: 9px 20px;
    /* border: 2px solid red; */
}
.cards {
    background-color: var(--color2);
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.cards.hide{
    display: none;
}
.imagebox{
    background-color:var(--color2);
    height: 200px;
    width: 100%;
    padding:10px;
    display: flex;
    justify-content: center;
}
.imagebox img{
    border-radius: 3px;
    box-shadow: 2.5px 2.5px 1px rgba(0, 0, 0, 0.249);
}
.cards .details{
    /* background-color: #a4a4a4; */
    height: 100%;
    width: 100%;
    
}
.cards .details ul{
    /* background-color: antiquewhite; */
    width: 90%;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    justify-self: center;
    color: var(--color3);
}
.cards .details ul li{
    /* background-color: #a4a4a4; */
    list-style: none;
    font-size: 14px;
    font-weight: 300;
    height: 20px;
    padding-left: 5px;
}
.cards .details ul li:nth-child(1){
    /* background-color: #ECF2FF; */
    font-weight: 500;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}
.cards .details ul li:nth-child(2){
    color: var(--color4);
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}
.cards .details ul li:nth-child(3){
    color: #16da7e;
    font-weight: 400;
}
.cards .details ul li:nth-child(4){
    font-weight: 600;
}
footer{
    display: flex;
    margin-top: 15px;
    background-color: var(--color3);
    height: 200px;
    width: 100%;
}
footer .box1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 50%;
    padding-left: 100px;
    font-size: 16px;
    font-weight: 300;
    color: var(--color4);
    word-spacing: 7px;
    /* background-color: #167bda; */
}

footer .box1 .footerimgbox{
    display: flex;
    align-items: center;
    /* justify-content: center; */
    /* background-color: aqua; */
    height: auto;
    margin-bottom: 15px;
    width: 100%;
}
footer .box1 .footerimgbox img{
    height: 45px;
}

footer .box2{
    display: flex;
    flex-direction: column;
    /* background-color: #16da7e; */
    width: 50%;
    justify-content: center;
    /* padding-right: 100px; */
    align-items: center;
  

}
footer .box2 span{
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 300;
    color: var(--color2);
}
footer .box2 ul{
    /* background-color: #ed8d8d; */
    display: flex;
    justify-content: space-around;
    height: 45px;
    width: 70%;
}
footer .box2 ul li{
    display: flex;
    /* height: 60px; */
    align-items: bottom;
    /* background-color: #8c6767; */
    list-style: none;
}
footer .box2 ul li a{
    text-decoration: none;
    color: var(--color4);
    font-size: 31px;
}
footer .box2 ul li a i{
    margin-top: 11px;
    cursor: pointer;
    /* background-color: #ECF2FF; */

}
footer .box2 ul li:nth-child(1) a{
    color: var(--color2);
}
@media screen and (min-width:560px) and (max-width:700px) {
    .productbox{
        /* background-color: #486356; */
        grid-template-columns: repeat(3,minmax(auto,1fr));
    }
}

@media screen and (max-width:1920px){
     .logobox img{
        height: 37px;
    }
        /* .productbox{
        display: grid;
        grid-template-columns: repeat(8, minmax(clamp(150px, 25%, 200px), 1fr));
    } */
}
@media screen and (max-width:1536px){
      /* .productbox{
        display: grid;
        grid-template-columns: repeat(7, minmax(clamp(150px, 25%, 200px), 1fr));
    } */
     .logobox img{
        height: 35px;
    }
}

@media screen and (max-width:456px){
    header{
        padding: 0 10px;
    }
    .logobox img{
        height: 32px;
    }
    .searchbox{
        position: relative;
        width: 69%;
        left: 7px;
    }
    .searchbox input{
        padding: 0 10px;
        font-size: 13px;
    }
    /* .searchbox.active{
        background-color: var(--color2);
        position: absolute;
        width:95% ;
        transition: all 0.5s ease;
    } */
     
    .others{
        /* background-color: #16da7e; */
        display: none;
    }
    .productbox{
        display: grid;
        padding:0px 14px ;
        gap: 13px;
        grid-template-columns: repeat(2, minmax(auto, 1fr));
    }
    .cards{
        height: 277px;
    }
    .cards .details ul{
        height: 85px;
    }
    .cards .details ul li{
        font-size: 13px;
        /* background-color: #454545; */
        height: 19px;
    }
    .imagebox{
        height: 185px ;
    }
    
    footer{
        height: 125px;
    }
    footer .box1{
        padding-left: 30px;
        font-size: 11px;
    }
    footer .box1 span{
        width: 90%;
        margin-top: 5px;
        /* background-color: #870f0f; */
    }
    footer .box1 .footerimgbox img{
        height: 25px;
    }
    footer .box2{
        padding-right: 0px;
        font-size: 11px;
    }
    footer .box2 span{
        margin-bottom: 5px;
        font-size: 11px;
    }
    footer .box2 ul li a{
        font-size: 20px;
    }
}


