/* ---------------------------------------------MOBILE (très petits écrans) ---------------------------------------------- */


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

    header {
        width: 100%;
        height: 10em !important;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .margin-special {
        margin-top: 2em;
    }

    .leaf-div {
        display: flex;
        justify-content: center;
    }

    footer div.accordion-body-legals h5 {
        font-size: 14px;
    }

    footer div.accordion-body-legals article p {
        font-size: 12px;
        text-align: justify;
    }

    footer a {
        width: fit-content;
        font-size: 14px;
    }

    .m-top {
        margin-top: 1em;
    }

    img.flossie-galliano {
        width: 80px;
        height: 120px;
    }

    .fit-picture {
        width: 6rem;
        height: 6rem;
    }

    span.subtitle {
        font-weight: bold;
    }

    div.toggle.theme-switch-wrapper {
        margin-top: 5em;
    }

    header button.btn {
        margin: 1em;
    }

    .table td.fit-width {
        width: 23% !important;
    }

    @media only screen and (min-width : 237px) and (max-width : 360px) {

        main p, ul {
            font-size: 16px!important;
        }

        footer div.accordion-body-legals article p {
            font-size: 12px;
            text-align: justify;
        }

        footer div.accordion-body-legals h5 {
            font-size: 14px;
        }

        .table-container {
            width: auto;
            padding: 0;
        }

        .table td.fit-width {
            width: 18% !important;
        }

        main h3 {
            font-size: 16pxmportant;
        }

        img.pictogramme {
            width: 25px !important;
            text-align: center !important;
        }

        .ripple-background {
            top: 100px !important;
            left: -104px !important;
        }

        table, th {
            font-size: 16px !important;
        }

        .one {
            top: -7px !important;
            left: 8px !important;
        }
        .two {
            top: 23px !important;
            left: -41px !important;
        }
        .three {
            top: 26px !important;
            left: 54px !important;
        }
        .four {
            top: 78px !important;
            left: -25px !important;
        }
        .five {
            top: 79px !important;
            left: 32px !important;
        }

        @media only screen and (min-width : 338px) and (max-width : 360px) {
            .ripple-background {
                top: 100px !important;
                left: -104px !important;
            }
    
            .table-container {
                width: auto;
                padding: 0;
            }
            .table {
                border-radius: 1em;
            }
            footer div.accordion-body-legals article p {
                font-size: 12px;
                text-align: justify;
            }
            footer div.accordion-body-legals h5 {
                font-size: 14px;
            }
        }
    }

    @media only screen and (min-width : 300px) and (max-width : 400px) {
        header {
            background-size: 100%;
        }
    }

    @media only screen and (min-width : 361px) and (max-width : 388px) {
        table, th {
            font-size: 16px !important;
        }

        .table-container {
            width: auto;
            padding: 0;
        }

        .table {
            border-radius: 1em;
        }
        
    }

    main {
        font-size: 16px!important;
    }

    h3 {
        font-size: 16px!important;
    }

    header button.btn{
       height: 20%;
       font-size: 16px!important;
    }

    .main-list {
        font-size: 16px;
    }

    .my-vision {
        margin-bottom: 1em;
    }
    
    div.circle.medium.shade {
        padding: 1em !important;
        margin-left: 1rem;
    }

    main div.accordion-body {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    main button.accordion-button.collapsed {
        font-size: 16px;
    }

    main button.accordion-button:not(.collapsed) {
        font-size: 16px;
    }

    main p {
        margin: auto;
    }
/* ------------------------------------------------- ANIMATION PICTOGRAMMES DEBUT -------------------------------------- */

    img.pictogramme {
        width: 35px;
        text-align: center;
    }

    .medium{
    width: 50px;
    height: 50px;
    }
    
    @keyframes ripple{
        0%{
          transform: scale(0.5);
        }
        
        50%{
          transform: scale(1);
        }
        
        100%{
          transform: scale(0.8);
        }
    }

    .for-who-container {
        display: flex;
        justify-content: center;
    }

    .container-list-leaf {
        width: 100%;
    }

    .container-ripple {
        position: relative;
    }

    .ripple-background {
        width: 100%;
        margin-top: 1rem;
        position: absolute;
        top: 100px;
        left: -130px;
    }

    div.circle.medium.shade {
        width: fit-content;
        height: fit-content;
        padding: 1em;
        align-items: center;
        box-shadow: 0 0 50px #ccf49e;
        border: 3px solid #9ccc65;
        background-color: #6d973d;
        border-radius: 50%;
        animation: ease-in 2s inifinite;
        position: absolute;
    }

    .one {
        top: -21px;
        left: 10px;
    }
    .two {
        top: 23px;
        left: -50px;
    }
    .three {
        top: 20px;
        left: 71px;
    }
    .four {
        top: 92px;
        left: -25px;
    }
    .five {
        top: 90px;
        left: 49px;
    }

    .list-leaf {
        padding-left: unset;
    }
/* ------------------------------------------------- ANIMATION PICTOGRAMMES FIN -------------------------------------- */
    /* table, th {
        width: 100%;
        font-size: 16pxm !important;
    } */

    .span-comment-avis {
        font-size: 16px;
    }

    footer li {
        font-size: 16pxm;
    }

    footer li {
        padding-left: 0;
        font-size: 16pxm;
        display: flex;
        flex-direction: column;
        width: 100%;  
    }

    footer ul {
        padding: 0;
    }

    footer h4 button.accordion-button {
        font-size: 16px;
        height: 1.9rem;
    }

    footer button.accordion-button.collapsed {
        height: 0.2em !important;
        font-size: 16px;
    }

}

@media only screen and (min-width : 401px) and (max-width : 509px) {
    table, th {
        font-size: 16px !important;
    }
    
    header {
        background-size: 100% !important;
        height: 18rem !important;
    }
}