@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,500;0,600;1,200;1,500&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root{
    --main-color:#008148;
    --second-color:#1e3932;
}

section{
    padding: 50px 10%;
}

*::selection{
    color: white;
    background: var(--main-color);
}

img{
    width: 100%;
}


header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    box-shadow: 0 4px 41px rgb(14 55 54 / 14%);
    transition: .2s;
}

.logo img{
    width: 50px;
    border-radius: 50%;
    padding: 10px 10px;
}
.navbar {
    display: flex;
 
}
.navbar a{
    font-size: 1rem;
    padding: 11px 20px;
    color: var(--second-color);
    font-weight: 600;
    text-transform: uppercase;
}

.navbar a:hover{
    color: var(--main-color);
}

#menu-icon{
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: none;
}


.home{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #ebdbc8;
    gap: 1rem;
}

.home-text{
    flex: 1 1 17rem;
}
.home-img{
    flex: 1 1 17rem;
}

.home-img img{
    animation: animate 3s linear infinite;
}
@keyframes animate{
    0%{
        transform: translate(-11px, 0);
    }
    50%{
        transform: translate(-0px, -11px);
    }
    100%{
        transform: translate(-11px, 0);
    }
}

.home-text span{
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--second-color);

}

.home-text h1{
    font-size: 3.2rem;
    color: var(--main-color);
    font-weight: bolder;
}

.home-text h2{
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--second-color);
    text-transform: capitalize;
    margin: 0.5rem 0 1.4rem;
}

.btn{
    padding: 7px 16px;
    border: 2px solid var(--second-color);
    border-radius: 40px;
    color: var(--second-color);
    font-weight: 500;
}

.btn:hover{
    color: white;
    background: var(--second-color);

}

.heading{
    text-align: center;
    text-transform: uppercase;
}

.heading span{
    font-size: 1rem;
    font-weight: 600;
    color: var(--second-color);
}

.heading h1{
    font-size: 2rem;
    color: var(--main-color);
}


.shop-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 7rem;
}
 .shop-container .box{
    flex: 1 1 10rem;
    background: var(--main-color);
    padding: 20px;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    border-radius: 0.5rem;
 }

 .shop-container .box .box-img{
    width: 250px;
    height: 250px;
    margin-top: -100px;

 }

 .shop-container .box .box-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: .5px solid var(--main-color);
    border-radius: 10px;
    background:#ebdbc8;


 }
 .stars{
    margin: 1rem 0 0.1rem;
 }

 .shop-container .box .stars a{
    color: white;
 }

 .shop-container .box h2{
    color: white;
    font-size: 1.2rem;

 }

 .shop-container .box span
 {
    color: #ebdbc8;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0.2rem 0 0.5rem;
 }

 .box .btn{
    border: 2px solid #ebdbc8;
    color: #ebdbc8;
 }

 .box .btn:hover{
    background: #ebdbc8;
    color: #1e3932;
 }


 .container{
    display: flex;
    flex-wrap: wrap;
    gap :1.5rem;
    margin-top: 2rem;
 }

 .delivery-img{
    flex: 1 1 21rem;
   
 }
 .delivery-img img{
    border-radius: 10px;
    margin-left: -8px;
 }


 .delivery-text{
    flex: 1 1 21rem;
    margin-top: 70px;
 }

 .delivery-text h2{
    font-size: 1.2rem;
    color: var(--second-color);
 }

 .delivery-text p{
    margin: 0.5rem 0 1rem;
    text-align: justify;
 }

 .about{
    display: flex;
    flex-wrap: wrap;
    background: #ebdbc8;
    gap: 1.5rem;
 }

 .about-imgs{
    flex: 1 1 17rem;
 }
 .about-imgs img{
    width: 230px;
    border: 1px solid var(--second-color);
    border-radius: 5px;

 }
 .about-imgs .img1{
    transform: translateX(-10px);
 }
 .about-imgs .img2{
    transform: translateY(100px);
    margin-left: -160px;
   
 }
 
 .about-imgs .img3{
    transform: translateX(160px);
    margin-top: 50px;
 }
  .about-imgs .img4{
    transform: translateX(-70px);
 }


 .about-text{
    flex: 1 1 17rem;
    margin-top: 120px;

 }

 .about-text h2{
    font-size: 1.2rem;
    color: var(--second-color);
 }

 .about-text p{
    margin: 0.5rem 0 1rem;
    text-align: justify;
 }
.contact{
    display: flex;
    flex-direction: column;
    align-items: center;
}
 .social a{
    font-size: 27px;
    margin: 0.5rem;
 }

 .social a .fa{
    padding: 12px;
    background: black;
    color: white;
    border-radius: 50%;


 }

 .social a .fa:hover{
    background: var(--main-color);
 }

 .links{
    margin: 1rem 0 1rem;
 }

 .links a{
    font-size: 1rem;
    font-weight: 500;
    color: var(--second-color);
    padding: 1em;
 }
 .links a:hover{
    color: var(--main-color);
 }
.contact p{
    text-align: center;
}


/* media queries */

@media (max-width:1150px ){
    header{
        padding: 18px 7%;
    }
    section{
        padding: 50px 7%;
    }
    .home-text h1{
        font-size: 3rem;
    }
    .home-text h2{
        font-size: 1.5rem;
    }
}

@media (max-width:991px ){
    header{
        padding: 18px 4%;
    }
    section{
        padding: 50px 4%;
    }
   
}

@media (max-width:768px ){
    header{
        padding: 11px 4%;
    }
   
   #menu-icon{
    display: initial;
   }

   header .navbar{
    position: absolute;
    top: -500px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: 0 4px 4px rgb(14 55 54 / 14%);
    border-top: 2px solid var(--main-color);
    transition: 0.2s;
    text-align: left;
   }
   .navbar.active{
    top: 100%;
   }
   .navbar a{
    padding: 1.5rem;
    display: block;
    color: var(--second-color);
   }
   .home-text span{
    font-size: 0.9rem;
   }
   .home-text h1{
    font-size: 2.4rem;
   }
   .home-text h2{
    font-size: 1.2rem;
   }
}


@media (max-width:768px ){
    .home-text{
        padding-top: inherit;
    }
    .shop-container .box{
        margin-top: 6rem; 
    }
    .about-imgs img{
        
    }
    .heading h1{
        font-size: 1.5rem;
    }
    
    .heading span{
        font-size: 0.9rem;
    }


}
 


