body{
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

/*navigation bar*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(246, 241, 229);
  padding: 15px;
}

.logo {
  font-size: 0; 
}

.logo img {
  max-height: 100px; 
}

.nav-links {
  list-style-type: none;
  display: flex;
}

.nav-item {
  margin-right: 20px;
}

.nav-link {
  text-decoration:none;
  color: black;
  transition: color 0.3s ease;
  font-weight: 500;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font: bold;
}

.nav-link:hover {
  color: rgb(156, 230, 156);
}

.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0px solid lightgray;
  padding: 5px;
  border-radius: 200x;
}

.search-bar input[type="text"] {
  border: none;
  outline: none;
  padding: 5px;
  font-size: 14px;
}

/* Cart Icon */
.cart-icon {
  margin-left: 10px; 
}

.cart-img {
  max-height: 40px; 
  transition:1.0s ease-in-out;
}

.cart-img:hover {
  transform: scale(1.1);
}

.main_img{
  height: 75vh;
  max-width: 100%;
  background-image: url(../Images/home\ page\ main.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}


  /*Intro*/

  .intro{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 40px;
    background-color:rgb(246, 241, 229); 
  }

  h1{
    font-size: 30px;
    font-weight: 550;
    font-style: italic;
    color: #52392F;
    transition: 0.6s;
  }
  h1:hover{
    color: rgb(54, 112, 71);
  }

  p{
    color:black;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 22px;
    padding:10px;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }

  hr{
    border: none; 
    border-top: 2px solid black; 
    margin: 10px 0;
    
  }

  .row{
    margin:4%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
  }

.intro-col{
    flex-basis: 31%;
    background: #ebe3d8;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.intro-col:hover{
    box-shadow: 0 0 20px 0px rgb(73, 97, 67);
}

/* ------ Categories ------*/

.categories{
  margin-top: 0%;
  width:100%;
  margin : auto;
  text-align: center;
  padding-top: 0px;
  background-color:rgb(246, 241, 229);
  height: 80vh;
}
.categories p{
font-weight: 400;
}

.categories-col{
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 1px;
  position: relative;
  overflow: hidden;
}

.categories-col img{
  width: 100%;
  height: 70%;
  display: flex;
  border-radius: 5%;
}

.layer{
  background: transparent;
  height: 70%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
  border-radius: 5%;
}

.layer:hover{
  background:rgba(245, 241, 213, 0.7) ;
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-style: 26px;
  font-family: arial black;
  bottom: 0;
  left:0%;
  position: absolute;
  opacity: 0;
  transition: 0.9s;
}
 
.layer:hover h3{
  bottom: 49%;
  opacity: 1 ;
}

/*features of the grocery sections*/

.feature{
  width: 100%;
  min-width: 100vh;
  height: 75vh;
  background-color: #f8f3e6;
  transition: 0.8s;
}

.feature:hover{
  background-color:rgb(234, 243, 214)  ;
  color:#fff;
  border-radius: 70px;
}


.container{
  width: 80%;
  display: block;
  margin: auto;
  padding-top: 100px;
}

.feature-section{
  float: left;
  width: 55%;
}

.image-section{
  float: right;
  width: 40%;
}

.image-section img{
  width:100%;
  height:auto;
}

.feature-section .title{
  text-transform: uppercase;
  font-size: 22px;
}

.feature-section .content{
  margin-top: 20px;
  color: #2d2c2c;
}

.feature-section .content p{
  margin-top: 10px;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

 .feature-section .content .button{
    margin-top: -5px;
    margin-bottom: 25px;
    
  }

  .feature-section .content .button a{
    background-color: #3d3d3d;
    padding: 10px 38px;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    letter-spacing: 1.5px;
    transition: 0.5s ease-in-out;
  }

  .feature-section .content .button a:hover{
    background-color: rgb(250, 235, 198);
    color: #000;
  }

  /*footer styling*/

.container1{
  max-width: 1100px;
  margin: auto;
}

.row1{
  display: flex;
  flex-wrap: wrap;
}

.list{
  list-style: none;
}

.footer{
  background-color: #ac9a89;
  padding: 60px 0;
}

.footer-col{
  width: 25%;
  padding: 0 14px;
}

.footer-col h4{
  font-size: 18px;
  color: #412206;
  margin-bottom: 30px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before{
  content: '';
  position: absolute;
  left: 0px;
  bottom: -10px;
  background-color: rgb(89, 46, 9);
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footer-col ul li{
  margin-bottom: 10px;
}

.footer-col ul li a{
  font-size: 16px;
  font-weight: 300;
  color: #311c01;
  text-decoration: none;
  display: block;
  transition: all 0.5s ease;
}

.footer-col ul li a:hover{
  color: rgb(33, 119, 38);
  padding-left: 8px;
}

.footer-col .social-links a{
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(19, 18, 18, 0.2);
  margin:0 10px 10px 0;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  color:#fff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover{
  color: #acf096;
  background-color: #000;
}

@media (max-width:930px){
    html, body {
    overflow-x: hidden;

    }
    .navbar {
      flex-direction: column;
      width: 100%;
      background-color: rgb(246, 241, 229);
    }
  
    .nav-links {
      flex-direction: column;
      align-items: center;
    }

    .nav-link:hover {
      color: rgb(156, 230, 156);
    }
  
    .nav-item {
      margin-right: 0;
      margin-bottom: 10px;
    }
  
    .search-bar {
      width: 100%;
    }
    .main_img{
      height:30vh;
      width:100%;
  }
  .intro{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 40px;
    background-color:rgb(246, 241, 229); 
  }

  h1{
    font-size: 20px;
    font-weight: 450;
  }

  p{
    color:black;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 16px;
    padding:10px;
    margin-top: -15px;
  }
  .row{
    display: block;
  }

  .categories{
    height: 110vh;
    padding-top:0px ;
  }
 
  .categories p{
  font-weight: 300;
  margin-top: 3px;
  }
  
  .categories-col{
    flex-basis: 12%;
    border-radius: 10px;
    margin-bottom: 9px;
    position: relative;
    overflow: hidden;
  }
  
  .categories-col img{
    width: 80%;
    height: 30vh;
    display:block;
    border-radius: 5%;
    margin-left: 10%;
  }

  .layer{
    height: 30vh;
    width: 80%;
    margin-left: 10%;
  }
   
  .layer:hover h3{
    bottom: 40%;
    opacity: 1 ;
  }

  .feature{
    height: 80vh;
   
  }

  .feature:hover{
    border-radius: 0px;
  }
  .feature-section{
    float: none;
    width: 55%;
    margin-top: -7vh;
    text-align: center;
    margin-right: 100%;
    
  }

  .image-section{
    float: none;
    width: 40%;
    margin-left: -3%;
  }

  .feature-section .title{
    margin-right: 40%;
  }
  
  .feature-section .content{
    margin-top: 20px;
    color: #2d2c2c;
  }
  
  .feature-section .content p{
    margin-top: 3px;
    line-height: 1.4;
    margin-right:30%;
    text-align: left;
  }
  
   .feature-section .content .button{
      margin-top: -5px;
      margin-bottom: 25px;
      margin-right: 130px;
    }

    .feature-section .content ul{
      margin-right: 30%;
    }

    .content h3{
      margin-right: 40%;
    }
}

/*ipad mini*/

@media (max-width:768px){
  .feature{
    height: 80vh;
   
  }

  .feature:hover{
    border-radius: 0px;
  }
  .feature-section{
    float: none;
    width: 55%;
    margin-top: -7vh;
    text-align: center;
    margin-right: 100%;
    
  }

  .image-section{
    float: none;
    width: 50%;
    margin-left: 10%;
    height: 40vh;
    margin-top: 50px;
  }

  .feature-section .title{
    margin-left: 20%;
    text-align:center;
  }
  
  .feature-section .content{
    margin-top: 20px;
    color: #2d2c2c;
  }
  
  .feature-section .content p{
    margin-top: 3px;
    line-height: 1.4;
    margin-right:10%;
    margin-left: 30%;
    text-align:center;
  }
  
   .feature-section .content .button{
      margin-top: -5px;
      margin-bottom: 25px;
      margin-right: 0px;
    }

    .feature-section .content ul{
      margin-right: 0%;
    }

    .content h3{
      margin-left: 30%;
    }
}

/*iphone SE*/

@media (max-width:375px)  {
  .feature{
    height: 125vh;
   
  }

  .image-section{
    margin-left: -2%;
  }

  .feature-section .title{
    margin-left: 10%;
    text-align:center;
  }

  .content h3{
    margin-left: 10%;
  }

  .feature-section .content p{
    margin-top: 3px;
    line-height: 1.4;
    margin-right:10%;
    margin-left: 8%;
    text-align:center;
  }

}

/*iphone 12 pro*/

@media (max-width:390px)  {
  .feature{
    height: 90vh;
   
  }

  .image-section{
    margin-left: -8%;
  }

  .feature-section .content .button{
    margin-right: 30%;
  }

  .feature-section .content p{
    margin-left: -2%;
  }

}

/*surface pro*/

@media (max-width:912px){

  .feature{
    height: 50vh;
   
  }

  .image-section{
    margin-left: 8%;
  }

  .feature-section .content .button{
    margin-right: 10%;
  }

  .feature-section .content p{
    margin-left: 0%;
  }

}

/*surface duo*/

@media (max-width:540px){

  .feature{
    height: 100vh;
   
  }

  .image-section{
    margin-left: 8%;
  }

  .feature-section .content .button{
    margin-right: -15%;
  }

  .feature-section .content p{
    margin-right: -30%;
  }

  .content h3{
    margin-right: -1%;
  }

  .feature-section .title{
    margin-right: -10%;
  }

}

/*Azuz Zenbook Fold*/

@media (max-width:853px){

  .feature{
    height: 50vh;
   
  }

}

.dropdown-menu {
  list-style-type: none;
  display: none;
  position: absolute;
  background-color: rgb(246, 241, 229);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 10px;
}

.dropdown-menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item:hover{  
  color: #acf096;
}
