@charset "UTF-8";
.bg-blue {
  background-color: #3282f7;
}

.bg-green {
  background-color: #68d9a4;
}

.bg-red {
  background-color: #ed6454;
}

.bg-light {
  background-color: #e7e7e7;
}

.bg-grey {
  background-color: #c7bebe;
}

main {
  margin-top: 20px;
}

button:focus,
input:focus {
  box-shadow: none !important;
}

.container_header {
  display: flex;
  justify-content: center;
  margin: 2rem;
}

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  cursor: pointer;
  padding: 0px;
}

#search-bar {
  padding: 14px;
}

.search-bar {
  padding: 1rem;
}
.search-bar::placeholder {
  color: #c7bebe;
  font-size: 15px;
}

.tags {
  display: flex;
  cursor: pointer;
  margin: 0.5rem 0rem 0.5rem 0rem;
  padding: 0.5rem 0.3rem;
}

.btn_tags {
  font-size: 14px;
  margin: 1rem 0;
  margin-right: 1rem;
  padding: 0.5rem;
  border: none;
  cursor: pointer;
}

.tag-ingredient {
  background-color: #3282f7;
}

.tag-appliance {
  background-color: #68d9a4;
}

.tag-ustensil {
  background-color: #ed6454;
}

.alert_Msg {
  display: flex;
  justify-content: space-between;
  background-color: #ed6454;
  width: 90%;
  margin-left: 25px;
}

.btns-dropdown {
  margin-top: 15px;
  display: flex;
  width: 59%;
  gap: 6px;
}
.btns-dropdown .btn-dropdown-container {
  width: 36%;
}
.btns-dropdown .chevron-btn {
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 2px;
  box-sizing: border-box;
  color: white;
  border-radius: 0 5px 5px 0;
}

#input-ingredients:focus,
#input-appliance:focus,
#input-ustensils:focus {
  outline: none;
}

#input-ingredients::placeholder,
#input-appliance::placeholder,
#input-ustensils::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.result_undisplayed {
  display: none;
}

.result_displayed {
  position: absolute;
  list-style: none;
  grid-template-columns: 140px 140px 140px;
  display: grid;
  padding: 13px;
  column-gap: 5px;
  z-index: 2;
  overflow: hidden;
  transition: height 0.2s ease-in-out;
  margin: 0px;
  border-radius: 5px;
  width: fit-content;
}

.input-dropdown {
  padding: 0px;
  color: white;
}

#btn-ingredients,
#btn-appliance,
#btn-ustensils {
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: 5px;
  padding: 9px;
  padding-right: 6px;
}

li {
  cursor: pointer;
  font-size: 16px;
}

/*rappel en dessous de 767 ecran 
//il faut réduire l'affichage des bouton */
@media (min-width: 768px) {
  .btns-dropdown .input-group .form-control {
    font-size: 18px;
  }
  .btns-dropdown button {
    margin-inline-end: -20px;
  }

  .input-dropdown {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .btns-dropdown {
    flex-direction: column;
    width: 100%;
  }
  .btns-dropdown .btn-dropdown-container {
    width: 100%;
  }
  .btns-dropdown .btn-dropdown-container .result_displayed {
    width: 100%;
  }
}
@media screen and (max-width: 558px) {
  .result_displayed {
    width: 100%;
    grid-template-columns: 160px 160px;
    padding: 10px;
    gap: 3px;
  }
}
.receipe {
  display: flex;
}

.card {
  margin: 1rem 0;
  height: 450px;
}
.card .card-header {
  height: 40%;
}
.card .card-body {
  height: 60%;
}

.title-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.title-time .card-title {
  width: 70%;
  font-weight: 500;
}
.title-time .recipe_time {
  display: flex;
  align-items: center;
  width: 30%;
}
.title-time .recipe_time .time {
  font-weight: 500;
  margin: 0 0.5rem;
}

.ingredients-directions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 20px 0;
}
.ingredients-directions .ingredient-list {
  width: 50%;
}
.ingredients-directions .ingredient-list .recipe-ingredients {
  font-size: 12px;
}
.ingredients-directions .card-text {
  width: 45%;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  /* number of lines to show */
  -webkit-box-orient: vertical;
}

.recipe-img-container {
  width: 100%;
  height: 160px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.recipe-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*# sourceMappingURL=styles.css.map */
