@charset "UTF-8";
/* Values */
/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #1b1b1b;
}

body {
  max-width: 1440px;
  margin: auto;
}

/* HEADER */
.header {
  background-image: url("../assets/images/banner.png");
  width: auto;
  height: 41rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header__logo {
  height: 7.8rem;
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 75%;
  margin-bottom: 1rem;
}
.header__logo img {
  width: 13rem;
  height: 1.6rem;
}
.header__content {
  height: 50%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.header__content h2 {
  display: flex;
  align-items: flex-end;
  height: 70%;
  color: #ffd15b;
  font-family: "Anton", sans-serif;
  font-size: 2.75rem;
  font-weight: lighter;
  letter-spacing: 2px;
  text-align: center;
}
.header__searchbar {
  height: 30%;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 1.8rem;
}
.header__searchbar form .input__wrapper {
  display: flex;
  align-items: center;
  position: relative;
}
.header__searchbar form .input__wrapper input {
  height: 4.5rem;
  width: 59.6rem;
  border-radius: 11px;
  text-indent: 1.8rem;
  font-size: 1rem;
  color: #7a7a7a;
  border: none;
}
.header__searchbar form .input__wrapper input::placeholder {
  opacity: 1;
  transition: opacity 0.2s;
  color: #7a7a7a;
}
.header__searchbar form .input__wrapper input:focus {
  outline: none;
  padding-right: 5rem;
  font-size: 1rem;
  font-family: "Manrope", sans-serif;
  color: #7a7a7a;
}
.header__searchbar form .input__wrapper input:focus::placeholder {
  opacity: 0;
}
.header__searchbar form .input__wrapper input:hover {
  padding-right: 5rem;
}
.header__searchbar form .input__wrapper button {
  text-indent: -9999px;
  width: 51px;
  height: 52px;
  overflow: hidden;
  background: #1b1b1b url("../assets/images/search_icon.svg") no-repeat center;
  border-radius: 10px;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  border: none;
}
.header__searchbar form .input__wrapper button:hover {
  background: #ffd15b url("../assets/images/search_icon_black.svg") no-repeat center;
}
.header__searchbar .no-result {
  width: 100%;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__searchbar .no-result p {
  font-size: 1.313rem;
  color: #ffd15b;
  font-weight: bold;
  padding: 1rem;
}

/* MAIN */
#main_content {
  background-color: #ededed;
  /* TAGS */
  /* RECIPES */
}
#main_content .filters__wrapper {
  position: relative;
  display: flex;
  justify-content: flex-start;
  gap: 4.8rem;
  padding: 1.5rem 0 1.8rem 0;
  max-width: 86%;
  margin: auto;
}
#main_content .filters__wrapper .filter__dropdown {
  position: relative;
  display: inline-block;
}
#main_content .filters__wrapper .filter__dropdown-btn {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: auto;
  height: 3.5rem;
  padding: 1rem;
  border: none;
  border-radius: 0.69rem;
  background-color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
#main_content .filters__wrapper .filter__dropdown-search {
  box-sizing: border-box;
  background-image: url("../assets/images/searchicon.png");
  background-position: right 12px center;
  background-repeat: no-repeat;
  font-size: 16px;
  padding: 14px 29px 12px 15px;
  margin: 1rem 0 1rem 0;
  border: 1px solid #c6c6c6;
  border-radius: 2px;
  width: 90%;
  position: sticky;
  top: 0;
  left: 5%;
}
#main_content .filters__wrapper .filter__dropdown-search:focus {
  outline: 1px solid #7a7a7a;
}
#main_content .filters__wrapper .filter__dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  width: 100%;
  max-height: 19.68rem;
  overflow-y: auto;
  left: 0;
  margin-top: -10px;
  z-index: 1;
  border-radius: 0 0 0.69rem 0.69rem;
}
#main_content .filters__wrapper .filter__dropdown-content .search-item {
  padding: 6px 20px 6px 15px;
  font-family: "Manrope", sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
}
#main_content .filters__wrapper .filter__dropdown-content .search-item:hover {
  background-color: #ffd15b;
}
#main_content .filters__wrapper .filter__dropdown-content .selected {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #ffd15b;
  font-weight: bold;
}
#main_content .filters__wrapper .filter__counter {
  height: 56px;
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
}
#main_content .filters__wrapper .filter__counter__span {
  font-size: 1.313rem;
  font-family: "Anton", sans-serif;
  font-weight: 400;
}
#main_content .tags__wrapper {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  max-width: 86%;
  height: auto;
  margin: auto;
  padding-bottom: 2rem;
}
#main_content .tags__wrapper div button {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: auto;
  height: 3.5rem;
  padding: 1rem;
  background-color: #ffd15b;
  border-radius: 0.69rem;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  border: none;
}
#main_content .tags__wrapper div button i {
  cursor: pointer;
}
#main_content .recipes__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 86%;
  margin: auto;
  gap: 1.5rem;
}
#main_content .recipes__wrapper .recipe__card {
  width: calc(33.33% - 33px);
  height: 45.68rem;
  margin-bottom: 2.5rem;
  box-shadow: 0px 4px 34px 30px rgba(0, 0, 0, 0.0392156863);
  border-radius: 21px;
  position: relative;
}
#main_content .recipes__wrapper .recipe__card__header {
  height: 35%;
  position: relative;
  overflow: hidden;
  border-radius: 21px 21px 0 0;
}
#main_content .recipes__wrapper .recipe__card__header-img {
  width: 110%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#main_content .recipes__wrapper .recipe__card__header-time {
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3.938rem;
  height: 1.625rem;
  background-color: #ffd15b;
  border-radius: 14px;
}
#main_content .recipes__wrapper .recipe__card__content {
  height: 65%;
  background-color: #fff;
  border-radius: 0 0 21px 21px;
  padding: 2rem 1.5rem 3.8rem 1.5rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  font-family: "Manrope", sans-serif;
}
#main_content .recipes__wrapper .recipe__card__content-title {
  height: 15%;
}
#main_content .recipes__wrapper .recipe__card__content-title h2 {
  font-family: "Anton", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
}
#main_content .recipes__wrapper .recipe__card__content-recipe {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 40%;
}
#main_content .recipes__wrapper .recipe__card__content-recipe h3 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7a7a7a;
  line-height: 19.12px;
  letter-spacing: 1px;
}
#main_content .recipes__wrapper .recipe__card__content-recipe p {
  font-size: 0.875rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; /* Nombre de lignes à afficher */
  overflow: hidden;
  text-overflow: ellipsis;
}
#main_content .recipes__wrapper .recipe__card__content-ingredients {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 45%;
}
#main_content .recipes__wrapper .recipe__card__content-ingredients .ingredients__list-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7a7a7a;
  letter-spacing: 1px;
}
#main_content .recipes__wrapper .recipe__card__content-ingredients .ingredients__list-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
#main_content .recipes__wrapper .recipe__card__content-ingredients .ingredients__list-container .ingredient__item {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
}
#main_content .recipes__wrapper .recipe__card__content-ingredients .ingredients__list-container .ingredient__item-name {
  font-weight: 700;
}
#main_content .recipes__wrapper .recipe__card__content-ingredients .ingredients__list-container .ingredient__item-qty {
  color: #7a7a7a;
}

/*# sourceMappingURL=style.css.map */
