/****** General ***********/
* {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
}

:root {
    --main-color: #0065FC;
    --main-bg-color: #F2F2F2;
    --filter-bg-color: #DEEBFF;
}

.fa-solid {
    color: var(--main-color);
}

body {
    display: flex;
    justify-content: center;
}

.main-container {
    width: 100%;
    max-width: 1440px;
    min-width: 1024px;
    padding: 0 50px;
    box-sizing: border-box;
}

.section-title {
    margin: 0;
    font-size: 22px;
}

.card {
    background-color: white;
    border-radius: 20px;
    padding: 5px;
    filter: drop-shadow(0px 3px 15px rgba(0, 0, 0, 0.1));
}

.card img {
    object-fit: cover;
}

.card-title {
    font-size: 15px;
}

.euro {
    font-weight: 700;
}

.neutral-star {
    color: var(--main-bg-color)
}

.card:hover {
    transform: scale(1.05);
    transition-duration: 0.3s;
}

/****** header ***********/

.header-container {
    display: flex;
    justify-content: space-between;
}

.logo {
    width: 61px;
    height: 19px;
    margin-top: 30px;
}


.list-menu {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 69px;
    margin-top: 0;
}

.neutral-link {
    color: black;
    text-decoration : none;
}

.menucolor:hover {
    color: #0065FC;
}

.list-menu li:hover {
    border-top: 2px solid #0065FC;
}

.list-menu li {
    height: 35px;
    padding-top: 16px;
}

/****** Formulaire de recherche et filtres***********/

.search-and-filters-texts p {
    font-size: 16px;
}

.search-and-filters-texts .section-title {
    margin-top: 40px;
    margin-bottom: 8px;
}

/****** Formulaire de recherche ***********/

form {
    display: flex;
    flex-direction: row;
    margin-top: 35px;
    margin-bottom: 35px;
    justify-content: flex-start;
}

input {
    padding: 10px;
    border: 1px solid #F2F2F2;
    font-size: 18px;
    font-weight: bold;
}

label .fa-solid {
    color: #000000;
    background-color: #F2F2F2;
    padding: 15px;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    font-size: 18px;
}

input::placeholder {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
}

input[type="submit"] {
    background-color: #0065FC;
    border: 1px solid #0065FC;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
}

input[type="search"]:focus-visible {  
    outline-offset: -2px; 
}

/****** Filtres ***********/

.lists-title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.filter-area {
    display: flex;
    flex-direction: row;
    margin-top: 50px;
}

.menu-filter {
    border: 2px solid #D9D9D9;
    border-radius: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 19px;
    padding-left: 19px;
}

.menu-filter:hover {
    background-color: #DEEBFF;
}

.list-filters {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 13px;
    margin-top: 0;
    font-size: 17px;
    font-weight: bold;
    margin-left: 13px;
}

.info {
    margin-top: 37px;
    margin-bottom: 37px;
    font-size: 16px;
}

.info .fa-solid {
    border: 1px solid #D9D9D9;
    border-radius: 100%;
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    margin-right: 10px;
}

.menu-filter .fa-solid {
padding-right: 10px;
}


/****** Hebergements And Populaires ***********/
.hebergements-and-populaires {
    display: flex;
    justify-content: space-between;
}

.hebergements-and-populaires section {
    background-color: var(--main-bg-color);
    border-radius: 20px;
    padding: 30px 7px 30px 7px;
    box-sizing: border-box;
}

/****** Hebergements ***********/
.hebergements {
    width: 65%;
}

.hebergements-parts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hebergements-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 18px;
    margin: 0 12px;
}

.hebergements-cards .card {
    width: 29%;
    height: 207px;
    flex: auto;
}

.hebergements-cards img {
    width: 100%;
    height: 57%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    vertical-align: bottom;
    border-bottom: solid 5px;
    border-color: #ffffff;
}

.hebergements-cards .card-content {
    height: 38%;
    padding-top: 4px;
    padding-left: 2px;
    padding-right: 2px;
}

.hebergements-cards p {
    margin-top: 8px;
    margin-bottom: 8px;
}

.hebergements-cards .card-rating {
    margin-bottom: 10px;
}

/****** Populaires ***********/
.populaires {
    width: 32%;
}

.populaires-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.populaires-cards .card {
    display: flex;
    margin: 30px 12px ;
}

.populaires-cards img {
    width: 33%;
    height: 136px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.populaires-cards .card-content {
    width: 67%;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.populaires-cards .card-title {
    margin-top: 10px;
    margin-bottom: 4px;
}

.populaires-cards .card-subtitle {
    margin: 0;
}

.populaires-cards .card-rating {
    margin-bottom: 8px;
}

/****** Activités ***********/

.activities {
    display: flex;
    flex-direction: column;
    margin-top: 35px;
    padding: 5px;
    justify-content: flex-start;
}

.activities-cards {
    display: flex;
    margin-top: 30px;
    flex-direction: row;
    gap: 20px;
}

.activities-cards .card {
    width: 25%;
    height: 439px;
    padding: 0;
}

.activities-cards img {
    width: 100%;
    height: 87%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    vertical-align: bottom;
}

.activities-cards .card-content {
    height: 13%;
    padding: 20px 3px 20px 5px;
}

/****** footer ***********/

footer {
    display: flex;
    flex-direction: row;
    margin-top: 65px;
    justify-content: flex-start;
    background-color: #F2F2F2;
    padding: 20px;
}

.list-footer {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 0;
    font-size: 16px;
}

.columns  {
    display: flex;
    flex-direction: column;
    flex-basis: 33%;
}

.columns .lists-title {
    margin-bottom: 20px;
}

/* Le code ci-dessous correspond à la version responsive uniquement */

/****** Media queries ***********/
/* Medium devices (tablets, less/equal than 1024px) */
@media (max-width: 1024px) {
    .hebergements-and-populaires {
        flex-direction: column;
    }

    .hebergements {
        width: 100%;
    }

    .populaires {
        width: 100%;
        margin-top: 50px;
    }

    .populaires-cards {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .populaires-cards .card {
        width: 30%;
    }

    .populaires-cards .card-title {
        font-size: 14px;
    }

    .populaires-cards .card-subtitle {
        font-size: 13px;
    }
}

/* Small devices (phones, less than 768px) */
@media (max-width: 767.98px) {
    /* ... */
}


