/****** General ***********/
* {
    font-family: 'Raleway', sans-serif;
}

:root {
    --main-color: #0065FC;
    --main-bg-color: #F2F2F2;
    --filter-bg-color: #DEEBFF;
}

.fa-solid {
    color: var(--main-color);
}

body {
    display: flex;
    justify-content: center;
    Margin: 0px;
}

.main-container {
    width: 100%;
    max-width: 1440px;
    padding: 0 50px;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

.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: 16px;
}

.euro {
    font-weight: 700;
}

.neutral-star {
    color: var(--main-bg-color)
}

/****** header ***********/
.menu {
    display: flex;
    justify-content:space-between;
}

.logo {
    height: 19px;
    padding-top: 30px;
}

.lien {
   display: flex;
   gap: 69px;
}

.ancre {
    border-top: 2px solid var(--main-bg-color);
    padding-top: 15px;
}

.ancre:hover {
    color: var(--main-color);     
    border-top-color: var(--main-color);
}

/****** Partie titre ***********/

.title {
    margin-top: 60px;
    
}

.title-text{
    margin-bottom: 10px;
    font-size:x-large;
}

.tag-line {
    margin-top: 0px;
    margin-bottom: 35px;

}

/****** section 01 ***********/
/****** Partie recherche ***********/


.form {
    display: flex;
    flex-direction: row;
    background-color:#f2f2f2;
    width:fit-content;
    border-radius: 18px;

}

.pointer {
    color: black;
    margin: 18px;
}

.champ {
    border: solid #f2f2f2;
    width: 135px;
    padding: 5px 20px;
    font-weight: 700;    
    border-left: none;
    border-right: none;
    font-size: 16px;
}

::placeholder {
    color: rgb(0, 0, 0);
}

.input {
    background-color: #0065fc;
    color: #F2F2F2;
    padding: 10px 15px;
    border: none;
    font-weight: 700;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    font-size: medium;
}

/****** Partie filtres ***********/ 

.filtres {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
    margin-bottom: 0px;
}

.filtres-h2 {
    font-size:medium;
}

.filtres-align {
    font-weight: 700;
}

.filtres-select {
    display: flex;
    flex-direction: row;
    justify-content:center;
    width:fit-content;
}

.filtres-icon {
    padding: 10px;
}

.filtres-titres {
    border: #f2f2f2 solid;
    border-radius: 30px;
    background-color: #ffffff;
    font-size:medium;
    font-weight: 700; 
    padding-right: 15px;  
    margin-right: 15px;
}

.filtres-titres:hover {
   background-color: var(--filter-bg-color);
}


/****** Tag-line***********/ 
.info {
    display: flex;
    flex-direction: row;
    justify-content: start;
    margin-top: 35px;
    margin-bottom: 35px;
    gap: 9px;
}

.info-align {
    background-color: #ffffff;
    border-color: #f2f2f2;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    border-style:solid;
    align-items: center;
    margin-top: 10px;
}

.info-icon {
    margin-left: 11px;
    margin-top: 11px;
}

/****** 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;
    box-sizing: border-box;
}

/****** Hebergements ***********/
.hebergements {
    width: 65%;
}

.hebergements-cards {
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   justify-content: space-between;
}

.hebergements-cards a {
    width: 31%;
}

.hebergements-cards .card {
    margin-top: 33px;
}

.hebergements-cards img {
    width: 100%;
    height: 124px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    object-fit: cover;
}

.hebergements-cards .card-content {
    width: 100%;
    padding-left: 15px;
    display: flex;
    flex-direction: column; 
    box-sizing: border-box;
}

.hebergements-cards .card-title {
    margin-top: 5px;
    margin-bottom: 12px;
}

.hebergements-cards .card-subtitle {
    margin-top: 0px;
    margin-bottom: 8px;
}

.hebergements-cards .card-rating {
    margin-bottom: 5px;
}


/****** Populaires ***********/
.populaires {
    width: 32%;
}

.populaires-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.populaires-cards .card {
    display: flex;
    margin-top: 33px;
}

.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: 5px;
}

/******  Activités ***********/


.activites-title {
    margin-top: 65px;
    margin-left: 30px;
}
.activites-cards {
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   justify-content: space-between;
   margin-bottom: 65px;
   margin-left: 30px; 
   margin-right: 30px;
}

.activites-cards a {
    width: 23%;
}

.activites-cards .card {
    display: flex;
    flex-direction: column;
    margin-top: 33px;
    padding: 0%;
}

.activites-cards img {
    width: 100%;
    height: 380px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    object-fit: cover;
}

.activites-cards .card-content {
    width: 100%;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    height: 60px;
}

.activites-cards .card-title {
    margin-top: 15px;
    margin-bottom: 15px;
}

/****** Footer ***********/

.footer {
    display: flex;
    flex-direction: row;
    background-color: #F2F2F2; 
    padding-left: 20px;
    padding-bottom: 20px;
}

.footer-nav{
    width: 33%;
}

.footer-nav-a {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/****** Media queries / ajustement de la carte à cause du retour à la ligne du titre***********/
@media (max-width: 1213px) {
    .hebergements-cards .card-title {
    margin-bottom: 10px;
    height: 32px;
    }
}

@media (max-width: 1036px) {
    .hebergements-cards .card-subtitle {
        height: 32px;
    }
}

/* 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%;
    }

    .hebergements-cards .card-title {
        margin-top: 5px;
        margin-bottom: 12px;
        height: auto;
    }
    
    .hebergements-cards .card-subtitle {
        margin-top: 0px;
        margin-bottom: 8px;
        height: auto;
    }  

    .populaires {
        width: 100%;
        margin-top: 50px;
    }

    .populaires-cards {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .populaires-cards a {
        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) {
    /* ... */
}