/* feuille de style bootstrap */
@import url("style.css");

body{
    max-width: 825px;
    font-family: 'Lato', sans-serif;
    padding-top: 2.625rem;
    padding-bottom: 2.625rem;
}

label{
    cursor: pointer;
}
/* dimensions du tag */
.badge{
    font-size: 0.875rem;
    line-height: 1.063rem;
    padding: 0.625rem 3.438rem 0.653rem 1.25rem;
    margin-top: 0.563rem;
    margin-bottom: 0.688rem;
}
/* croix pour le retrait du tag */
.bi-x-circle{
    right: 1.375rem;
    font-size: 1.25rem;
    cursor: pointer;
}

/*COMMENT widget sélection tag de filtrage */

.tag-search{
    --tag-list-max-width : 667px;
    --tag-list-column : calc((var(--tag-list-max-width) - 14px) / 3);
    min-width: 10.625rem;
}
/* champ de recherche du widget */
.tag-input-group input:focus {
    outline: none;
    box-shadow: none;
}
.tag-input-group input::placeholder{
    color: var(--bs-white);
    opacity: 0.5;
}
.input-dropdown{
    right: 1.125rem;
    left: 0;
    top: 0;
    bottom: 0;
}
/* position et placement liste des tag */
.tag-group {
    left: 12px;
}
.tag-group .row{
    width: max-content;
    max-width: calc(var(--tag-list-column) + 14px);
    top: -3px;
    line-height: 1.375rem;
    padding: 0.625rem 0.4375rem 1.188rem;
    z-index: 100;
}
.tag-group span{
    width: var(--tag-list-column);
    cursor: pointer;
}
/* orientation de la flèche ouverture - fermeture */
.rotate-caret::before{
    transform: rotate(180deg);
}
/* largeur du panneau de la liste des tags */
.width-3 {
    width: calc(3 * var(--tag-list-column) + 14px);
}
.width-2 {
    width: calc(2 * var(--tag-list-column) + 14px);
}
.width-1 {
    width: calc(var(--tag-list-column) + 14px);
}

/*COMMENT galerie des cartes recettes */
/* galerie des cartes recette */
article{
    margin-top: 5.125rem;
}
/* placement et largeur des cartes */
#card-gallery {
    gap: 3.125rem;
}
#card-gallery .col{
    max-width: 23.75rem;
}

/*COMMENT design de la carte recette */

/* horloge avant la durée de réalisation */
.worktime-recipe::before{
    content: "\f293";
    font-family: "bootstrap-icons";
    font-style: normal;
    font-size: 20px;
    line-height: 27px;
    width: 27px;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* "min" après la durée de réalisation */
.worktime-recipe::after{
    content: "min";
    padding-left: 3.7px;
}

/*COMMENT typographie carte recette */

/* titre de la recette */
.card-title{
    font-family: 'Lato', sans-serif;
}
/* ingrédients et instruction */
.card-body li, .card-body p{
    font-size: 12px;
    line-height: 14px;
}
/* instructions */
.card-body p{
    font-family: Roboto, sans-serif;
}
@media(min-width : 992px) {
    body {
        max-width: 826px;
    }

    .tag-group .row{
        max-width: calc(2 * var(--tag-list-column) + 14px);
    }
}
@media(min-width : 1200px) {
    body {
        max-width: 1256px;
    }
}
@media(min-width : 1400px) {
    body {
        max-width: 1440px;
    }

    .tag-group .row{
        max-width: calc(3 * var(--tag-list-column) + 14px);
    }
}