@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
margin: 0;
padding: 0;
box-sizing: border-box;
 font-family: "Poppins", sans-serif;
}
html{
scroll-behavior: smooth;
}

:root{
    --white-clr:#fff;
    --black-clr:#000;
    --light-black:#333;
    --primary-clr:#e6303d;
    --secondary-clr:#eee;
    --tag-clr:#7cc576;
    --hero_imgs:url(images/home_image/hero_home_1.jpg);
    --sale_imgs:url(images/home_image/hero_home_1.jpg);      
        
}
.disabled {
  opacity: 0.5;
  pointer-events: none;
}


.blink-error {
    color: red;
    animation: blink 1s step-start 0s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


.remove_check_box{
    display: none;
}


.srch_my_data {
  margin-top: 100px;
  padding: 20px;

}
.srch_data_hide{
display: none;
    
}

.container{
    max-width: 95%;
    margin: auto;
}
.hero-container{
    max-width: 85%;
    margin: auto;
}
li{
list-style: none;
}
a{
text-decoration: none;
}
a:hover{
    color: var(--primary-clr);
}
img{
width: 100%;
height: 100%;
display: block;
transition: transform .3s ease-in-out;
}
.section{
    padding-top: 1rem;
    
}
.flex{
    display: flex;
    align-items: center;
}
.flex-wrap{
    flex-wrap: wrap;
    
}
.flex_card{
    display: grid;
    grid-template-columns: repeat(5,2fr); 
        
    
}
header{
    position: fixed;
    background-color: var(--white-clr);
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
box-shadow: 0px 2px 5px 0px var(--tag-clr);

}
.logo{
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--black-clr);
}
.logo span{
    color:var(--primary-clr);
}


.link:hover {
    color: var(--primary-clr);
}

.navbar{
    height: 12vh;
    justify-content: space-between;
    
}
.navlist {
    gap: 1.8rem;
    width:80%;
 flex-wrap: nowrap;  

    margin-left:1rem;


}
.nav_search{
    
border-radius: 5px;

border: 1px dotted var(--light-black);
}
.navlist a{
    color: var(--light-black);
    font-weight: 500;
    font-size: 0.95rem;
     flex-wrap: nowrap;  

    text-transform: uppercase;
}
.nav-icons{
    gap:0.5rem; 
margin-left:0.5rem;
    width:100%;

}

.icon{

    margin-right:0.1rem;
    border-radius: 50%;
    background-color: var(--secondary-clr);
    width: 40px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

.icon:hover{
    color: var(--primary-clr);
}
.icon-active{
    color: var(--primary-clr);
}

#suggestions {
    position: absolute;
            top: 55%;

    background-color: white;
    width: 200px;
    
}
#suggestions div:hover {
        border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
}

.hamburger{
    color: var(--primary-clr);
    font-size: 1.7rem;
    cursor: pointer;
    display: none;

}

.card-container{
    border: 2px solid var(--secondary-clr);
    text-align: center;
    justify-content: left;
    margin-top: 0.5rem;
    grid-gap: 0.5rem;
    position: relative; 
    max-width:95%;
 
}
.card{
    cursor: pointer;
    box-shadow: 1px 3px 14px 1px var(--light-black);
    border: 0.3px solid var(--secondary-clr);
    padding: 0.4rem;
    text-align: center;

transform: scale(0.8);

}
.card:hover{
    transform: scale(0.83);
        border: 0.7px solid var(--primary-clr);
}

.card:hover button{
    display: block;
}

.card_title{
    text-align: left;
    width: 21rem;
    height: 3rem;
        font-size: 1rem;
        font-weight: bold;
  overflow: auto;  
      cursor: pointer;       
}
.card_desc{
text-align: left;
    width: 20rem;
    height: 4rem;
    font-size: 0.9rem;
  overflow: auto;  
      cursor: pointer;       
}
.price{
    width: 15rem;
    text-align: center;
}
.cross_amt{
margin-right: 10px;
}
.add-to-cart{
        width: 18rem;
        height:4rem;
         left: 0;
    right: 0;   
  
        background-color: var(--primary-clr);
        color: var(--white-clr);
        transition: all .3s ease-out;
        cursor: pointer;
        border-radius: 10px;
        display: none;
}

.add-to-cart:hover{
    background-color: var(--tag-clr);
    color: var(--black-clr);
}
.amt{
    font-size: 1.1rem;
    color: var(--tag-clr);
    font-weight: bold;

}

.cross_amt{
    font-size: 1.1rem;
    color: var(--primary-clr);
    font-weight: bold;
}

/*news and subscribe container */
.news_container{
    background-color: var(--secondary-clr);  
}
.news_sub_contents{
    align-items: center;
    text-transform: uppercase;
    margin-block: 1rem;
}
.news_input_title {
    padding-left: 5rem;   
    font-weight: 400;
    color: var(--light-black);
}


.input_container{
    max-width: 100%;
    align-items: stretch;
    padding-left: 1rem; 
    margin-block: 1rem;

}

.news_mail{
    width: 420px;
    margin-right: 1.4rem;
font-size: 1.5rem;
}

.email_btn{
margin-block: 0.5rem;
    font-size: 1.5rem;
    align-items: center;
    padding: 25px 25px;
    padding-block:0.1rem;
    margin-right:0.1rem;
    background-color: var(--primary-clr);
    color: var(--white-clr);
    border-radius: 10px;
    text-transform: uppercase;
    cursor: pointer;
transition: all .3s ease-in-out;
}
.email_btn:hover{
    background-color: var(--light-black);
    color: var(--white-clr);

}
.news_icons {
    padding-left: 5rem; 
    padding-block: 1rem;
    font-size: 1rem;
}
.media_icon{
    padding: 0.3rem;
}
.footer_list{
justify-content:space-between;
}
.footer_log{
    margin-block: 0.5rem;
    
}

.footer_copyrigt{
    width:100%;
    background: var(--primary-clr) ;
    color: white;
    text-align: center;
}

.checkout-cart{
    width: 0;
    position: absolute;
    top:0;
    right:0;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: var(--light-black);
    height: 0;
         transition: .4s ease-in-out;
  
}
.hide_checkout-cart{
    width: 0;
    height: 0;
        right:0;
top:0;
    overflow: hidden;
    
}
.show_checkout-cart{
    background-color: var(--white-clr);
    top:110%;
    width: 22rem;
    height: 30rem;
        right:2rem;
    transition: .4s linear;
    overflow: auto;
}
.checkout-box{
    display: flex;
    flex-wrap: wrap;
    border: 1px solid green;
    gap: 1rem;
    margin: 1rem 0;
    align-items: center;
    height: 6rem;
position: relative;
background-color:var(--secondary-clr);
cursor: pointer;
    
}

.checkout-img{
    
    border: 1px solid;
    height: 5.5rem;
    width: 6rem;
}
.checkout-name{
position: absolute;
    text-align: left;
    font-size: .95rem;
    font-weight: 500;
    width: 70%;
    height: 3.5rem;
    top: 1%;
    margin-left: 6.5rem;
overflow: none;
}
.checkout-content{
    position: relative;
    top: 30%;
    display: flex;
    flex: 1;
    gap:1rem;
      font-size: 1.1rem;
}
.go-to-cart_btrn{
background-color: #7cc576;
color: black;
width: 100%;
height: 3rem;
cursor: pointer;
}
.go-to-cart_btrn:hover{
background-color: black;
color: white;

}
.login_box_container{
    
    width: 0;
    top: 0;
    right: 0;

    position: absolute;
    text-align: center;    
    background-color: var(--secondary-clr);
    border-radius: 10px;
    transition: .4s ease-in-out;

}
.login_box{
    padding:1rem;
    text-align: center;
}
.login_mail , .login_password{
    width: 100%;
    height:2rem;
    margin-block: 0.3rem;

}
.login_input h3{
    
    font-size: 0.8rem;
    font-weight: 400;
        margin-block: 0.3rem;

}

.login_btn{
 background-color: #7cc576;
color: black;
width: 100%;
height: 3rem;
cursor: pointer;   
}

.login_btn:hover{
background-color: black;
color: white;

}
.show_login{
  border: 1px solid;
width: 20rem;
top: 110%;
right: 7.5rem;
transition: .4s ease-in-out;
}




.close-button {
    position: absolute;
  top: 1px;
  right: 1px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;
  color: #333;
  padding: 1px;
  background-color: red;
  cursor: pointer;  
 display: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.close-button.active {
display: block;
}
.cart_total{
display: none;
    
}
.cart_total.active{
display: block;
    
}

.login_close-button {
    position: absolute;
  top: 1px;
  right: 1px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;
  color: #333;
  padding: 1px;
  background-color: red;
  cursor: pointer;  
 display: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.login_close-button.active {
display: block;
}

.close-button:hover {
  color: white;
}

.hide_nav_search{
display: none;
}
.show_nav_search{
display: inline;
}

  .go_to_home{
	position:absolute;
	color:white;
	right:3rem;
	}

.fixed_row{
    position: fixed;
    left:2rem;

}
.fa.fa-trash{
   cursor: pointer; 
}
@media screen and (max-width:1100px) {
     
.course_container{
width: 8rem;
}
}

.user_title{
    margin-left: 3rem;
    font-size: 0.9rem;
}
@media screen and (max-width:800px) {
   html, body {
    overflow-x: hidden;
  }
  .logo{
      font-size:1.3rem;
  }
  .user_title{
    margin-left: 1.5rem;
    font-size: 0.6rem;
}
  header{
max-width: 99%;
margin: auto;
}
    .hamburger{
        display: block;
    }
.login_box_container{
        width: 0;
    top: 0;
    right: 0;


    position: absolute;
    text-align: center;    
    background-color: var(--secondary-clr);
    border-radius: 10px;
    transition: .4s ease-in-out;

}


.show_login{
  border: 1px solid;
width: 50%;
top: 120%;
right: 2.5rem;
transition: .4s ease-in-out;

}

.container{
    max-width: 90%;
    margin: auto;
}
main{
        max-width: 90%;
    margin: 1rem;
}



.card{
    max-width:100%;

}
.card_title{
    text-align: left;
    width: 16rem;
    height: 3rem;
        font-size: 1rem;
        font-weight: bold;
  overflow: auto;  
      cursor: pointer;       
}
.card_desc{
text-align: left;
    width: 16rem;
    height: 4rem;
    font-size: 0.9rem;
  overflow: auto;  
      cursor: pointer;       
}
.price{
    width: 10rem;
    text-align: center;
}
.cross_amt{
margin-right: 10px;
}
.add-to-cart{
        width: 18rem;
        height:4rem;
         left: 0;
    right: 0;   
  
        background-color: var(--primary-clr);
        color: var(--white-clr);
        transition: all .3s ease-out;
        cursor: pointer;
        border-radius: 10px;
        display: none;
}
.navlist{

    background-color: var(--black-clr);
    color: var(--white-clr);
    flex-direction: column;
    position: absolute;
    text-align: center;
    width: 50%;
    top:70%;
    right:0;
    transform: translate(-20px);
            
}
.navlist li{
    padding: 5px;
}

.navlist a{
    color: var(--secondary-clr);
}
.icon{
    background: green;
}
.nav-icons a{
    color: var(--white-clr);
    
}
 


.hid_navlist{
    display: none;
}
.show_navlist{
    display: block;
}

.category-container{
    grid-template-columns: 2fr;
}

.category:nth-child(1), 
.category:nth-child(2),
.category:nth-child(4) {
grid-row: auto;
}
.sales-img{
text-align: center;
}
.sales-img_contents{
text-align: center;
left: 0;
}

.checkout-cart{
    width: 0;
    position: absolute;
    top:20rem;
    right:0;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: var(--light-black);
    height: 0;
  
}
.show_checkout-cart{
    top:-8%;
       background-color: var(--white-clr);     
    overflow: auto;
     width: 90%;
    height: 25rem;
        right:1rem;
 transition: .4s linear;
}

/*news and subscribe container */
.news_container{
    background-color: var(--secondary-clr);  
}
.news_sub_contents{
    align-items: center;
    text-transform: uppercase;
    margin-block: 1rem;
}
.news_input_title {
        margin: auto;
    padding-left: 0.5rem; 
    font-size: 1rem;
    font-weight: 400;
    color: var(--light-black);
}


.input_container{
    max-width: 100%;
    background: cyan;
    align-items: stretch;
    
    margin-block: 1rem;

}

.news_mail{
    width: 90%;
    margin-block: 1rem;
    margin-left:1%;
font-size: 0.7rem;
}

.email_btn{
margin-block: 0.5rem;
    font-size: 1rem;
    align-items: center;
    padding: 25px 25px;
    padding-block:0.1rem;
    margin-right:0.1rem;
    background-color: var(--primary-clr);
    color: var(--white-clr);
    border-radius: 10px;
    text-transform: uppercase;
    cursor: pointer;
transition: all .3s ease-in-out;
}

.news_icons {
    padding-left: 1rem; 
    padding-block: 1rem;
    font-size: 1rem;
}

   .footer_list{
       font-size: 1rem;
justify-content:space-between;
}
.footer_log{
           font-size: 0.6rem;
    margin-block: 0.5rem;
    
}

.footer_copyrigt{
           font-size: 0.6rem;

    background: var(--primary-clr) ;
    color: white;
    text-align: center;
}

#suggestions {
    position: absolute;
            top: 80%;
    width: 90%;
height:6rem;
overflow: auto;
    background-color: white;
    color: black;

    
}
#suggestions div:hover {
        border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
}

.srch_my_data{
    margin-top: 30%;
}
}

@media screen and (min-width:810px) {
    
    
}



