body {
  box-sizing: border-box;
  font-family:"Nunito", sans-serif;
  background-color: #f6f5f1;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
  padding-top: 10px;
}
p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
a {
  text-decoration: none;
}
footer {
  margin-top: 200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
}
.footer-text{
  font-weight: 600;
}
.social-icons{
  display: flex;
  gap: 30px;
}
.social-icons img {
  cursor: pointer;
}
.mid_nav{
  display: flex;
  gap: 30px;
}
.mid_nav a{
  font-weight: 500;
  color: #395852;
  text-decoration: none;
  cursor: pointer;
}
.mid_nav a:hover {
  text-decoration: underline orangered  5px;
}
.mid_nav a.active {
  text-decoration: underline orangered  5px;
}
.nav_button {
  text-decoration: none;
  padding: 20px 12px;
  background-color: #163a34;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}
.hero_section{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 0px 4rem;
  margin-bottom: 100px;
}
.hero_inner{
  text-align: center;
 
}
.hero_title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 110%;
  letter-spacing: -2px;
  color: rgb(22, 58, 52);
  margin-bottom: 0.75rem;
}
.hero_text{
  font-size: 1.23rem;
  line-height: 150%;
  letter-spacing: -0.4px;
}


/* HAMBURGER MENU */
.hamburger-icon {
  position: relative;
}
.hamburger {
  display: none;
  cursor: pointer;
}
.hamburger-menu {
  display: none;
  justify-content: center;
  width: 100%;
  position: absolute;
}
.menu-options {
  display: flex;
  gap: 5px;
  width: 80%;
  flex-direction: column;
  background-color: rgb(236, 234, 234);
  padding: 20px;
  border-radius: 10px;
}
.tab-menu {
  padding: 15px;
  background-color: #f5f5f5;
  color: #163a34;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.3rem;
  border-radius: 8px;
  cursor: pointer;
}
.tab-menu:hover {
  background-color: rgb(247, 247, 247);
}
.btn-menu {
  padding: 15px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1.3rem;
  background-color: #163a34;
  color: white;
  cursor: pointer;
}
.btn-menu:hover {
  background-color: #395852;
}
/*-------*/


/* RECIPIE CARDS STYLES*/

.recipies {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr 0.5fr;
  align-items: center;
  justify-items: center;
  row-gap: 1.6rem;
}
.servings {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #395852;
}
.servings-ctn {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  
}
.View-btn {
  padding: 0.75rem 7.85rem;
  background-color: #163a34;
  color: white;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
}
.card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding: 10px;
  background-color: white;
  width: 350px;
  height: 36rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
}
.card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}
.card-image {
  width: 99.5%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
  border-radius: 10px;
  cursor: pointer;
}
.card-image:hover {
  transform: scale(1.04);
}
.card-title{
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #163a34
}
.card-text{
  margin-top: 0;
  color: #395852;
}

@media (max-width: 940px) {
   .nav_button {
    display: none;
  }
    .hamburger-menu.active {
    display: flex;
    left: 0;
    top: 63px;
  }
  .mid_nav {
    display: none;
  } 
  .hamburger {
    display: block;
    padding: 15px;
    background-color: #9c9c9c;
    border-radius: 5px;
  }
  .hamburger:hover {
    background-color: #c2c1c0;
  }
  .recipies {
     grid-template-columns: 0.5fr 0.5fr ;
     row-gap: 4.2rem;
  }
  .card {
    width: 90%;
    height: 100%;
  }
  .View-btn {
    padding: 3% 30% ;
  }
  .servings-ctn {
    margin-bottom: 30px;
  }
}

@media (max-width: 640px) {
  .recipies {
    grid-template-columns: 1fr;
  }
}