*{
    font-family: Poppins;
    padding: 0;
    margin: 0;
}

body {
    background-color: rgb(255, 250, 244);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    display: inline-block;
    position: relative;
}

/* -- Media Screen --*/

@media screen and (max-width: 1200px) {
    
}

@media screen and (max-width: 920px) {

    .search-input {
        width: 150px;
        margin-right: 50px;
    }

    .navbar h3{
        font-size: 0.8em;
        padding: 10px;
    }

    .DLM {
        flex-direction: column;
        margin: 20%;
    }
    
    .DLM img {
        width: 350px;
        height: 460px;
    }

    .week img {
        width: 100%;
        height: 600px;
    }

    .card {
        margin: 40px auto;
        justify-content: center;
    }

    .list_cards {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .presentation p:not(.news) {
        width: 300px;
    }

    .image_article img {
        width: 250px;
        height: auto;
    }

    .fav_banner {
        justify-content: space-between;
        margin: 0;
    }

    .fav_banner h2 {
        font-weight: 400;
    }

    .process {
        flex-direction: column;
    }

    .newsletter {
        flex-direction: column;
    }

    .extraclient {
        text-align: center;
    }
}

@media screen and (max-width: 720px) {

    .undernavbar a,
    .logo {
        display: none;
    }
}

/* ----------------- */

/* Fond Homepage */
.imgfond {
    position: relative;
    filter: brightness(70%);
}

.presentation h1 {
    width: 300px;
    font-size: 2.5em;
}

.presentation {
    position: absolute;
    top: 220px;
    margin: 5% 12.5%;
    color: #fff;
}

.presentation p:not(.news) {
    width: 50%;
    margin: 40px 0;
    font-size: 1.3em;
}

.news {
    background-color: #fff;
    padding: 10px;
    width: 200px;
    text-align: center;
    color: #171717;
    /* border-radius: 25px; */
}

/* ------------------------ */


/* Image déco de la semaine */
.week img {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 10%;
}

.description_week h3 {
    text-transform: uppercase;
}

.description_week {
    position: absolute;
    top: 1450px;
    right: 120px;
    width: 280px;
    height: 380px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.12);
}

.buttonweek {
    background-color: #171717;
    color: #fff;
    padding: 10px 50px;
}

.description_week h3,
.description_week p,
.description_week .buttonweek {
    margin: 20px;
}


/* ------------------------ */

/* Style & Suggestion de la recherche */
.wrapper {
    max-width: 350px;
    margin-top: 12px;
}

.wrapper .search-input {
    background-color: #fff;
    min-width: 200px;
    position: relative;
}

.search-input input {
    height: 40px;
    width: 100%;
    outline: none;
    border: none;
    border-bottom: solid 1px #171717;
    padding: 0 15px;
    font-size: 16px;
}

.search-input .icon {
    line-height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    /* text-align: center; */
}

.search-input .suggestion {
    max-height: 200px;
    padding: 5px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
}

.search-input.active .suggestion {
    padding: 10px 5px;
    opacity: 1;
    pointer-events: auto;
}

.search-input.active .suggestion li {
    display: block;
}

.search-input li {
    max-height: 200px;
    padding: 5px 10px;
    width: 85%;
    cursor: default;
    display: none;
}

.search-input li:hover {
    background: rgb(255, 250, 244);
}

/* ---------------------------------- */


/* Animation sous la navbar */
.undernavbar a::after {    
    content: '';
    position: absolute;
    width: 90%;
    transform: scaleX(0);
    height: 2px;
    bottom: 10%;
    left: 5%;
    background-color: black;
    transform-origin: bottom right;
    transition: transform 0.4s ease-out;
}

.undernavbar a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 2;
    width: 100%;
}

.navbar .container,
.undernavbar {
    display: flex;
    background-color: white;
}

.navbar .container {
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.navbar .undernavbar {
    justify-content: center;
}

.undernavbar a {
    padding: 10px 20px;
    color: black;
}

/* ----------------------- */

/* Catégories */
.categories {
    border-top: solid 1px #171717;
    width: 80%;
    margin: 0 auto;
}


.categories h2 {
    font-size: 2em;
    text-align: center;
    margin: 10% auto;
}

.DLM {
    display: flex;
    justify-content: space-between;
}

.DLM img {
    position: relative;
    filter: saturate(125%);
}

.legende {
    position: absolute;
    font-size: 2em;
    margin: -50px 5px;
    color: #fff;
}

/* ----------------------- */

/* Les favoris */

.favorite {
    position: relative;
    margin-top: 200px;
}

.fav_banner {
    margin-bottom: 50px;
    padding: 50px;
    height: 300px;
    background-color: #eeb6d3;
}

.fav_banner h2 {
    width: fit-content;
    font-size: 4em;
    /* text-transform: uppercase; */
}

.button_favorite {
    position: relative;
    float: right;
    background-color: #fff;
    border: solid 1px #171717;
    color: #171717;
    margin-top: 25px;
    padding: 10px 75px;
/*     height: 60px;
    width: 125px; */
}

.name {
    width: 300px;
}

.information p {
    width: 300px;
}

.list_consult,
.list_combine {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* position: relative; */
    /* top: -30vh; */
    overflow: hidden;
}

.list_cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 10%;
}

.card {
    position: relative;
    width: 100%;
}

/* ----------------------- */

/* --------Card ---------- */

.name h3 {
    font-weight: 500;
}

.information {
    width: 100%; 
    font-size: 0.9em;
    font-weight: 400;
    line-height: 1.5em;
}

.name {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0;
}

/* ----------------------- */


/* Le processus */

.title_process {
    position: relative;
    font-weight: 200;
    margin-top: 5em ;
    font-size: 2em;
    text-align: center;
}

.process {
    display: flex;
    margin: 0 10%;
}

.process h3 {
    margin: 10%;
    font-weight: 400;
}

.process p {
    font-size: 0.9em;
}

.unit {
    width: 250px;
    text-align: center;
    margin: 4em auto;
}

/* ----------------------- */

/* --- Newsletter --- */

.newsletter {
    background-color: rgb(192, 222, 240);
    margin: 10% 0;
    padding: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.info h2 {
    line-height: 2em;
    font-size: 2em;
    font-weight: 400;
}

.info {
    width: 40%;
}

.info p {
    font-size: 0.9em;
    font-weight: 300;
}

.inscription {
    position: relative;
    top: 30px;
}

.inscription input {
    padding: 10px 100px 10px 25px;
    margin: 10px;
    font-size: 0.95em;
}

.signin {
    background-color: #171717;
    color: #fff;
    padding: 10px 50px;
}

/* ----------------------- */

/* Le footer */

.footer {
    width: 100%;
    border-bottom: solid 1px #171717;
}

.footer a {
    color: #171717;
    font-weight: 300;
    line-height: 2.5em;
}

.footer h3 {
    line-height: 3em;
    font-weight: 500;
}

.container_footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 100px;
}

.footer_service {
    width: 150px;
}

.listes {
    width: fit-content;
    line-height: 1.5em;
}

.listes h3 {
    width: 180px;
}

.listes:last-child {
    margin-right: 0;
}

.social {
    margin: 5% 10%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.social a {
    padding: 10px;
}

.footer_logo h2 {
    text-transform: uppercase;
    font-size: 2.5em;
}

/* --2nde partie footer-- */

.extraclient {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.extraclient a {
    padding: 40px;
    color: #171717;
    font-size: 0.8em;
}

/* ----------------------- */

/* ---- Page produit ----- */

.image_article img {
    width: 600px;
    height: auto;
}

.info_article {
    margin: 0 5rem;
}

.article {
    display: flex;
    flex-direction: row;
    margin: 5% auto;
    width: 90%;
}

.article > p, h4, h3, h2, h1, .main_article {
    margin: 20px 0;
}

.article h2 {
    font-weight: 500;
}

.favorite_article {
    display: inline-flex;
}

.favorite_article p {
    margin-left: 30px;
}

.header_article { 
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header_article h1 {
    font-size: 3em;
    font-weight: 400;
}

.main_article {
    width: 500px    ;
}

.row-circle {
    display: flex;
    flex-direction: row;
}

.circle {
    width: 30px;
    height: 30px;
    margin: 0 20px;
    border-radius: 100% ;
    border: solid 2px #171717;
}


.stock {
    display: inline-flex;
}

.paniershop {
    width: fit-content;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    background-color: #171717;
    color: #fff;
}

/* ------ Consulté ------- */

.consult h2,
.combine h2 {
    font-weight: 400;
    margin: 5%;
}

/* ----------------------- */

/* ------  Panier  ------- */

.containerpanier h1,
.containerpanier h2,
.containerpanier h4 {
    font-weight: 400;
}

.containerpanier {
    width: 85%;
    margin: 50px auto;
}

.subtitlepanier {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.infopanier {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 40px 0;
    border-top: solid 1px #171717;
}

.total {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: solid 1px #171717;
    padding: 40px 0;
}

.livraison {
    display: flex;
    flex-direction: row;
}

.livraison img {
    padding: 0 30px;
}

.montant span {
    padding: 0 100px;
}

.quantity {
    display: flex;
    flex-direction: row;
}

.quantity h3 {
    padding: 10px;
}

/* .footerpanier p {
    float: right;
} */

.reduction {
    display: flex;
    flex-direction: row;
    float: right;
    margin-right: 100px;
}

.reduction input {
    text-align: center;
    padding: 10px 0;
    font-size: 0.95em;
}

.reduction p {
    background-color: #171717;
    color: #fff;
    width: fit-content;
    height: fit-content;
    font-weight: 300;
    padding: 10px 40px;
    margin-left: 20px;
}

.endcommande {
    float: right;
    background-color: #171717;
    color: #fff;
    font-weight: 300;
    padding: 10px 35px;
    margin: 20px 14.5%;
}

/* ----------------------- */



.logo a {
    margin: 15px;
}

.homy {
    margin: 10px;
    font-size: 2em;
    color:#171717;

}

.number {
    height: 16px;
    width: 16px;
    z-index: 3;
    background-color: rgb(232, 164, 81);
    border-radius: 100%;
    position: absolute;
    bottom: 20px;
    right: -5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size:10px;
}
.number span {
    padding-left: 1px;
}