.outil_nav {
    margin: 8em 0 2.2em 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.recherche_container {
    margin: 1.2em 0 0 24em;
}

.recherche_container input{
    border-radius: 10px;
    border: 1px solid var(--ombre-noir-blanc);
    padding: 0.2em 0.3em;
}

.recherche_container button{
    background-color: var(--btn);
    border-radius: 10px;
    color: white;
    border: 1px solid var(--ombre-noir-blanc);
    padding: 0.2em 0.3em;
    transition: 0.3s;
}

.filtre {
    margin: 1.2em 2em 0 0;
}

.filtre button {
    margin-right: 2em;
    background-color: var(--btn);
    border-radius: 10px;
    color: white;
    border: 1px solid var(--ombre-noir-blanc);
    padding: 0.2em 1.2em;
    transition: 0.3s;
}

.filtre button:hover, .recherche_container button:hover {
    color: black;
}

.liste_aliment {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.nav_type_plat {
    display: flex;
    flex-direction: column;
    background-color: var(--header);
    border-radius: 20px;
    gap: 1em;
    margin-left: 4em;
    padding: 1.5em;
    margin-top: 3em;
}


.nav_type_plat button {
    border: none;
    padding: 0.5em 2em;
    transition: 0.3s;
    border-radius: 10px;
}

.nav_type_plat button p{
    padding: 0;
    margin: 0;
    border-bottom: solid 0.05em var(--orange);
}

.nav_type_plat button:hover {
    transform: scale(1.05);
    background-color: #FFFFFF;
}

.nav_type_plat button p:hover{
    border-bottom: solid 0.125em var(--orange);
}

.derouler {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16em, 1fr));
    gap: 1em;
    margin: 0 3em 3em 3em;
    height: 53em;
    overflow-y: auto;
    border: 0.125em solid var(--header);
    border-radius: 20px 0 0 20px;
}

.derouler .deux {
    background-color: var(--header);
    margin: 1.2em;
    padding: 1.2em;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 2px 10px var(--ombre-noir-blanc);
    transition: 0.3s;
    height: auto;
    max-height: 30em;
    justify-content: space-between;
    position: relative;
}

.derouler .deux:hover {
    transform: scale(1.05);
}

.derouler article img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.derouler article h5 {
    color: var(--orange);
    margin-top: 0.4em;
}

.derouler button {
    background-color: var(--btn);
    border-radius: 10px;
    color: white;
    border: 1px solid var(--ombre-noir-blanc);
    padding: 0.2em 1.2em;
}

.derouler button:hover {
    color: black;
    background-color: var(--btn);
    border-color: black;
}

.btn_prix {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.btn_prix p,
.btn_prix form {
    margin: 0;
}

@media screen and (max-width: 600px) {
    .outil_nav {
        flex-direction: column;
        margin: 2em 0 0 0;
    }

    .recherche_container {
        margin: 0;
        font-size: 0.8em;
    }

    .filtre {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.3em;
        margin: 1.2em 0 0 0;
        padding: 0;
        overflow-x: auto;
        width: 80%;
    }

    .filtre button {
        margin-right: 0;
        flex-grow: 1;
        font-size: 0.8em;
    }

    .liste_aliment {
        flex-direction: column;
        padding: 0 1em;
    }

    .nav_type_plat {
        flex-direction: row;
        border-radius: 20px;
        margin: 2em 0 1em 0;
        width: 100%;
        padding: 1em;
        overflow-x: auto;
    }

    .nav_type_plat button {
        padding: 0 0.5em;
        font-size: 0.8em;
    }

    .derouler {
        overflow-y: hidden;
        height: auto;
        border: 0;
        grid-template-columns: repeat(auto-fill, minmax(42%, 1fr));
        margin: 0;
        padding: 1em;
        gap: 1.5em;
        margin-bottom: 2em;
    }

    .derouler .deux {
        margin: 0;
        height: auto;
        max-height: 35em;
    }

    .derouler img {
        width: 4em;
        height: auto;
    }

    .derouler h5 {
        font-size: 1.2em;
    }

    .derouler p {
        font-size: 0.8em;
    }

    .btn_prix {
        flex-direction: column;
    }
}