@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

:root{
  --green: #27ae60;
  --black: #2c2c54;
}
*{

  font-family: 'Nunito', sans-serif;
  margin:0;padding:0;
  box-sizing: border-box;
  outline: none; border:none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all .2s linear;
}
*::selection{
    background: var(--green);
    color: #fff;
}
html{
    font-size:62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
}
section{
    padding: 2rem 9%;
}
.btn{
    background: var(--green);
    display: inline-block;
    color: #FFFFFF;
    margin-top: 1rem;
    padding: .8rem 3rem;
    border-radius: 0.5rem;
    font-size: 1.7rem;
    text-align: center;
}
.btn:hover{
    background: var(--black);
}
.heading{
    text-align: center;
    font-size: 3.5rem;
    padding: 1rem;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 2rem;
}
.heading span{
    text-transform: uppercase;
    color: var(--green);
}
/*header sectiom*/
.header-1{
    background: #eee;
    display: flex;
    justify-content: space-between;
    justify-items: center;
    padding: 2rem 9%;
}
.logo{
    color: var(--black);
    font-weight: bolder;
    font-size: 3rem;
}
.logo i{
    color: var(--green);
    padding-right:0.5rem;
}
.header-1 .search-box-container{
    display: flex;
    height: 5rem;
}
.header-1 .search-box-container #search-box{
    width:100%;
    height:100%;
    padding:1rem;
    font-size: 2rem;
    color: #333;
    border: .1rem solid rgba(0,0,0,0.3);
    text-transform: none;
}
.header-1 .search-box-container label{
    background: var(--green);
    height: 100%;
    width: 8rem;
    font-size: 2.5rem;
    line-height: 5rem;
    color: #FFFFFF;
    text-align: center;
    cursor: pointer;
}
.header-1 .search-box-container label:hover{
    background: var(--black);
}

.header-2 {
    background: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 9%;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    position: relative;
}
.header-2.scroll{
    position: fixed;
    top: 0;
    right: 0;left: 0;
    z-index: 99;
}
.header-2 .navbar a{
    padding: 0.5rem 2rem;
    font-size: 2rem;
    border-radius: 0.5rem;
    color: var(--black);
}
.header-2 .navbar a:hover{
    background: var(--green);
    color: var(--black);
}
.header-2 .icons a{
    color: var(--black);
    font-size: 2.5rem;
    padding-left: 1rem;
}
.header-2 .icons a:hover{
    color: var(--green);
}
.header-2 #menu-bar{
    font-size: 3rem;
    border-radius: 0.5rem;
    border: .1rem solid var(--black);
    padding: 0.8rem 1.5rem;
    color: var(--black);
    cursor: pointer;
    display: none;
}
/*main section*/

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.home .image{
    flex: 1 1 40rem;
    padding-top: 5rem;
}
.home .image img{
    width: 100%;
}
.home .content{
    flex: 1 1 40rem;
}
.content span{
    font-size: 3rem;
    color: #666;
}
.content h3{
    font-size: 5rem;
    color: var(--black);
}

/*banner section*/
.banner-container{
    display: flex;
   flex-wrap: wrap;
    gap: 1.5rem;

}
.banner-container .banner{
    flex:1 1 40rem;
    overflow: hidden;
    height: 25rem;
    position: relative;
}
.banner-container .banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-container .banner .content{
    position: absolute;
    top: 50%;
    left: 4%;
    transform: translateY(-50%);
}

.banner-container .banner .content h3{
    font-size: 3rem;
    color: var(--black);
}
.banner-container .banner .content p{
    font-size: 2rem;
    color: #333333;
}

.banner-container .banner img:hover{
    transform: scale(1.2) rotate(-5deg);
}

/*category section*/

.category .box-continuer{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.category .box-continuer .box{
    border: .1rem solid rgba(0,0,0,.3);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    flex: 1 1 25rem
}

.category .box-continuer .box h3{
    font-size: 3.5rem;
    color: var(--black);
}
.category .box-continuer .box p{
    font-size: 2rem;
    color: #333333;
    padding: 0.5rem 0;
}
.category .box-continuer .box .btn{
   display: block;

}
.category .box-continuer .box img{
    width: 20rem;
    margin: 0.5rem 0;

}

/*product section*/
.product .box-continuer{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.product .box-continuer .box{
    border: .1rem solid rgba(0,0,0,.3);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    flex: 1 1 30rem;
    overflow: hidden;
    position: relative;

}
.product .box-continuer .box .discount{
    position: absolute;
    top:1rem;
    left: 1rem;
    background: rgba(0,252,0,.1);
    color:var(--green);
    padding: 0.7rem 1rem;
    font-size: 2rem;
    border-radius: 0.3rem;

}
.product .box-continuer .box .icons{
    position: absolute;
    top:0.5rem;
    right: -6rem;
}
.product .box-continuer .box:hover .icons{
    right: 1rem;
}
.product .box-continuer .box .icons a{
    display: block;
    background: rgba(0,0,0,0.05);
    color: var(--black);
    width: 4.5rem;
    height: 4.5rem;
    line-height: 4.5rem;
    border-radius: 50%;
    font-size: 1.7rem;
    margin-top:0.7rem;
}
.product .box-continuer .box .icons a:hover{
    background: var(--green);
}
.product .box-continuer .box img{
    height: 20rem;
}
.product .box-continuer .box h3{
    font-size: 2.5rem;
    color: var(--black);
}
.product .box-continuer .box .stars i{
    color: gold;
    padding: 1rem .1rem;
    font-size: 1.7rem;
}
.product .box-continuer .box .price{
    font-size: 2rem;
    color: #333333;
    padding: .5rem 0;
}
.product .box-continuer .box .price span {
    text-decoration: line-through;
    font-size: 1.5rem;
    color: #999;
}
.product .box-continuer .box .quantity{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}
.product .box-continuer .box .quantity span {
    font-size: 1.7rem;
    padding: 0 0.7rem;
}
.product .box-continuer .box .quantity input {
    border: .1rem solid rgba(0,0,0,0.3);
    color: var(--black);
    padding: .5rem;
    font-size: 1.5rem;
    font-weight: bolder;
    background:  rgba(0,0,0,0.03);
}
.product .box-continuer .box .btn{
   display: block;
}
/*deal section*/
.deal {
    background: url("images/deal-bg.jpg") no-repeat ;
    background-size: cover;
    background-position: center;
    padding-top: 7rem;
    padding-bottom: 7rem;
}
.deal .content{
    max-width: 50rem;
}
.deal .content .title{
    font-size: 4rem;
    color: var(--black);
}
.deal .content p{
    font-size: 1.7rem;
    padding: 1rem 0;
    color: #333333;
}
.deal .content .count-down{
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
}
.deal .content .count-down .box{
    margin-top: 2rem;
    border: .1rem solid rgba(0,0,0,0.3);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    width: 9rem;
    text-align: center;
}
.deal .content .count-down .box h3{
    color: var(--black);
    text-align: center;
    background: #FFFFFF;
    height: 7rem;
    line-height: 7rem;
    width: 100%;
    font-size: 5rem;
}
.deal .content .count-down .box span{
    display: block;
    background: var(--black);
    color: #FFFFFF;
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    font-size: 2rem;
}
/*contact section*/
.contact form{
    border: .1rem solid rgba(0,0,0,0.3);
    padding: 2rem;
    text-align: center;
}
.contact form .input-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.contact form .input-box input , .contact form  textarea{
    padding: 1rem;
    font-size: 1.7rem;
    background: #f7f7f7;
    margin: 1rem 0;
    border: .1rem solid rgba(0,0,0,0.3);
    text-transform: none;
    width: 49%;
}

.contact form textarea{
    height: 20rem;
    resize: none;
    width: 100%;
}
/*newsletter section*/
.newsletter{
    background: url("images/newsletter-bg.jpg") no-repeat;
    background-position:center ;
    background-size: cover;
    padding: 5rem 2rem;
    text-align: center;
    margin-top: 2rem;

}
.newsletter .title{
    font-size: 3rem;
    color: var(--black);
}
.newsletter form{
    display: flex;
    align-items: center;
    max-width: 55rem;
    margin: 1rem auto;
    padding: 1.5rem;
    background: rgba(0,0,0,.1);
}
.newsletter form .box{
    text-transform: none;
    padding: .7rem 1.5rem;
    width: 100%;
    color: #333333;
    font-size:1.7rem;
}
.newsletter form .btn{
    margin: 0;
}
/*footer section*/
footer{
    padding: 1rem 9%;
    margin-top: 1rem;
}
footer .box-container{
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;

}
footer .box-container .box{
    flex: 1 1 25rem;
    padding:1rem 0;
}
footer .box-container .box p{
    font-size: 1.3rem;
    color: #666666;
    padding: .7rem 0;
}
footer .box-container .box .share a{
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    padding: 0;
    text-align: center;
}
footer .box-container .box h3{
    font-size: 2.5rem;
    color: var(--black);
}
footer .box-container .box .links{
    padding: 1rem 0;
}
footer .box-container .box .links a{
    display: block;
    padding: .5rem 0;
    color: #333;
    font-size: 1.7rem ;
}
footer .box-container .box .links a:hover{
    color: var(--green);
    text-decoration: underline;
}
footer .credit{
    padding: 2.5rem 1rem;
    border-top:.1rem solid rgba(0,0,0,.1) ;
    margin-top: 1rem;
    text-align: center;
    font-size: 2rem;
}
footer .credit span{
    color: var(--green);
}




@media (max-width: 1200px){
    html{
        font-size: 55%;
    }

}
@media (max-width: 991px){

    .header-1,.header-2 {
        padding: 2rem;
    }
    section{
        padding: 2rem;
    }


}
@media (max-width: 768px){

    .header-2 #menu-bar{
        display: initial;
    }
    .header-2 .navbar{
        position: absolute;
        top: 100%;
        left: 0;right: 0;
        background: var(--black);
        padding: 1rem 0;
        display: none;
    }

    .header-2 .navbar.active{
        display: initial;
    }
    .header-2 .navbar a{
        display: block;
        font-size: 2.5rem;
        background: #FFFFFF;
        text-align: center;
        padding: 1rem;
        margin: 1.5rem ;
    }

    .home .content{
        text-align: center;
    }
    .home .content h3{
        font-size: 4rem;
    }
    .deal{
        background-position:left;
    }
    .deal .content {
        max-width: 100%;
        text-align: center;
    }
    .deal .content .count-down{
        justify-content: center;
    }
    .contact form .input-box input{
        width: 100%;
    }
    .newsletter .title{
        font-size: 2.2rem;
    }


}

@media (max-width: 450px){
    html{
        font-size: 50%;
    }
    .header-1{
        flex-flow: column;
    }
    .logo{
        text-align: center;
        font-size: 4rem;
    }
    .header-1 .search-box-container{
        width: 100%;
        margin-top: 0.2rem;
    }
    .heading{
        font-size: 3rem;
    }
    .deal .content .count-down .box h3{
        font-size: 4rem;
    }
    .deal .content .count-down .box span{
        font-size: 1.5rem;
    }




    }

