@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);
* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}
:root {
  --font-poppins: "Poppins", sans-serif;
  --font-geist-mono: "Geist Mono", "Geist Mono Fallback";
  --color-amber-500: oklch(0.769 0.188 70.08);
  --color-amber-600: oklch(0.666 0.179 58.318);
  --color-amber-700: oklch(0.555 0.163 48.998);
  --color-amber-800: oklch(0.473 0.137 46.201);
  --color-amber-900: oklch(0.414 0.112 45.904);
  --color-green-800: oklch(0.448 0.119 151.328);
  --color-green-900: oklch(0.393 0.095 152.535);
  --color-gray-50: oklch(0.985 0.002 247.839);
  --color-gray-100: oklch(0.967 0.003 264.542);
  --color-gray-200: oklch(0.928 0.006 264.531);
  --color-gray-300: oklch(0.872 0.01 258.338);
  --color-gray-600: oklch(0.446 0.03 256.802);
  --color-gray-700: oklch(0.373 0.034 259.733);
  --color-gray-900: oklch(0.21 0.034 264.665);
}
html {
  overflow-x: hidden;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-poppins);
  overflow-x: hidden;
  max-width: 100svw;
}
/*! Start Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #000;
}
header h1 {
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
}
header .nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
header a {
  color: white;
  transition: all 0.3s ease;
}
header .nav a:hover {
  color: var(--color-amber-700);
}
/* End Header */
/*? Start Home Page */
.home section {
  padding: 30px;
  text-align: center;
}
.home .hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.hero .overlay {
  width: 100%;
  height: 100%;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}
.hero .overlay .content {
  margin: 0 auto;
  width: 70%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.hero .content p {
  line-height: 1.6;
  font-size: 15px;
  text-align: center;
}
.hero .content .btn {
  margin-top: 20px;
  padding: 15px 20px;
  color: white;
  border-radius: 6px;
  background-color: var(--color-amber-600);
  border: 2px solid var(--color-amber-600);
  transition: all 0.3s ease;
}
.hero .content .btn:hover {
  cursor: pointer;
  background-color: var(--color-gray-900);
}
.home section h2 {
  color: var(--color-gray-900);
  margin-bottom: 20px;
}
.home section p {
  color: var(--color-gray-600);
  margin-bottom: 20px;
}
.top-recipes .display-recipes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 50px ;
}
.display-recipes .card {
  border: 3px solid var(--color-amber-500);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.display-recipes .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.display-recipes .card-img {
  width: 100%;
  height: clamp(150px, 200px, 250px);
  overflow: hidden;
}
.display-recipes .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.display-recipes .content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.display-recipes .content h3 {
  color: var(--color-amber-900);
  font-size: 1.1rem;
}
.display-recipes .content p {
  text-align: start;
  color: var(--color-gray-600);
  line-height: 1.6;
  font-size: 15px;
}
.display-recipes .content .btn {
  padding: 10px 15px;
  color: white;
  border-radius: 6px;
  background-color: var(--color-amber-600);
  border: 2px solid var(--color-amber-600);
  transition: all 0.3s ease;
}
.display-recipes .content .btn:hover {
  cursor: pointer;
  background-color: var(--color-amber-700);
}
.top-chefs .chefs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.chefs .chef {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.chefs .chef:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.chefs .chef .img-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
}
.chefs .chef .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:all 0.3s ease;
}
.chefs .chef:hover img {
  transform: scale(1.05);
}
.chefs .chef .content {
  padding: 15px;
  text-align: start;
}
.chefs .chef h3 {
  color: var(--color-gray-900);
  margin-bottom: 5px;
}
.chefs .chef .mark {
  color: var(--color-amber-600);
  font-weight: 500;
  margin-bottom: 10px;
}
.chefs .chef .discription {
  color: var(--color-gray-600);
  line-height: 1.6;
  font-size: 15px;
}
/* End Home Page */
/*? Start About Page */
.about {
  width: 90%;
  margin: 30px auto;
  text-align: center;
}
.about .foody-word {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-gray-700);
}
.about section h2 {
  font-size: 2.2rem;
  font-weight: bolder;
  font-family: var(--font-poppins);
  color: var(--color-gray-900);
}
.about section p {
  margin: 10px auto;
  width: 80%;
  color: var(--color-gray-600);
  line-height: 1.6;
}
.about .cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.about .cards .card {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.about .cards .card:hover {
  transform: scale(1.01);
  cursor: pointer;
}
.about img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
@media (max-width: 768px) {
  .about .cards .card {
    flex: 1 1 50%;
  }
}
/* End About Page */
/** Start Recipes Page */
.recipes {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 1.9rem;
  max-width: 100vw;
}
.recipes .recipes-text {
  text-align: center;
  font-weight: 500;
  max-width: 100%;
}
.recipes .recipes-search {
  width: 80%;
  max-width: 100%;
  border: 2px solid var(--color-amber-700);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  caret-color: var(--color-amber-700);
  transition: all 0.3s ease;
}
.recipes .recipes-search:focus {
  border-color: black;
}
.recipes .recipes-search::placeholder {
  font-size: 1.04rem;
  font-weight: 400;
}
.recipes .title {
  align-self: flex-start;
  color: var(--color-amber-700);
  font-size: 1.3rem;
  font-weight: bold;
}
.recipes-cards {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  overflow-x: hidden;
}
.recipes-cards .card {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px;
  border-bottom: 2px solid var(--color-amber-500);
  overflow-x: hidden;
}
.recipes-cards .card-img {
  width: 12.5em;
  max-width: 200px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.recipes-cards .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recipes-cards .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}
.recipes-cards .content .title {
  color: black;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.recipes-cards .content .title:hover {
  color: var(--color-amber-700);
  cursor: default;
}
.recipes-cards .content .text {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  word-break: break-word;
}
.recipes-cards .content .text span {
  color: var(--color-gray-700);
  font-size: 1rem;
  font-weight: bold;
}
.recipes-cards .content .btn {
  color: var(--color-amber-600);
  transition: all 0.3s ease;
}
.recipes-cards .content .btn:hover {
  transform: scale(1.05);
  font-weight: bold;
  cursor: pointer;
}
/* End Recipes Page */
/** Start Recipe Details Page */
.details {
  background-color: var(--color-gray-300);
  font-family: var(--font-poppins);
}
.container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.details .title {
  color: var(--color-amber-600);
}
.details .img-container {
  width: 300px;
  border-radius: 30px;
}
.details .img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.details .ingredients {
  width: 100%;
  align-self: self-start;
}
.details .ingredients h2 {
  color: var(--color-green-800);
  margin-bottom: 10px;
}
.details .ingredients p {
  border-left: 3px solid var(--color-green-800);
  padding: 5px 10px;
  line-height: 1.5;
}
.details .instructions {
  width: 100%;
  align-self: self-start;
}
.details .instructions h2 {
  color: var(--color-amber-700);
  margin-bottom: 10px;
}
.details .instructions ol {
  line-height: 1.6;
  padding: 10px;
  background-color: white;
  border-radius: 10px;
}
.details .btn-recipes {
  width: 100%;
  text-align: center;
  padding: 10px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 10px;
  color: white;
  background-color: var(--color-amber-600);
  transition: all 0.3s ease;
}
.details .btn-recipes:hover {
  transform: scale(0.98);
  cursor: pointer;
  background-color: var(--color-amber-500);
}
/* End Recipe Details Page */
/*? Start Contact Page */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact .container {
  width: 80%;
  margin: 0 auto;
}
.contact h2 {
  color: var(--color-gray-900);
  font-size: 1.5rem;
  font-weight: 800;
}
.contact p {
  text-align: center;
  color: var(--color-gray-600);
  font-size: 16px;
  line-height: 1.6;
}
.contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.contact form .input {
  width: 80%;
  position: relative;
}
.contact form .input input,
.contact form .input textarea {
  padding: 16px 10px 8px;
  width: 100%;
  background-color: var(--color-gray-50);
  box-shadow: 0 0 1px 2px rgba(0, 0, 0, 0.1);
}
.contact form .input textarea {
  resize: vertical;
  min-height: 40px;
}
.contact form .input label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--color-gray-600);
  pointer-events: none;
  transition: 0.3s ease;
}
.contact form .input textarea + label {
  top: 12px;
}
.contact form .input input:focus + label,
.contact form .input input:not(:placeholder-shown) + label,
.contact form .input textarea:focus + label,
.contact form .input textarea:not(:placeholder-shown) + label {
  top: 4px;
  font-size: 11px;
  color: var(--color-green-800);
  background: var(--color-gray-50);
  padding: 0 5px;
}

.contact form .btn {
  width: fit-content;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 500;
  color: white;
  background-color: var(--color-amber-500);
  transition: background-color 0.3s ease;
}
.contact form .btn:hover {
  background-color: var(--color-amber-600);
  cursor: pointer;
}
.contact form .btn:focus {
  outline: 2px solid var(--color-amber-600);
  outline-offset: 3px;
}
/* End Contact Page */
/*! Start Footer */
footer {
  margin-top: auto;
  text-align: center;
  padding: 1rem 1.2rem;
  color: white;
  background-color: #000;
  word-wrap: break-word;
}
/* End Footer */
/* Responsive */
@media (max-width: 40em) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
  }
  header h1 {
    font-size: 1.5rem;
  }
  header .nav {
    gap: 1.2rem;
    justify-content: center;
  }
  .recipes {
    padding: 1rem;
  }
  .recipes .recipes-search {
    width: 90%;
    padding: 0.8rem 1rem;
  }
  .recipes-cards .card {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
  }
  .recipes-cards .card-img {
    width: 100%;
    max-width: 250px;
  }
}
@media (max-width: 28em) {
  header {
    padding: 1rem 0.5rem;
  }
  header h1 {
    font-size: 1.3rem;
  }
  header .nav a {
    font-size: 0.9rem;
  }
  .recipes {
    padding: 0.8rem 0.5rem;
  }
  .recipes .recipes-search {
    width: 95%;
    padding: 0.7rem;
  }
  .recipes .recipes-search::placeholder {
    font-size: 0.9rem;
  }
  .recipes-cards .card {
    padding: 10px;
    gap: 15px;
  }
  .recipes-cards .card-img {
    max-width: 200px;
  }
  .recipes-cards .content {
    gap: 0.8rem;
  }
  .recipes-cards .content .text {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .recipes-cards .content .text span {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
  }
  .details .img-container {
    width: 200px;
    border-radius: 50%;
  }
  .details .img-container img {
    border-radius: 50%;
  }
  footer {
    padding: 0.8rem 0.5rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 22.5em) {
  header h1 {
    font-size: 1.2rem;
  }
  header .nav a {
    font-size: 0.85rem;
  }
  .recipes {
    padding: 0.6rem 0.4rem;
  }
  .recipes-cards .card {
    padding: 8px;
  }
  .recipes-cards .card-img {
    max-width: 180px;
  }
  .recipes-cards .content .text {
    font-size: 0.8rem;
  }
}
