@import 'https://use.fontawesome.com/releases/v5.10.2/css/all.css';
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Pattaya&display=swap');


.main-container {
  display: flex;
  flex-direction: row;
}

.inventory-list-wrapper {
    margin-top: 50px;
    margin-right: 50px;
}
.add-recipe-main-wrapper {
    margin-top: 50px;
    margin-left: 20px;
}

.section-header, .default-recipe-page-notification {
    margin-top: 30px;
    font-family: 'Kalam', sans-serif;
    font-style: italic;
    color: rgb(17, 120, 136)
}

.default-recipe-page-notification {
    text-align: right;
    margin-right: 50px;
}

.section-header:hover {
  cursor: pointer;
}

.recepies-wrapper {
  margin-top: 50px;
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.add-recipe-btn-wrapper {
  width: 100%;
}
/*.btn-add-recipe {*/
/*  border-radius: 4px;*/
/*  padding: 5px 10px;*/
/*  background-color: midnightblue;*/
/*  color: white;*/
/*  margin: 10px;*/
/*}*/
article {
    margin: 20px;
    box-shadow: 0px 0px 5px 0px rgb(17, 120, 136);
    padding: 10px;
    text-align: center;
    border-radius: 8%;
}


.image-wrapper {
  height: 200px;
  width: 300px;
}
.recipe-title {
  text-align: center;
  margin: 20px;
  font-family: "Kalam", sans-serif;
}

.ingredient-list {
  text-align: left;
}

.img-wrapper {
  width: 300px;
  height: 200px;
}
img {
  width: 100%;
  height: 100%;
}
ul {
  list-style: none;
}
.has-item {
  color: green;
  margin-right: 5px;
  margin-left: 5px;
}
.missing-item {
  color: red;
  margin-right: 5px;
  margin-left: 5px;
}

.description-wrapper {
  margin-top: 30px;
}
.recipe-description {
  justify-content: center;
  margin-top: 20px;
}



.add-recipe-btn-wrapper {
  width: 100%;
}
.btn-add-recipe {
  border-radius: 4px;
  padding: 5px 10px;
  background-color: midnightblue;
  color: white;
  margin: 10px;
}

.cookable-True {
  border-radius: 8%;
  box-shadow: 0px 0px 5px 0px green;
}

.cookable-False {
  border-radius: 8%;
  box-shadow: 0px 0px 5px 0px red;
}

.hide-details {
  display: none
}

.show-details {
  display: block;
}

.recipe-name {
  height: 25px;
  width: 200px;
}

.add-new-recipe-wrapper {
  margin: 50px;
  display: flex;
  flex-direction: row;
}

.add-recipe-section {
  flex-basis: 50%;
}
.add-ingredients-section {
    flex-basis: 50%;
}

.add-recipe-page-section-titles{
  margin-bottom: 50px;
  font-family: "Kalam", sans-serif;
}

.add-ingredients-section-to-recipe {
  list-style: none;

}

.item-cook-product {
  display: flex;
}

.product-buttons {
    margin-left: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.delete-product {
    color: indianred;
}


.edit-cook-product {
    color: forestgreen;
    margin-left: 10px;
}

.product-counter-wrapper {
    display: flex;
    align-items: baseline;
    margin: 0 20px;
}

.cook-prod-decrease-quantity {
    margin-right: 10px;
}

.cook-prod-increase-quantity, .cook-prod-decrease-quantity {
    font-size: 20px;
}

.product-count {
    color: rgb(247, 176, 187);
    padding: 2px;
    font-size: 18px;
    width: 50px;
    text-align: center;

}

.add-save-buttons-sticky {
    display: flex;
    background-color: white;
    margin: 0 10px;
    align-items: baseline;
}

.add-save-buttons-sticky .add-product {
    margin-bottom: 5px;
    margin-right: 20px;
}


.add-save-buttons-sticky .add-product:hover, .add-save-buttons-sticky .save-product-changes:hover {
    color: #0056b3;
    text-decoration: none;
    border: none;
    outline: none;
}

.div-measurement {
    margin-left: 5px;
}

.sections-add-product {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-width: 350px;
    margin-top: 40px;
    margin-left: 30px;
    box-shadow: 0px 1px 5px 0px rgba(247, 176, 187, 0.75);


}

.section-wrapper-ad-product {
    margin: 20px;
}

.btn-save-product, .button-edit-product {
    width: fit-content;
    margin: 0px auto 20px auto;

}

.edit-cook-product-title {
    text-align: center;
    margin-top: 30px;
    font-family: 'Lobster', cursive;
    color: rgb(17, 120, 136);

}

.recipe-btn-wrapper {
    display: flex;
    justify-content: space-around;
}

.delete-ingredient-from-recipe {
    display: inline-block;
    color: crimson;
    margin-left: 10px;
}

.save-cook-prod-changes, .add-product {
    color: darkblue;
    font-size: 30px;
    margin: 0 10px;
}


.save-cook-prod-changes .add-product:hover, .add-save-buttons-sticky .save-cook-prod-changes:hover {
    color: #0056b3;
    text-decoration: none;
    border: none;
    outline: none;
}




@media all and (max-width: 850px) {
   .nav-bar-container h1 {
        text-decoration: none;
        font-family: 'Kalam', sans-serif;
        color: white;
        font-size: 25px;
    }


    .nav-bar-container {
        display: flex;
        align-items: center;
        padding: 10px;
    }

    .nav-bar-list {
        display: flex;
        flex-direction: column;
        list-style-type: none;
        align-items: flex-end;
        line-height: normal;
    }

    .nav-bar-list li a {
        color: white;
        font-size: 15px;
        margin-right: 0;
    }
}

@media all and (max-width: 700px) {
    .main-container {
        display: flex;
        flex-direction: column;
    }
    .recepies-wrapper {
        margin-top: 50px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .inventory-list-wrapper {
        margin-top: 50px;
        margin-left: 20px;
    }
    .add-new-recipe-wrapper {
        margin: 50px;
        display: flex;
        flex-direction: column;
    }
    .add-recipe-section {
        margin-top: 50px;
    }

    .add-cook-prod-wrapper {
        margin: 50px;
    }

}