@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600&display=swap');

*{
   font-family: 'Nunito', sans-serif;
   margin:0; padding:0;
   box-sizing: border-box;
   outline: none; border:none;
   text-decoration: none;
   transition: all .2s linear;
   text-transform: capitalize;
}

html{
   font-size: 62.5%;
   overflow-x: hidden;
}

body {
 
   font-family: 'poppins', sans-serif;
   background-color: #f7f7f7;
   color: #333;
   font-family: 'poppins', sans-serif;
   
}

header  {
 
   background-color: #B1D8B7; /* Medium Green */

   color: #fff;

   padding: 20px;

   text-align: center;

}

header h1 {
   background-color: #B1D8B7; /* Medium Green */

   color: #fff;

   padding: 20px;

   text-align: center;

}

.heading h3 {
  
      color: #B1D8B7;
  
      padding: 10px;
  
      text-align: center;

      font-size: 35px;
}

.food-category {
   color: #B1D8B7;
  
   padding: 10px;

   font-size: 30px;
}


.logo img {
 
   width: 50px; /* Adjust the size of your logo */
}

.nav {

   margin-top: 20px;

}
.nav img {
   
   width: 20px;
   
   height: 20px;

   display: flex;

   justify-content: space-between;

   justify-content: flex-end;

   background: transparent;

   border-radius: 10px;

   gap: 10px;

   

}

.nav li {

   display: inline-block;

   margin-right: 20px;

} 
.nav a {

   text-decoration: none;

   color: #189AB4;

   font-size: 16px;

}
.nav .nav-link {
   width: 20px;
   height: 20px;
   align-items: flex-end;
   justify-items: flex-end;
}


.container{
   max-width: 1200px;
   margin:0 auto;
   padding:3rem 2rem;
}

.container .title{
   font-size: 3.5rem;
   color:#444;
   margin-bottom: 3rem;
   text-transform: uppercase;
   text-align: center;
}

.container .products-container{
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
   gap:2rem;
}

.container .products-container .product{
   text-align: center;
   padding:3rem 2rem;
   background: #fff;
   box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
   outline: .1rem solid #ccc;
   outline-offset: -1.5rem;
   cursor: pointer;
}

.container .products-container .product:hover{
   outline: .2rem solid #4cad26;
   outline-offset: 0;
}

.container .products-container .product img{
   display: cover;
   height: 25rem;
   border-radius: 30px;
}

.container .products-container .product:hover img{
   transform: scale(.9);
}

.container .products-container .product h3{
   padding:.5rem 0;
   font-size: 2rem;
   color:#444;
}

.container .products-container .product:hover h3{
   color:#27ae60;
}

.container .products-container .product .price{
   font-size: 2rem;
   color:#444;
}

.products-preview{
   position: fixed;
   top:0; left:0;
   min-height: 80vh;
   width: 100%;
   background: rgba(0,0,0,.8);
   display: none;
   align-items: center;
   justify-content: center;
}

.products-preview .preview{
   display: none;
   padding:2rem;
   text-align: center;
   background: #fff;
   position: relative;
   margin:2rem;
   width: 40rem;
}

.products-preview .preview.active{
   display: inline-block;
   width: 1000px;
}

.products-preview .preview img{
   height: 10rem;
}
.products-preview .preview h4{
   padding:.5rem 0;
   font-size: 1.5rem;
   color: #27ae60;
}
.products-preview .preview li{
   padding:.3rem 0;
   font-weight: bolder;
   font-size: 1rem;
   
}
.products-preview .preview .fa-times{
   position: absolute;
   top:1rem; right:1.5rem;
   cursor: pointer;
   color:#444;
   font-size: 4rem;
}

.products-preview .preview .fa-times:hover{
   transform: rotate(90deg);
}

.products-preview .preview h3{
   color:#444;
   padding:.5rem 0;
   font-size: 2.5rem;
  
}

.products-preview .preview .stars{
   padding:1rem 0;
   font-size: 1.7rem;
}

.products-preview .preview .stars i{
   color:#27ae60;
}

.products-preview .preview .stars span{
   color:#999;
}

.products-preview .preview p{
   line-height: 1.5;
   padding:1rem 0;
   font-size: 1.6rem;
   color:#777;
}

.products-preview .preview .price{
   padding:1rem 0;
   font-size: 2rem;
   color:#27ae60;
}

.products-preview .preview .buttons{
   display: flex;
   gap:1.5rem;
   flex-wrap: wrap;
   margin-top: 1rem;
}

.products-preview .preview .buttons a{
   flex:1 1 16rem;
   padding:1rem;
   font-size: 1.8rem;
   color:#444;
   border:.1rem solid rgb(63, 194, 63);
}

.products-preview .preview .buttons a.cart{
   background:rgb(88, 121, 88);
   color:#fff;
}

.products-preview .preview .buttons a.cart:hover{
   background: rgb(63, 194, 63);
}

.products-preview .preview .buttons a.buy:hover{
   background: rgb(63, 194, 63);
   color:#fff;
}

/* Footer styles */

footer {

   background-color: #5cb85c; /* Medium Green */

   color: #fff;

   text-align: center;

   padding: 20px 0;

   display: flex;

   justify-content: space-between;

   align-items: center;

}

.social-icons {

   display: flex;

}

.social-icon {

   color: #fff;

   font-size: 20px;

   margin-left: 10px;

}

.social-icon:hover {

   color: #f4d35e; /* Yellow */

}

.hero-image {

   width: 100%; /* Ensure the image fills the entire width of its container */

   max-height: 400px; /* Set a maximum height to prevent the image from becoming too tall */

   object-fit: cover; /* Ensure the image covers the entire container while maintaining its aspect ratio */

   border-radius: 10px; /* Add a border-radius for rounded corners, if desired */

   box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow for depth */

}

@media (max-width:991px){

   html{
      font-size: 55%;
   }

}

@media (max-width:768px){

   .products-preview .preview img{
      height: 25rem;
   }

}

@media (max-width:450px){

   html{
      font-size: 50%;
   }

}