@media (min-width: 320px) and (max-width: 767.98px) {
    /* ... */
    html {
        overflow-x: hidden;
    }

    body {
        margin: 0;
    }
    
    .main-container  {
        padding: 0;
    }
    
    input.hidden-mobile {
        display: none;
    }

    input.hidden-desktop {
        display: none;
    }
    
    /****** HEADER SMARTPHONE ***********/
    
    header {
        flex-direction: column;  
    }
    
    .logo {
        padding-top: 25px;
        margin-bottom: 15px;
    }

    .booki {
        text-align: center;
    }
    
    nav {
        width: 100%;
    }
    
    nav ul {
        padding-left: 0;
        gap: 0;
    }
    
    .navbar {
        width: 100%;
        height: 40px;
        align-items: center;
        border-bottom: 3px solid var(--main-bg-color);
        padding-bottom: 5px;
        margin-left: 0;
    }
    
    .navbar li {
        width: 50%;
    }
    
    .lien-header:hover {
        display: block;
        width: 100%;
        border-top: none;
        border-bottom: 3px solid var(--main-color);
        padding-bottom: 14px;
    }
    
    /****** BARRE DE RECHERCHE SMARTPHONE ***********/
      
    #searchForm {
        padding-left: 15px;
        padding-right: 20px;
        margin-bottom: 20px;  
    }

    #searchForm .result {
        width: 100%;
        margin-right: 20px;
        margin-top: 40px;
    }
    
    #searchForm .result #city {
        width: 100%;
        border-right: none;
    } 
      
    .map-icon {
        padding: 16px;
        font-size: 16px;
        border-radius: 15px 0 0 15px;
        width:10%;  
    }

    #city {
        border-top: 1px solid var(--main-bg-color);
        border-bottom: 1px solid var(--main-bg-color);
    }

    .hidden-desktop {
        display: flex;
        border: none;
        border-radius: 15px 15px;
        background-color: var(--main-color);
        color: white;
        padding: 13px 15px;
        box-shadow: 0px 5px 5px #D9D9D9;
        margin-left: -10px;
        position: relative;
        font-size: 17px;
        cursor: pointer;
    }
    
      /****** FILTRES SMARTPHONE ***********/
    
    .filter span, .info {
        padding-left: 20px;
        padding-right: 20px
    }

    .filter {
        display: flex;
        flex-wrap: wrap;
        margin-top: 20px;   
    }

    .filter span {
        display: block;
        width: 100%;
        padding-bottom: 15px;
    }

    .bouton {
        margin-left: 10px;
        margin-top: -5px;
        font-size: 5px;
    }
    
    .info .fa-info {
        font-size: 12px; 
        padding: 7px 11px 14px 11px; 
    }

    .info {
        margin-bottom: 50px;
    }
    
     /****** LES PLUS POPULAIRES SMARTPHONE ***********/

    .hebergements-and-populaires {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        margin-top: -50px;  
    }
    
    .hebergements-and-populaires section {
        border-radius: 20px;
        padding: 30px;
        box-sizing: border-box;
        margin-bottom: 15px;
    }

    .populaires-cards {
        display: flex;
        flex-direction: column;
        width: 100%;
        border-radius: 0px; 
    }

    .populaires {
        width: 100%;
        justify-content: center;
    }
    
    .populaires-cards .card-title {
        font-size: 15px;
    }
    
    .populaires-cards a {
        width: 100%;
        margin-bottom: -13px;
    }

    /****** HEBERGEMENTS A MARSEILLE SMARTPHONE ***********/

    .hebergements-and-populaires #hebergement {
        background-color: transparent; 
        border-radius: 20px;
        padding: 30px;
        box-sizing: border-box;
    }

    .hebergements {
        width: 100%;
        height: 1540px;
        padding: 0;
    }

    #hebergements {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        justify-content: center;
    }

    .card-link {
        width: 100%; 
        margin-top: 20px; 
        margin-bottom: -13px;
        display: flex;            
        justify-content: center
    }

    #hebergements .card-link img {
        height: 120px;
    }

    .card-link img {
        object-fit: cover;
    }

    #hebergement h4 {
        margin-top: 30px;
    }

    
    /****** ACTIVITES A MARSEILLE SMARTPHONE ***********/

    #marseille-list {
        display: flex;
        flex-direction: column;   
    }

    #marseille-list .card {
        width: 100%;
        margin-bottom: 20px;
        height: 220px;
    }
    
    .marseille-activites {
        padding-left: 0;
        margin-left: 30px;
        margin-right: 30px;
        margin-bottom: 5px;
        margin-top: -5px;
    }
    .marseille-activites h2 {
        margin-bottom: 35px;
    }

    #marseille-list .marseille img {
        height: 170px;
    }

    /****** FOOTER SMARTPHONE ***********/

    footer {
        display: flex;
        flex-direction: column;
        height: 10%;  
    }
   
    .footer-container  {
        margin-left: 20px;
    }
    
    footer ul {
        font-size: 12px;
        line-height: 23px;
    }

    footer h5 {
        font-size: 13px;
    }
    
    .nos-hebergements, .assistance {
        margin-left: 0;
    }
    
}
