@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Swanky+and+Moo+Moo&display=swap");
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  background-color: #fdfdfd;
}

.mid-box {
  padding-inline: 12vw 10vw;
}

button {
  box-sizing: content-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.hidden {
  display: none;
}

header {
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  display: flex;
  align-items: center;
}
header .logo img {
  height: 60px;
  width: 60px;
}
header .logo span {
  font-family: "Swanky and Moo Moo", cursive;
  font-size: 1.625rem;
  margin-top: 15px;
  margin-left: 20px;
}
header ul {
  display: flex;
  justify-content: space-between;
}
header ul a {
  color: hsl(0, 0%, 25%);
}
header ul a:hover {
  color: hsl(158, 69%, 32%);
}
header ul li:not(:last-child) {
  margin-right: 5vw;
}

.hero-container {
  height: 80vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-container h1 {
  font-size: 2.8125rem;
}
.hero-container p {
  font-size: 1rem;
  line-height: 1.4rem;
  margin-left: 2px;
  margin-block: -1.6rem 1.5rem;
  color: hsl(0, 0%, 25%);
  max-width: 60ch;
}
.hero-container .search {
  width: 70%;
  position: relative;
}
.hero-container .search input {
  border-radius: 20px;
  padding: 0.5em 1em;
  border: 2px solid hsl(158, 69%, 32%);
  width: 100%;
  font-size: 1rem;
}
.hero-container span {
  position: absolute;
  right: -1em;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.recipe-container {
  margin-top: 3rem;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2em;
}

.recipes-box {
  width: 300px;
  text-align: center;
  padding-bottom: 20px;
  border-radius: 25px;
  box-shadow: 5px 5px 3px gray;
}
.recipes-box img {
  border-radius: 25px 25px 0 0;
  width: 100%;
}
.recipes-box .recipe-name {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.recipes-box .recipe-name a {
  width: 200px;
  padding: 0.5em 1em;
  background: hsl(158, 69%, 32%);
  color: white;
  border-radius: 20px;
  margin-top: -0.375rem;
}
.recipes-box .recipe-name a:hover {
  background: hsl(158, 59%, 48%);
}

.meal-details {
  max-height: 95vh;
  position: fixed;
  width: 60%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1em 2em;
  background-color: hsl(158, 69%, 32%);
  color: white;
  border-radius: 20px;
}
.meal-details .newRecipe-meals {
  display: flex;
  align-items: center;
}
.meal-details .newRecipe-meals img {
  width: 150px;
  border-radius: 20px;
  margin-right: 2rem;
}
.meal-details .close {
  font-weight: 600;
  position: absolute;
  color: hsl(0, 75%, 75%);
  top: 7px;
  right: 10px;
  z-index: 2;
  cursor: pointer;
}
.meal-details a {
  font-weight: 600;
  color: hsl(39, 100%, 70%);
}/*# sourceMappingURL=main.css.map */