body {

    width: 95%;
    max-width: 1400px;
    font-family: Raleway;
    margin-left: auto;
    margin-right: auto;

}

h1 {

    font-style: normal;
    font-size: 22px;
    margin: 0;

}

h2 {

    font-size: 18px;
    margin: 0;
}

h3 {

    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

ul {

    padding-left: 0;

}

li {

    display: inline-block;
    list-style: none;
    padding-right: 67px;

}

.header {

    margin-bottom: 40px;

}

.nav__menu {

    display: flex;
    justify-content: space-between;

}

.header__logo {

    margin-top: auto;
    margin-bottom: auto;
    height: 19px;
    align-items: center;

}

.nav__hosts,
.nav__activity {

    font-size: 16px;
    text-align: center;


}

.nav__links {

    text-decoration: none;
    color: black;

}

.nav__links:hover {

    color: #0065FC;
    text-decoration: 2px underline;
    text-underline-offset: -40px;

}


.subtitle {

    font-size: 16px;
    margin-top: 8px;

}



.search__bar {

    display: flex;
    background-color: #FFFFFF;
    border: 1px solid #F2F2F2;
    border-radius: 15px;
    width: max-content;
    height: 49px;


}

.location__icon {

    display: flex;
    background-color: #F2F2F2;
    border-radius: 15px 0px 0px 15px;
    padding: 19px;
    justify-content: center;
    align-items: center;

}

.search__form {

    display: flex;

}

.search__field {

    display: flex;
    border: none;
    font-weight: 700;
    padding-left: 20px;


}


.search__field::placeholder {

    color: black;
    font-weight: 700;
    opacity: 1;

}

.mglass {

    display: none;

}

.search__button {

    display: flex;
    background-color: #0065FC;
    height: 49px;
    width: 90px;
    color: white;
    border: none;
    margin: auto;
    font-weight: 700;
    border-radius: 0px 15px 15px 0px;
    cursor: pointer;

}


.filters {

    display: flex;
    margin-top: 46px;
}

.filters__text {

    display: flex;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    justify-content: center;
    align-items: center;
    margin-right: 32px;

}

.btn__group {

    display: flex;
    flex-wrap: wrap;
    gap: 40px;

}

.filters__button {

    display: flex;
    height: 50px;
    border: 2px solid #D9D9D9;
    border-radius: 25px;
    background-color: white;
    justify-content: center;
    align-items: center;
    font-style: normal;
    font-size: 17px;
    font-weight: 700;
    padding: 4px 20px 4px 20px;
    gap: 10px;
    white-space: nowrap;
    cursor: pointer;

}

.filters__button:hover {

    background-color: #DEEBFF;
}

.fa-money-bill-wave,
.fa-person,
.fa-heart,
.fa-dog,
.fa-star,
.fa-chart-line {

    color: #0065FC;

}

.result__number {

    display: flex;
    margin-top: 38px;
    align-items: center;

}

.fa-info {

    color: #0065FC;
    border: 1px solid #D9D9D9;
    border-radius: 50%;
    font-size: 10px;
    padding: 6px 10px 7px 10px;

}

.result__text {

    margin-left: 11px;

}

.cards {

    display: flex;

}


.cards__results {

    margin-top: 39px;
    padding-left: 40px;
    padding-right: 40px;
    width: 60%;
    background-color: #F2F2F2;
    border-radius: 20px;

}




.title__results {

    margin-top: 42px;
    margin-bottom: 23px;

}


.hosts__results {

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.card {

    display: flex;
    flex-direction: column;
    width: 30%;
    background-color: white;
    border-radius: 20px;
    filter: drop-shadow(0px 3px 15px rgba(0, 0, 0, 0.1));
    padding: 5px;
    margin-bottom: 20px;
    height: 220px;

}

.card__link,
.footer__link,
.link__popular {

    text-decoration: none;
    color: black;
    height: 100%;


}

.card__img {

    border-radius: 20px 20px 0px 0px;
    width: 100%;
    height: 60%;
    object-fit: cover;
    box-sizing: border-box;

}

.card__content {

    display: flex;
    flex-direction: column;
    margin-top: 4px;
    margin-left: 16px;
    height: 35%;

}

.card__text {

    margin-top: 4px;
    font-size: 14px;
    margin-bottom: 4px;


}

.bold {

    font-weight: bold;

}

.card__stars {

    display: flex;
    flex-grow: 1;
    align-items: end;

}

.fa-star {

    font-size: 12px;

}

.star-grey {

    color: #F2F2F2;

}

.more__results {

    margin-top: 40px;
    margin-left: 4px;
    margin-bottom: 46px;

}

.popular {

    display: flex;
    flex-direction: column;
    padding-left: 37px;
    padding-right: 40px;
    margin-left: 3%;
    margin-top: 39px;
    width: 30%;
    background-color: #F2F2F2;
    border-radius: 20px;

}

.popular__header {

    display: flex;
    justify-content: space-between;
    margin-bottom: 26px;

}

.title__results__popular {

    margin-top: 42px;

}

.fa-chart-line {

    margin-top: 46px;


}

.popular__results {

    display: flex;
    flex-direction: column;
}

.popular__card {

    display: flex;
    width: 100%;
    height: 150px;
    background-color: white;
    border-radius: 20px;
    margin-bottom: 33px;
    filter: drop-shadow(0px 3px 15px rgba(0, 0, 0, 0.1));
    padding: 5px;

}

.link__popular {

    display: flex;

}

.popular__img__container {

    display: flex;

}

.popular__img {


    border-radius: 20px 0px 0px 20px;
    width: 137px;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;


}

.popular__content {

    display: flex;
    flex-direction: column;
    margin-left: 15px;
    margin-top: 16px;
    position: relative;

}



.popular__name {

    max-width: 166px;

}


.card__stars__popular {

    display: flex;
    flex-grow: 1;
    align-items: end;
}

.title__activity {

    margin-top: 60px;
    line-height: 25.83px;

}

.activity {

    display: flex;
    margin-top: 19px;
    justify-content: space-between;

}

.activity__card {

    display: flex;
    flex-direction: column;
    width: 22%;
    background-color: white;
    border-radius: 20px;
    border: none;
    filter: drop-shadow(0px 3px 15px rgba(0, 0, 0, 0.1));

}


.activity__img__container {

    display: flex;
    width: 100%;
    height: 389px;

}

.activity__img {

    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 20px 20px 0px 0px;

}

.activity__text,
.activity__wrap {

    margin-left: 19px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    line-height: 19px;


}

.footer {

    display: flex;
    justify-content: space-around;
    background-color: #F2F2F2;
    margin-top: 61px;

}

.footer__block {

    display: flex;
    flex-direction: column;
}

.footer__title {

    margin-top: 45px;

}

.vertical__list {

    display: block;
    margin-bottom: 12px;

}

.footer__link:active,
.footer__link:hover {

    color: black;
    text-decoration: none;

}

.footer__link:visited {

    color: black;

}


@media all and (min-width: 769px) and (max-width: 798px) {

    .activity__fort {

        margin-top: 5px;
        height: 30px;

    }
}

/* -------------- Tablette -------------- */

@media all and (min-width: 768px) and (max-width: 992px) {


    body {

        width: 95%;
        max-width: 768px;
        margin: auto;

    }

    .filters {

        flex-direction: row;
        flex-wrap: nowrap;
    }

    .filters__button {

        padding: 4px 10px;

    }


    .btn__group {

        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 5px;

    }


    .cards {

        flex-direction: column;
    }

    .cards__results {
        width: 100%;
        box-sizing: border-box;
    }

    .popular {

        width: 100%;
        margin-left: 0;
        box-sizing: border-box;

    }

    .popular__results {

        flex-direction: row;
        justify-content: space-between;

    }

    .popular__card {

        width: 30%;

    }

    .popular__img {

        width: 106px;

    }

    .popular__name {

        display: flex;
        flex-wrap: wrap;
        width: 100%;
        min-width: 30%;

    }

    .activity__img__container {

        height: 211px;
    }

    .title__activity {

        margin-bottom: 34px;
    }

    .activity__text {

        margin-bottom: 0;
        height: 30px;

    }


    .activity__wrap {

        margin-top: 5px;
        height: 30px;

    }


}

/* -------------- Smartphones -------------- */

@media all and (max-width: 767px) {


    .search__section,
    .cards__results,
    .activities {

        width: 85%;
        margin: auto;

    }

    li {

        padding-right: unset;
        width: 50%;

    }

    .nav__menu {

        display: flex;
        justify-content: center;
        flex-direction: column;
    }


    .header__logo {

        object-fit: contain;
    }

    .nav__list {

        display: flex;
        justify-content: center;
        width: 100%;

    }

    .nav__hosts,
    .nav__activity {

        font-size: 16px;
        text-align: center;
        border-bottom: 2px solid #F2F2F2;
        padding-bottom: 20px;


    }

    .nav__hosts:hover,
    .nav__activity:hover {

        border-bottom: 2px solid #0065FC;
        padding-bottom: 20px;

    }

    .nav__links:hover {

        text-decoration: none;

    }


    .mglass {

        display: flex;
        color: white;
        background-color: #0065FC;
        justify-content: center;
        align-items: center;
        padding: 19px;
        border: none;
        border-radius: 0px 15px 15px 0px;
    }

    .search__button {

        display: none;

    }

    .search__bar {

        width: 100%;

    }

    .search__form {

        width: 100%;
    }

    .search__field {

        width: 100%;

    }

    .filters {

        flex-wrap: wrap;
    }

    .filters__button {

        font-size: 14px;

    }

    .cards {

        flex-direction: column-reverse;
        flex-wrap: wrap;
        padding-left: 0;

    }


    .cards__results {

        padding-left: 0;
        padding-right: 0;
        background-color: white;

    }


    .hosts__results {

        flex-direction: column;

    }

    .popular {

        width: 100%;
        margin-left: unset;
        padding-left: unset;
        padding-right: unset;
        border: unset;
        border-radius: unset;
    }

    .popular__header,
    .popular__results {

        padding-left: 20px;
        padding-right: 20px;
    }


    .card {

        width: 97%;
    }


    .more__results {

        display: none;

    }

    .title__activity {

        margin-left: 0;

    }

    .activity {

        flex-direction: column;
        width: 100%;
        gap: 24px;
        margin-left: 0;
    }


    .activity__card {

        width: 100%;

    }

    .activity__img__container {

        height: 134px;

    }

    .footer {

        flex-direction: column;
        padding-bottom: 61px;
        padding-left: 30px;
    }

    .footer__list {

        margin-bottom: unset;
    }

}