* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  list-style: none;
  text-decoration: none;
}
body {
  width: 100%;
  min-height: 100vh;
  background: white;
}
/* header section starts */
header {
  height: 60px;
  width: 100%;
  background: #0a0a0a;
  color: white;
  display: flex;
  align-items: center;
}
.containerdiv {
  width: 90%;
  margin: 0px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-list{
    display: none;
  }
.nav-list li {
  display: inline;
  margin-right: 20px;
  font-weight: 550;
}
.logo {
  font-size: 24px;
}
/* hero section starts */
.hero {
  width: 100%;
  height: auto;
  background: url(../images/hero.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  text-align: center;
  padding: 140px 0;
  margin-bottom: 20px;
}
.hero h2 {
  font-size: 36px;
  margin-bottom: 10px;
}
.hero p {
  font-size: 20px;
  margin-bottom: 10px;
}
.search-box {
  max-width: 550px;
  margin: 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: red;
}
.search-box input {
  width: 70%;
  padding: 10px;
  outline: none;
  border: 0;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
}
.search-box button {
  padding: 10px;
  outline: none;
  border: 0;
  border-radius: 0 5px 5px 0;
  font-size: 1rem;
  background: red;
  cursor: pointer;
  color: white;
}
/* Receipe section starts */
.recipe {
  padding: 50px 0;
}
.recipe h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
}
.recipe-section {
  width: 90%;
  margin: 0px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.recipe-card {
  background-color: white;
  margin: 30px 10px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.recipe-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.recipe-card h2 {
  font-size: 22px;
  padding: 20px;
}
.recipe-card figcaption {
  font-size: 18px;
  padding: 20px;
}
.recipe-card a {
  display: block;
  text-align: center;
  background: #0a0a0a;
  color: white;
  padding: 15px 0;
  cursor: pointer;
}
/* footer section starts */
footer {
  background: #0a0a0a;
  padding: 20px 0;
  color: white;
  text-align: center;
}
/* menu-icon */
.menu-icon {
  font-size: 24px;
  padding: 20px;
  text-align: right;
  cursor: pointer;
  display: block;
}
/* tablet view */
@media (min-width: 768px) {
  .menu-icon{
    display: none;
  }
  .nav-list{
    display: block;
  }
}

@media (min-width: 768px) {
  .hero h2{
    font-size: 28px;
  }
  .hero p{
    font-size: 15px;
  }
}
