/* up SM */

@media (min-width: 576px) {
}
/* up MD */
@media only screen and (min-width: 766px) {
    .heroBanner .textBlock {
        width: 70%;
    }
    /* Style pour le titre */
    .heroBanner .textBlock .title {
        font-size: 50px;
        margin-bottom: 50px;
        line-height: 50px;
    }

    /* Style pour le sous-titre */
    .heroBanner .textBlock .subtitle h3 {
        font-size: 54px;
        line-height: 62px;
    }
    .menuWeeks {
        width: 100%;
    }
    /* .menuWeeks.visual .listMenu .cardMenu, */
    .listHorsMenu .cardMenu {
        height: 60vh;
        width: 70vw;
    }
    /* .menuWeeks.visual .listMenu .cardMenu .avatar, */
    .listHorsMenu .cardMenu .avatar {
        height: 70vw;
    }
    .listMenu .cardMenu .menuTitle,
    .listHorsMenu .cardMenu .menuTitle {
        font-size: 26px;
    }
    .listMenu .cardMenu .menuInfo p,
    .listHorsMenu .cardMenu .menuInfo p {
        font-size: 20px;
        line-height: 28px;
        margin: 0 0 20px;
    }
    .sectionContent {
        .d-flex {
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-evenly;
            .card {
                justify-content: space-between;
                width: 30%;
            }
        }
    }
}

/* up LG */
@media only screen and (min-width: 992px) {
    .headerContent {
        height: 70px;
    }
    a.headerLogo {
        height: 70px;
        width: 200px;
        display: flex;
        align-items: center;
    }
    a.headerLogo img {
        height: 100%;
        width: auto;
    }
    .headerNavigation nav.navigation.mainNav ul.list li.listItem a.link {
        font-size: 30px;
        height: 70px;
    }
    .headerNavigation nav.navigation.mainNav ul.list li.listItem.link a.link:hover {
        font-size: 32px;
    }
    .header.isOpen .headerNavigation {
        justify-content: center;
    }
    nav.navigation.mainNav {
        max-width: 650px;
    }
    .subNav {
        top: 87px;
        .navList {
            flex-wrap: unset;
            gap: 10px;
        }
    }
    .animationList .animation,
    .magazineList .pulpeMain:nth-child(even) {
        flex-direction: row;
        margin: 25px 0;
    }
    .animationList .animation:nth-child(even),
    .magazineList .pulpeMain:nth-child(even) {
        flex-direction: row-reverse;
    }

    .kitchenRecipe {
        width: 100%;
    }
    .adviceArticle {
        width: 100%;
    }
    .modalCard {
        position: absolute;
        height: 80%;
        width: 80%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: var(--white);
        display: flex;
        flex-direction: row;
    }
    .modalBg {
        display: block;
    }
    .imgModal {
        width: 50%;
        height: 100%;
    }
    .imgModal img {
        height: 100%;
        width: auto;
    }
    .infoModal {
        width: 50%;
        padding: 10px 0 0 0;
        justify-content: space-between;
    }
    .infoModal .recette {
        overflow-y: scroll;
        text-align: left;
        padding: 10px;
    }
    .infoModal .recette::-webkit-scrollbar {
        opacity: 0;
    }
    .infoModal .recette h3 {
        color: var(--primary);
    }
    .infoModal .footerInfo {
        background-color: var(--neutral-extra-light);
        height: 80px;
        padding: 10px;
        display: flex;
        align-items: center;
    }
    .closeModal {
        position: absolute;
    }
    .menuWeeks {
        width: 1020px;
        padding: unset;
        justify-content: space-evenly;
    }
    .menuWeeks.visual {
        min-height: 645px;
        height: fit-content;
        gap: 10px;
        padding: 15px 0 0 0;
    }
    .menuWeeks.visual.nocarousel {

        gap: unset;
        padding: 20px 0;
    }
    /* .menuWeeks.visual .slideMenu .cardMenu {
        min-height: 550px;
        height: fit-content;
    } */
    .menuWeeks.visual .listMenu,
    .listHorsMenu {
        justify-content: center;
        align-items: center;
        overflow-y: scroll;
        flex-wrap: wrap;
        overflow-x: hidden;
        margin-top: 20px;
    }
    .listHorsMenu {
        margin-top: 0;
        padding: 15px;
        height: auto;
    }
    /* .menuWeeks.visual .listMenu .cardMenu, */
    .listHorsMenu .cardMenu {
        height: 60vh;
        width: 20vw;
        min-width: 315px;
    }

    /* .cardMenu {
        width: 315px;
    } */
    .listHorsMenu .cardMenu {
        height: 65vh;
        width: 26vw;
        min-width: 315px;
        .menuTitle {
            height: 60px;
        }
        .menuInfo {
            min-height: 215px;
            height: fit-content;
        }
    }
    .listHorsMenu .cardMenu .menu {
        height: calc(100% - 164px);
    }
    .listHorsMenu .cardMenu .avatar {
        height: 100px;
    }
   
    .menuWeeks .filters {
        flex-direction: row;
        justify-content: center;
        gap: 25px;
        width: calc(100% - 200px);
    }
    .menuWeeks .filters .days {
        width: 300px;
    }
    .menuWeeks .filters .prices .checkboxes input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    .menuWeeks .filters .prices .checkboxes label {
        line-height: 20px;
        font-size: 14px;
    }
    /* .slideMenu {
        display: block;
    } */
    .listMenu {
        display: none;
    }
    ul.slideDaysBtns,
    ul.slideCardsBtns {
        display: flex;
    }

    .actuality,
    .eldoraApp,
    .pulpeMain,
    .customSection {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .section .pulpeMain {
        flex-direction: row-reverse;
    }
    .section {
        &.custom:nth-of-type(even) {
            .customSection {
                flex-direction: row-reverse;
            }
        }
    }
    .magazineList .pulpeMain {
        justify-content: center;
    }
    .actualityVisuel,
    .actualityTexts,
    .eldoraAppVisuel,
    .eldoraAppTexts,
    .pulpeMainVisuel,
    .pulpeMainTexts,
    .customTexts,
    .customVisuel {
        width: 500px;
        height: 500px;
    }
    .actualityTexts,
    .eldoraAppTexts,
    .pulpeMainTexts,
    .customTexts {
        justify-content: center;
        height: auto;
    }
    .actualityText,
    .eldoraAppTexts,
    .pulpeMainTexts,
    .customTexts {
        display: flex;
        margin: unset;
        flex: 1;
        padding: 20px 8px;
    }
    .eldoraAppVisuel .visuelImg {
        width: 360px;
        height: 520px;
    }
    .pulpeMainVisuel .visuelImg {
        width: 100%;
        height: 100%;
    }
    .visuelAnimation {
        position: absolute;
        top: 26px;
        left: 69px;
        height: 393px;
        width: 241px;
    }
    .eldoraAppVisuel .visuelAnimation {
        top: 56px;
        left: 80px;
        height: 416px;
        width: 203px;
        z-index: 100;
    }
    .footer .info {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: start;
        .company {
            min-width: 200px;
        }
    }
    .footerLogo {
        border-top: unset;
        border-right: 1px solid var(--white);
    }
    .recipes .filter .filterList {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: var(--white);
    }
    .recipeList {
        justify-content: space-between;
    }
    #mainForm {
        height: calc(100vh - 80px);
    }
    #mainForm .avis {
        height: 100%;
        flex-direction: row;
    }
    #mainForm .avis .texte {
        min-height: 100%;
        width: 50%;
        display: flex;
        justify-content: space-around;
        padding: 20px;
    }
    #mainForm .avis .bg {
        min-height: 100%;
        width: 50%;
        background-color: var(--primary);
        display: flex;
        position: relative;
    }
    #mainForm .avis .bg .img {
        width: 100%;
        height: 100%;
        background-image: url(../images/Artichaud.jpg);
        background-position-y: center;
        background-position-x: right;
        position: absolute;
        top: 0;
        right: 0;
        opacity: 90%;
    }
    .section .sectionTitle {
        position: relative;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        flex-direction: row;
    }
    .section .sectionTitle h2,
    .section .sectionTitle div h2,
    .section.feedInsta .sectionTitle h2 {
        line-height: 45px;
        text-align: left;
    }
}

/* up xl */
@media (min-width: 1200px) {
    body {
        font-size: 16px; /* This overrides the browsers default font size */
        line-height: 20px; /* If you change the font-size make sure you change the line-height value as well - the usual ratio is around 1.5 (font-size x 1.5 = line-height) */
    }
    .typography h1 {
        font-size: 36px;
        line-height: 45px;
    }
    .typography h2,
    .section.feedInsta .sectionTitle h2 {
        font-size: 30px;
        line-height: 35px;
        font-family: "Bricolage Grotesque", "Raleway", Times, serif;
    }
    .typography h3 {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 10px;
    }
    .typography h4 {
        font-size: 18px;
        line-height: 25px;
        margin-bottom: 5px;
    }
    .typography h5 {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 5px;
    }
    .typography h6 {
        font-size: 14px;
        line-height: 20px;
        font-weight: bold;
        margin-bottom: 5px;
    }
    .typography p {
        font-size: 16px;
        line-height: 22px;
        margin: 0 0 20px;
    }

    .footer strong {
        font-size: 16px;
    }
    #mainContent.restaurant {
        font-size: 18px;
    }
    .hours h3 {
        font-size: 16px;
    }
    .hours .planning .texts {
        font-size: 22px;
        line-height: 26px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}

/* up xxl */
@media only screen and (min-width: 1400px) {
    .listHorsMenu .cardMenu {
        height: 65vh;
        width: 19vw;
        min-width: 315px;
    }
}
