@media screen and (max-width: 767px) {
    * {
        box-sizing: content-box;
    }

    body {
        padding: 0px;
        margin: 0px;
        margin: auto;
        background-color: #f2f2f2;
        overflow-x: hidden;
        width: 100%;
        min-width: 100%;
    }

    /* modification de la navigation et du logo */
    header {
        background-color: white;
        border-radius: 0px 0px 0px 0px;
        width: 100%;
    }
    .h1 {
        width: 90%;
        margin: auto;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .intro {
        width: 90%;
        margin: auto;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .logo {
        display: flex;
        flex-direction: column;
        margin: auto;
        margin-top: 20px;
    }

    .nav {
        display: flex;
        margin: 0px;
        width: 100%;
        flex-direction: row;
        background-color: white;
        border-radius: 0px 0px 0px 0px;
        margin: 0px;
        margin-left: 0px;
        justify-content: space-around;
    }

    .navText {
        border-bottom: solid;
        border-color: #f2f2f2;
        width: 50%;
        text-align: center;
        margin: 0px;
        min-width: 0px;
        padding: 0px;
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .navTextHosting {
        border-color: #0065fc;
        color: #0065fc;
    }

    /* modifications sur la section recherches  */
    .search {
        width: 100%;
    }
    .navLinkHosting {
        color: #0065fc;
    }
    .navLinkHosting:visited {
        color: inherit;
    }
    .searchAndFilter {
        background-color: white;
        border-radius: 0px 0px 0px 0px;
        width: 100%;
        margin: 0px;

        padding: 0px;
    }

    .researchForm {
        height: 50px;
        width: 90%;
        margin: auto;
    }

    .searchLocationDiv {
        width: 15%;
    }

    .searchLocationPin {
        margin: auto;
    }

    .searchText {
        width: 75%;
        text-align: left;
        padding-left: 20px;
    }

    /* on affiche la loupe à la place du texte dans la barre de recherche */
    .searchButtonFA {
        display: inherit;
        width: 10%;
        text-align: center;
    }

    .searchButtonIcon {
        margin: auto;
        font-size: large;
        font-weight: bold;
    }

    .textSearchButton {
        display: none;
    }

    /* modification des filtres pour version mobile */

    .filters {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin: auto;
    }

    .filterTitle {
        width: 100%;
        text-align: left;
        padding-left: 20px;
    }

    .filterButton {
        min-width: 0px;
        width: 37%;
        margin: auto;
        margin-top: 15px;

        font-weight: 700;
        font-size: 11px;
        line-height: 13px;
    }

    .logementsDispoMobile {
        display: inherit;
        width: 90%;
        margin: auto;
       
        
    }
    /* Modification de l'ordre d'affichage Populaire et Hébergement + modification de leur design */
    .sideSections {
        display: flex;
        flex-direction: column-reverse;
        width: 90%;
        margin: 0px;
    }

    .popular {
        height: auto;
        width: 100%;
    }
    .sideCard {
        margin: 0px;
        min-width: 0px;
    }

    .popularFlexBox {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .popularPreview {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .popularImg {
        width: 40%;
        min-width: 40%;
    }

    .hosting {
        height: auto;
        width: 100%;
        min-width: 0px;
    }

    .hostingFlexBox {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .hostingImg {
        height: 130px;
        width: 100%;
    }

    .clickCardHosting {
        width: 100%;
    }

    .hostingPreview {
        width: auto;

        margin-top: 10px;
        margin-bottom: 10px;
    }

    /* le lien pour afficher plus disparaît sur Mobile */
    .showMore {
        display: none;
    }

    /* modification des activités */
    .activities {
        width: 100%;
        height: auto;
    }

    .activitiesImg {
        width: 100%;
        height: 160px;
    }

    .activitiesFlexbox {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .clickCardActivities {
        width: 100%;
        height: auto;
    }

    .activitiesPreview {
        width: 90%;
        margin: auto;

        margin-top: 10px;
        margin-bottom: 10px;
        height: 220px;
    }

    /* modification du footer */
    .footerClass {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;

        padding-bottom: 30px;
        height: auto;
    }

    .footerList {
        width: 80%;
        height: auto;
    }
}
