@media (max-width: 767.98px) {

    :root {
        --font-h1 : normal 500 28px var(--font-family-title);
        --font-h1section-mobile : normal 400 18px var(--font-family-title);
        --font-h2 : normal 500 22px var(--font-family-text);
        --font-h3 : normal 400 22px var(--font-family-text3);
        --font-tab : normal 16px var(--font-family-title);
        --font-veryimportant : bold 20px var(--font-family-text);
        --font-important : bold 20px var(--font-family-text);
        --font-text1 : normal 24px var(--font-family-text);
        --font-button : bold 16px var(--font-family-text);
        --font-text : normal 16px var(--font-family-text);
        --font-source : normal 14px var(--font-family-text);
        --font-footer : normal 14px var(--font-family-text);
        --font-mini : normal 14px var(--font-family-text);
        --font-explain : normal 14px var(--font-family-text);

        --min-gap: 20px;

        --height-header: 120px;

        --space_footer_options_mobile: 80px;
    }

    .only-desktop {
        display: none;
    }

    body {
        font: var(--font-text);
    }

    .logo-section{
        width: 100%;
    }
    .navbar-logo {
        margin-left: 20px;
        width: 100%;
    }
    .banniere-header {
        background-image: url('../images/banniere-header-mobile.svg');
        height: 20px;
    }
    .home_image{
        background: url("../images/home5_mobile.webp") center;
        background-size: contain;
        background-repeat: no-repeat;
        overflow: hidden;
        min-height: 300px;
    }

    .section img{
        max-width: 150px;
    }

    .h1block{
        margin: 30px 0;
    }

    h2 {
        font: var(--font-h2);
    }

    .h1-mobile{
        font: var(--font-h1section-mobile);
        flex-grow: 1;
        text-align: left;
        margin-left: 10px;
        font-weight: bold;
        font-size: 20px;
        color: var(--writingColor);
    }
    .only-mobile .h1-section {
        font: var(--font-h1section-mobile);
    }

    .nav-link{
        color: var(--writingColor);
    }

    .info-warning{
        padding: 2%;
    }

    .warning-plus{
        text-wrap: balance;
        line-height: 1.5;
        padding: 5px 10px;
    }

    .image-container{
        flex-basis: 35%;
    }

    .card-image{
        width: 80px;
        height: 80px;
        object-fit: contain;
    }


    .image-container{
        flex-basis:40%;
        width: 30%;
        margin-bottom: 20px;
    }

    .circle{
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }
    .circle img{
        width: 80px;
        height: 80px;
    }


    .image-button{
        flex-basis: 45%;
    }

    .card-main{
        flex-basis: 100%;
    }
    .card-secondary{
        justify-content: center;
        padding-bottom: 2em;
    }
    .stat{
        flex-basis: 40%;
        margin: 5px 0;
        padding: 10px;
    }

    .navbar-brand img {
        width: 260px;
        height: 70px;
        object-fit: contain;
    }
    .navbar-collapse {
        background-color: var(--Secondary-Green);
        max-width: 300px;
        border-radius: 1rem;
        padding-bottom: 5px;
        position: relative;
        z-index: 2000;
    }
    .collapse.show {
        display: block;
    }
    .main-navbar.only-mobile {
        width: 100%;
        z-index: 2000;
    }

    .menu {
        height: 50px;
    }

    .auth_section {
        margin-top: 50px;
    }

    .mobile-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: var(--space_footer_options_mobile);
        background-color: var(--Background-color);
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        padding: 10px 0;
        z-index: var(--z-index-header);
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    }
    .mobile-footer a{
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 25px;
        text-decoration: none;
    }
    .mobile-nav-item.active{
        color: var(--Primary-Orange);
    }
    .mobile-nav-item.active i{
        color: var(--Primary-Orange);
    }
    .footer-icon {
        color: var(--Secondary-Brown);
        text-decoration: none;
        font-size: 24px;
    }
    .footer-icon i {
        display: block;
    }
    .footer-icon:active {
        color: var(--Secondary-Orange);
    }
    .footer-space{
        height: var(--space_footer_options_mobile)
    }

    .navbar-light .navbar-toggler {
        color: rgba(0,0,0,.5);
        border-color: rgba(0,0,0,.1);
    }

    .autocomplete-box{
        padding: 10px;
        margin-bottom: 5px;
    }

    .row-adapt{
        flex-direction: column;
        flex-basis: 100%;
    }

    .accueil h1 {
        font-size: 32px;
    }
    .accueil h2 {
        margin-top: 20px;
    }

    .presentation{
        padding: 0em 10% 20%;
    }

    .equitable{
        flex-direction: column;
        line-height: 3;
    }

    .info-number{
        font : var(--font-important);
        margin-right: 5px;
    }

    .legal{
        padding-top: 10px;
    }

    .btn{
        padding: 15px 30px;
    }
    .btn-detail{
        padding: 15px 30px;
    }
}
