/*Recipe metadata = top of the page*/
#recipe-metadata {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

/*IMAGE DE LA RECETTE*/
img.recipe_picture{
    margin: 1em;
    display: block;
    width: 95%;
    max-width: 500px;
    min-width: 300px;
}

/*Ajout / retrait my-recipes*/
#heart {
    display: inline;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

#share {
    text-align: center;
    margin-bottom: 1em;
}

#minus, #minus-max, #plus, #plus-max {
	display: inline;
    margin: 0;
    padding: 0;
    border: none;
    width: 2em;
    height: 2em;
    background-size: 2em 2em;
	background-color: inherit;
    background-position-x: 0px;
    background-position-y: center;
}

#minus {
    background-image: url("../media/minus.svg");
}

#plus {
    background-image: url("../media/plus.svg");
}

/*Ajout liste de course TROLLEY*/
#full-trolley, #empty-trolley {
	display: inline;
    width: 32px;
    height: 32px;
    border: none;
    background-size: 32px 32px;
	background-color: inherit;
    cursor: pointer;
}

#full-trolley {
    background-image: url("../media/full-trolley.svg");
}

#empty-trolley {
    background-image: url("../media/empty-trolley.svg");
}

#ingredients {
    padding: 1em;
    border: #203c46 2px solid;
    border-radius: 1em;
}

label {
    font-weight: normal;
}

/*ETAPE RECETTE*/
.titles {
    border-bottom: 2px #203c46 solid;
    padding-bottom: 1em;
    font-weight: bold;
}

.recipe-etapes, .comments {
    border-bottom: 2px #203c46 solid;
    padding: 1em;
}
.recipe-etapes-number {
    float: left;
    margin-right: 1em;
}

/* COMMENTS */
#comment_content {
    margin-top: 1em;
    width: 99%;
    font-family: "Barlow Condensed", Verdana, serif;
    font-size: 1.2em;
}


/*QR-CODE*/
#qr-code-container {
    display: flex;
    justify-content: center;
}
#qr-code {
    display: block;
    width: 75%;
    max-width: 500px;
}

/*AJOUT RECETTE*/
#form-add-recipe {
    color: #376966;
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding: 1em;
}

#form-add-recipe input {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1em;
    width: 100%;
}

#form-add-recipe textarea{
    width: 100%;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1em;
}

hr {
    border: 1px solid #376966;
}


#erreur {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    color: firebrick;
    padding-bottom: 0;
}

#action {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    color: seagreen;
}

/*Taille des inputs*/

input {
    margin-bottom: 1em;
}

#title {
    width: fit-content;
}

#cooking_time, #preparation_time, #oven_temperature, #number {
    width: 4em;
    width: 4em;
}

.quantity {
    width: 5em;
}

.input-ingredient {
    width: 18em;
    width: fit-content;
}

input[type="submit"] {
    display: block;
    width: fit-content;
    margin: auto;
    margin-top: 2em;
}