@media screen and (max-width: 1512px){
    .wrapper_nos-concepts img {
        width: clamp(16.8rem, 26.754vw + 0.747rem, 41.2rem);
        height: clamp(16.8rem, 26.754vw + 0.747rem, 41.2rem);
    }
    
    

}

@media screen and (max-width: 1200px){
    
    h1{
        grid-area: 3 / 2 / 4 / 3;
    }
}
@media screen and (max-width: 834px){

    #hero {
        background: url("./img/hero-tablet.jpg") no-repeat center center;
        background-size: cover;
        grid-template-columns: 6% 54% 40%;
    }
    .click-and-collect_hero {
        width: 40vmax;
        height: 40vmax;
    }

}

@media screen and (max-width: 600px){

    .wrapper_nos-concepts img {
        width: clamp(29.6rem, 41.429vw + 16.343rem, 41.2rem);
        height: clamp(29.6rem, 41.429vw + 16.343rem, 41.2rem);
    }
   .wrapper_nos-concepts {
        

        grid-template-columns: clamp(29.6rem, 41.429vw + 16.343rem, 41.2rem);
        grid-template-rows: clamp(29.6rem, 41.429vw + 16.343rem, 41.2rem) 25vh clamp(29.6rem, 41.429vw + 16.343rem, 41.2rem) 25vh
        clamp(29.6rem, 41.429vw + 16.343rem, 41.2rem) 25vh ;
        row-gap: clamp(2.4rem, 8.571vw + -0.343rem, 4.8rem);

   }

        .vegetal{
            grid-area: 1/1/2/2;
            z-index: 1;
        }
        .sans-gluten{
            grid-area: 3/1/4/2;
            z-index: 1;
        }
        .fait-maison{
            grid-area: 5/1/6/2;
            z-index: 1;
        }
        .vegetal-default {
            grid-area: 1/1/2/2;
            z-index: 0;
        }
        .sans-gluten-default {
            grid-area: 3/1/4/2;
            z-index: 0;
        }
        .fait-maison-default {
            grid-area: 5/1/6/2;
        }
        .one {
            grid-area: 2/1/3/2;
        }
        .two {
            grid-area: 4/1/5/2;
        }
        .three {
            grid-area: 6/1/7/2;
        }
    
     
    .box-container_nos-mochis {
        grid-template-columns: repeat(2, clamp(14.2rem, 42.857vw + 0.486rem, 26.2rem));
        grid-template-rows: clamp(14.2rem, 42.857vw + 0.486rem, 26.2rem) 1.6rem clamp(14.2rem, 42.857vw + 0.486rem, 26.2rem) 1.6rem
        clamp(14.2rem, 42.857vw + 0.486rem, 26.2rem) 1.6rem clamp(14.2rem, 42.857vw + 0.486rem, 26.2rem) 1.6rem;
        gap:1.2rem;
        width: fit-content;
        height: fit-content;
        align-items: center;
        justify-items: center;
    }
    .matcha-decoupe, .matcha { grid-area: 1 / 1 / 2 / 2; }
    .sesame-decoupe, .sesame { grid-area: 1 / 2 / 2 / 3; }
    .caramel-decoupe, .caramel { grid-area: 3 / 1 / 4 / 2; }
    .kinako-decoupe, .kinako { grid-area: 3 / 2 / 4 / 3; }
    .ananas-decoupe, .ananas { grid-area: 5 / 1 / 6 / 2; }
    .framboise-decoupe, .framboise { grid-area: 5 / 2 / 6 / 3; }
    .hojicha-decoupe, .hojicha { grid-area: 7 / 1 / 8 / 2; }
    .harico-decoupe, .harico { grid-area: 7 / 2 / 8 / 3; }
    .box-container_nos-mochis > p:nth-of-type(1) { grid-area: 2 / 1 / 3 / 2; }
    .box-container_nos-mochis > p:nth-of-type(2) { grid-area: 2 / 2 / 3 / 3; }
    .box-container_nos-mochis > p:nth-of-type(3) { grid-area: 4 / 1 / 5 / 2; }
    .box-container_nos-mochis > p:nth-of-type(4) { grid-area: 4 / 2 / 5 / 3; }
    .box-container_nos-mochis > p:nth-of-type(5) { grid-area: 6 / 1 / 7 / 2; }
    .box-container_nos-mochis > p:nth-of-type(6) { grid-area: 6 / 2 / 7 / 3; }
    .box-container_nos-mochis > p:nth-of-type(7) { grid-area: 8 / 1 / 9 / 2; }
    .box-container_nos-mochis > p:nth-of-type(8) { grid-area: 8 / 2 / 9 / 3; }
    .flavor_nos-mochis { font-size: 1.3rem; line-height: 1.6rem; }

    /* Hero on phones: order button on top, quote at the bottom */
    #hero {
        grid-template-columns: 1fr;
        grid-template-rows: 13.6vh 1fr auto auto;
        min-height: 60rem;
    }
    .click-and-collect_hero {
        grid-area: 2 / 1 / 3 / 2;
        position: relative;
        width: min(80vw, 32rem);
        height: min(80vw, 32rem);
    }
    .click-and-collect_hero {
        grid-template-columns: 18% 64% 18%;
    }
    .client_hero {
        grid-area: 3 / 1 / 4 / 2;
        margin-left: clamp(1.6rem, 6.25vw, 8.2rem);
        width: 7.2rem;
        height: auto;
    }
    h1 {
        grid-area: 4 / 1 / 5 / 2;
        margin-bottom: 6vh;
    }
    .container_footer-links {
        gap: 1.6rem;
        padding: 0.4rem 1.6rem;
    }
    .btn_footer-links {
        font-size: 2rem;
    }

    .matcha-decoupe, .sesame-decoupe,.caramel-decoupe,.kinako-decoupe,
    .ananas-decoupe, .framboise-decoupe,.hojicha-decoupe,.harico-decoupe {
        width: clamp(14.2rem, 42.857vw + 0.486rem, 26.2rem);
        height: clamp(14.2rem, 42.857vw + 0.486rem, 26.2rem);
}
    .matcha, .sesame, .caramel, .kinako, .ananas, .framboise, .hojicha, .harico{
        width: clamp(16.2rem, 42.857vw + 2.486rem, 28.2rem);
        height: clamp(16.2rem, 42.857vw + 2.486rem, 28.2rem);
    
}
    .grid-container {
        grid-template-columns: clamp(29.6rem, 85.714vw + 2.171rem, 53.6rem);
        grid-template-rows: repeat(4, auto);
        row-gap: 3.2rem;
        height: fit-content;
        width: fit-content;
    }
    .desc_histoire { grid-area: 2 / 1 / 3 / 2; }
    .desc_tradition { grid-area: 4 / 1 / 5 / 2; }
    .grid-container > img {
        width: clamp(29.6rem, 85.714vw + 2.171rem, 53.6rem);
        height: clamp(29.6rem, 85.714vw + 2.171rem, 53.6rem);
        justify-self: center;
        align-self: center;
        }
        .histoire-default, .histoire {
            grid-area: 1 / 1 / 2 / 2;
        }
        .tradition-default, .tradition {
            grid-area: 3 / 1 / 4 / 2;
        }
        h2 {
            text-align: center;
          }
        h3 {
            text-align: center;
            margin-bottom: 2vh;
        }
        .text-wrapper > p {
            text-align: center;
        }
}
    
    
@media screen and (max-width: 375px){

    #hero {
        background: url("./img/hero-mobile.jpg") no-repeat center center;
        background-size: cover;
}
    .client_hero {
         width: 6.4rem;
    }

    
}

