@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
   
}


:root{
    --main-color:#fd4646;
    --text-color:#02ac70;
    --bog-color:#fff;
    --container-color:#1e1e2a;
}
img{
    width:100%;
    
}
body{
    color:var(--bog-color);
    background: var(--container-color);

}
section{
    padding: 4rem 0 3rem;
}

.container{
    max-width:1060px;
    margin:auto;
    width:100%;
}

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:var(--container-color);
    box-shadow: 0 1px 4px hsla(0, 0%, 98%, 0.1);
    z-index:100;
    justify-content: space-between;
}


.logo{
    display:flex;
    align-items:center;
    font-size:1rem;
    font-weight: 600;
    column-gap: 0.2rem;
    color:white;
}
.logo .bx{
    font-size:24px;
    color:var(--main-color);
}
.navbar{
    display:flex;
    column-gap: 2.4rem;
}
.navbar a{
    font-size:1rem;
    font-weight: 500;
    color:white;
}
.navbar a:hover{
    color:white;
    background: #02ac70;
    transition: 0.3s linear;
}
.header-icons{
    font-size:22px;
    cursor:pointer;
    z-index:100000;
}
#menu-icon{
    display: none;
    margin-bottom: 50%;
}

.search-box{
    position:absolute;
    top:110%;
    right:-100%;
}
.search-box input{
    padding:10px;
    border: none;
    outline: none;
    border-radius:0.5rem ;
    width:280px;
    box-shadow: var(--box-shadow);
}




.contact-form{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:2rem;
    

}
.contact-form form{
    position:relative;
    width:90%; 
}
form input, form textarea{
    width:100%;
    padding:14px;
    border: none;
    outline:none;
    background: rgb(28, 40,68,0.8);
    margin-bottom: 0.5rem;
    border-radius:4px;
    color:#fff;
}
form input::placeholder,
 form textarea::placeholder{
    color:#fff;
 }
 textarea{
    resize:none;
    height:200px;
 }
 form .send-btn{
    max-width:110px;
    font-size:1rem;
    font-weight:500;
    text-transform:uppercase;
 }


 .contact-icons{
    display:grid;
    margin-top: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    gap: 2rem;
}
.contact-icons a .bi{
    margin-right: 1rem;
    font-size: 24px;
    color:#fff;
    padding:10px;
    border-radius: 4px;
    background: var(--text-color);
}
.contact-icons a .bi:hover{
    background: black;

}
 





.nav{
    display:flex;
    align-items:center;
    justify-content: space-between;
    padding:20px 0;

}
.logo{
    font-size:1.1rem;
    color:var(--bog-color);
    font-weight: 600;

}
#cart-icon{
    position:relative;
    font-size: 1.8rem;
    cursor:pointer;

}
#cart-icon[data-quantity="0"]::after{
    contain:"";

}

#cart-icon[data-quantity]::after{
    content:attr(data-quantity);
    position:absolute;
    top:0;
    right: -12px;
    width:20px;
    height:20px;
    background:var(--text-color);
    border-radius:50%;
    color: white;
    font-size:12px;
    font-weight:500px;
    display:flex;
    justify-content: center;
    align-items: center;

}
.cart{
    position: fixed;
    top:0;
    right: -100%;
    width:360px;
    height: 100vh;
    padding: 20px;
    background: var(--container-color);
    box-shadow:-2px 0 4px hsl(0, 4%, 15% / 10%);
    transition: 0.3s cubic-bezier(0.076, 0.82, 0.165, 1);
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.cart-content{
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
    max-height: calc(100vh - 280px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cart-content::-webkit-scrollbar {
    display: none;
}
.cart.active{
    right:0;
    transition: 0.3s cubic-bezier(0.076, 0.82, 0.165, 1);
}
.cart-title{
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;

}
.total{
    display:flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    border-top:1px solid var(--text-color);
}
.total-title{
    font-size:1.2rem;
    font-weight: 600;
    margin-top:1rem;
}
.total-price{
    font-size: 1.075rem;
    margin:1rem 0 0 0.7rem;

}
.btn-buy{
    display: flex;
    justify-content: center;
    margin: 1.5rem auto 0 auto;
    padding:12px 20px;
    width:50%;
    text-align: center;
    border-radius: 2rem;
    background-color: var(--text-color);
    font-size:1rem;
    font-style: italic;
    font-weight: 500;
    cursor: pointer;
    color: var(--bog-color);

}

#close-cart{
    position:absolute;
    top:1rem;
    right:0.8rem;
    font-size:2rem;
    color:var(--text-color);
    cursor: pointer;
}
.cart-box{
    display:grid;
    grid-template-columns: 32% 50% 18%;
    align-items: center;
    gap:1rem;
    margin-top: 1rem;
}

.cart-img{
    width:100%;
    height:100px;
    object-fit: contain;
    object-position: center;
    padding: 10px ;
}
.detail-box{
    display:grid;
    row-gap: 0.5rem;
}
.cart-product-title{
    font-size: 1rem;
    font-weight:500;
    text-transform: uppercase;
}
.cart-price{
    font-weight:500;
}
.cart-quantity{
    border:1px solid var(--text-color);
    outline-color:var(--main-color) ;
    width: 2.8rem;
    text-align:center;
    font-size:1rem;
    border-radius: 4px;
}

.cart-remove{
    font-size: 24px;
    color: var(--main-color);
    cursor: pointer;
    /* justify-content: flex-end;
    margin-top:1.5rem; */

}

.btn{
    padding: 0.7rem 1.2rem;
    background: white;
    color:black;
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    clip-path: polygon(100% 0, 93% 50%, 86% 100%, 0 100%, 7% 50%, 14% 0);

}

.btn:hover{
    letter-spacing: 2px;
    transition:0.2s;
    background-color: #02ac70;
    color: white;
}

.home, .new, .footer{
    padding:50px 100px;
}

.home{
    width:100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    align-items:center;
    gap:1.5rem;
    background:var(--second-color);
    left: 0;
    right: 0;
}

.home-text span{
    font-size:3.4rem;
    margin-bottom:1rem;

}




.section-title{
    font-size:1.5rem;
    font-weight:600;
    text-align: center;
    margin-bottom: 1.8rem;

}


.heading{
    text-align: center;
}
.heading h1{
    font-size:1.7rem;
    font-weight: 600;
    text-transform: capitalize;
    color:white;
}
.heading span{
    padding:0.2rem 1.2rem;
    background: white;
    color:black;
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    clip-path: polygon(100% 0, 93% 50%, 86% 100%, 0 100%, 7% 50%, 14% 0);
    
}

.new-arrival{
    margin-top:2rem;
}
.new-arrival .box{
    position: relative;
    overflow: hidden;
    background:var(--second-color);
}

.new-arrival .box img{
    transition:0.2s;
    background:var(--second-color);
    width:100%;
    height: 100%;
    object-fit: cover;
}
.new-arrival .box .content{
    position: absolute;
    top:-100%;
    right:0;
    width:100%;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
    background: hsl(0, 0%, 91%, 0.5);
    overflow:hidden;
}
.new-arrival .box:hover .content{
    top:0;
    transition:0.2s;



}







.shop{
    margin-top: 2rem;
}
.shop-content{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 1.5rem;
    /* padding: 1px; */
}
.product-box{
    position: relative;
    background: #2d2e37;
    padding: 10px ;
    border-radius: 5px;
    transition:0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}


.product-box:hover{
    background:var(--bog-color);
    border:1px solid #f0f0f0;
    box-shadow: 0 8px 32px hsla(0.75, 0.82,0.165,1 );
    transition:0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.product-box:hover .product-title, .product-box:hover .price{
    color:#141414;
}

.product-img{
    width:100%;
    height:auto;
    border-radius: 5px;
    margin-bottom: 0.5rem;

}
.product-title{
    font-size:1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.price{
    font-weight:500;
}
.add-cart{
    position:absolute;
    bottom: 10px;
    right:10px;
    background: var(--text-color);
    color:var(--bog-color);
    padding:10px;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
}
.add-cart:hover{
    background: hsl(249,32%, 17%);
}

/* Success page */
.sc-container{
    width: 100%;
    height: 100vh;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.sc-container img{
    width:200px;
    margin:2rem 0;

}
.sc-container h1{
    font-size: 2.8rem;
    margin-bottom: 10px;
}
.sc-container p{
    max-width: 600px;
    font-size:0.970rem;
    text-align: center;
    margin: 0.5rem 0;
}
.sc-btn{
    padding:12px 20px;
    border-radius:2rem;
    background:var(--text-color);
    color:var(--bog-color);
    font-size: 1rem;
    font-weight: 500;
}






.about{
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(17rem,1fr)); */
    gap:1.5rem;
    align-items: center;
    width: 50%;
    margin-left: auto;
    margin-right: auto;

}
    /*
.about-title{
    display:flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}
.about-title h1{
color:var(--main-color);
font-size:1.7rem;

}
.about-title span ,.heading span {
    border-bottom: 3px solid var(--main-color);

}
.about-title h2{
font-size: 1rem;
font-weight: 500;
}
.about-img{
    width:150px;
    height:150px;
    margin-top:2rem;
}
.about-img img{
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit: cover;
    object-position: center;
} */
.social{
    display:flex;
    margin-top: 1rem;
    align-items: center;
}
.social a .bi{
    margin-right: 1rem;
    font-size: 24px;
    color:#fff;
    padding:10px;
    border-radius: 4px;
    background: var(--text-color);
}
.social a .bi:hover{
    background: black;

}
.about-text p{
    text-align:justify;
    margin-bottom: 1rem;
}
.heading{
    text-align: center;
}
/* .heading h1{
    font-size: 1.7rem;
    font-weight: bolder; */
    /* color:var(--main-color); */
/* } */
.services-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(17rem, 1fr));
    gap:1.5rem;
    margin-top: 2rem;
}

.services-container .box{
    text-align: center;
    border:2px solid var(--text-color);
    padding: 20px;
    border-radius: 0 2rem 0 0;
    box-shadow: 10px 11px 11px rgb(14 55 54 / 15%);
}
.services-container .box .bi{
    padding: 5px;
    color:#fff;
    font-size: 15px;
    background-color: var(--text-color);
    border-radius: 4px;
}
.services-container .box h2{
    font-size: 1.1rem;
    margin:1rem 0 0.5rem;

}
.services-container .box:hover{
    background: var(--text-color);
    color:#fff;
    transition: 0.5s;
}
.services-container .box:hover .bi{
    background: #fff;
    color:var(--text-color);
    transition: 0.5s ease;
}







.contact-form{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:2rem;

}
.contact-form form{
    position:relative;
    width:400px;
}
form input, form textarea{
    width:100%;
    padding:14px;
    border: none;
    outline:none;
    background: rgb(28, 40,68,0.8);
    margin-bottom: 0.5rem;
    border-radius:4px;
    color:#fff;
}
form input::placeholder,
 form textarea::placeholder{
    color:#fff;
 }
 textarea{
    resize:none;
    height:200px;
 }
 form .order-btn{
    max-width:125px;
    font-size:1rem;
    font-weight:500;
    text-transform:uppercase;
 }


.img-logo{
    width: 90px;
    height: auto;
}

 
.footer{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, auto));
    gap:1rem;
    color:white;

}
.footer-box h2{
    font-size:1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.footer-box p{
    font-size:0.9rem;
    margin-bottom: 10px;
}
.social{
    display: flex;
    align-items: center;
    column-gap:0.5rem;
}
.social a .bx{
    font-size:24px;
    color:white;
    padding:10px;
    /* background:var(--second-color); */
    border-radius: 0.5rem;
}
.social a .bx:hover{
    background: #02ac70;
    color:white;
}
.footer-box h3{
    font-weight: 600;
    margin-bottom: 10px;
    
}
.footer-box li a{
color:white;
}
.footer-box li a:hover{
    color:black;
    background: white;
}
.payment{
    display:flex;
    align-items: center;
    column-gap: 0.5rem;
}
.payment img{
    width:44px;
}
.copyright{
    padding:20px;
    text-align: center;
    color:white;
}

@media(max-width:1080px){
    .nav{
        padding:14px 0;

    }
    section{
        padding:3rem 0 2rem;
    }
    .container{
        margin:0 auto;
        width: 90%;
    }
    .shop{
        margin-top:2rem !important; 
    }
}

@media(max-width:768px){
    
    section{
        padding:2rem 0 1rem;
    }
    /* .container{
        margin:0 auto;
        width: 90%;
    } */
    .shop{
        margin-top:2rem !important; 
    }
    .img-logo{
    width: 80px;
    height: auto;
}
.about{
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(17rem,1fr)); */
    gap:1.5rem;
    align-items: center;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.891rem;

}
.footer{
    font-size: 0.891rem;
}
    

}

    




@media(max-width:600px){
    .nav{
        padding:12px 0;
    }
    .logo{
        font-size:1rem;
    }
    .cart{
        width:100%;
    }
    section{
        padding:2.3rem 0 1rem;
    }
    .shop-content{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, auto));
    gap: 1.5rem;
    
    
}
.img-logo{
    width: 70px;
    height: auto;
}
}
@media(max-width:360px){
    
    .cart{
        width:100%;
    }
    .shop{
        margin-top: 2rem !important;
    }
    section{
        padding:3rem 0 1rem;
    }
}









@media(max-width:1058px){
    header{
        padding:18px 60px;
    }
   .home, .new, .footer {
        padding:50px 60px;
    }
    .home-text h1{
        font-size:3rem;
    }
}
@media(max-width:991px){
    header{
        padding:18px 4%;
    }
    .home, .new, .footer{
        padding:50px 4%;
    }
    .home-text h1{
        font-size:2.4rem;
    }
}

@media(max-width:914px){
    header{
        padding:12px 4%;
    }
    #menu-icon{
        display: initial;
        margin: 90% ;
        top: 0;
    }
    header .navbar{
        position:absolute;
        width:240px;
        height:100vh;
        top:100%;
        right:0;
        display:flex;
        flex-direction: column;
        background:black;
        row-gap:1.4rem;
        padding: 20px;
        box-shadow: 4px 4px 0 4px rgb(14 55 54 / 15%);
        transition: 0.5s linear;
        text-align: left;
        display: none;
        
    }
    .navbar.active{
        right:0;
        display: flex;
        transition: 0.5s;
        color: white;
       

    }
    .home-text h1{
font-size:2rem;
    }
   
}
@media(max-width:360px){
.home-text span{
    font-size:0.8rem;
}

.home-text h1{
    font-size:1.7rem;

}
.cart img{
    width:77px;
}
.heading h1{
    font-size:1.4rem;
}
}

