/****** 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 {
   
    margin: 0px;
}

.main-container {
    width: 100%;
    max-width: 1440px;
    min-width: 320px;
    padding: 0 50px;
    margin: 0 auto;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

/* header */
header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
header img {
    height: 19px;
 }

 .menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    gap: 20px;
 }
 .menuItem {
    border-top: 3px solid white;
    border-bottom: none;
    height: 100%;
    display: flex;
    align-items: center;
 }
 .menuItem:hover {
    border-top: 3px solid #0065FC;
    border-bottom: none;
    color: #0065FC;
 }


 /* fin header */

 /*partie filter bar*/
 .bloc_titre_page {
    display: flex;
    flex-direction: column;
    /*margin-top: 31px;*/
 }
 .bloc_titre_page h1 {   
    
    font-size: 22px;
 }
 .bloc_titre_page p {
    margin-top: 13px;
 }
 /*mettre en forme le formulaire*/
 .recherche {
    width: 406px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    position: relative;
    background: #FFFFFF;
    border: 1px solid #F2F2F2;
    border-radius: 15px;
 }
 .localisation {
    position: relative;
    padding: 16px 15px 16px 18px;
    color:black;
    background-color: #F2F2F2;
    border: 1px solid #F2F2F2;
    border-radius: 15px 0px 0px 15px;
 }
 .ville {
   margin: 0em 0em 0em 1em;
   width: 100%;
    font-size: 17px;
    font-weight: 700;
    border: none; 
 }
 .ville:focus{
    border: none;
 }
 .btn_loupe {
    display: none;
    position: relative;
    padding: 15px 16px 15px 16px;
    width: 50px;
    font-size: 17px;
    color:white;
    background-color: #0065FC;
    border: 1px solid #0065FC;
    border-radius: 0px 15px 15px 0px;  
 }
 .bouton {
    display: block;
    position: absolute;
    width: 132px;
    margin-left: 303px;
    padding: 14px 16px 14px 16px;
    font-size: 18px;
    font-weight: 700;
    color:white;
    background-color: #0065FC;
    border: 1px solid #0065FC;
    border-radius: 0px 15px 15px 0px;
    text-align: center; 
 }
 /*mettre en forme le filtre*/
 .filterbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1.2em;
 }
 .filterbar h2 {
    font-size: 18px;
    /*margin: 7px 13px 7px 0px;*/
 }
 .info i, .btn i {
    font-size: 15px;
    color: #0065FC;
 }
 /*mettre en forme les boutons de filtre*/
 .btn {
    font-weight: 700;
    font-size: 0.9em;
    background: #FFFFFF;
    border: 2px solid #D9D9D9;
    border-radius: 25px;
    margin: 7px 0px 7px 0px;
    padding: 13px;
   
 }
 .btn:hover {
    background-color: #DEEBFF;
 }
 .bouto{
    margin-left: 0.5em;
 }
 /*mettre en forme icone et p info*/
 .info {
    display: flex;
    margin-top: 1em;
    align-items: center;
 }
 .cercle-info {
   height: 0.7em;
   width: 2%;
   text-align: center;
   padding: 2px 2px 9px 2px;
    background: #FFFFFF;
    border: 2px solid #D9D9D9;
    border-radius: 100%;  
 }
 .info p {
    margin-left: 10px;    
 }
 
.section-title {
    margin: 0;
    font-size: 22px;
}
/****** mettre en forme les cards et les images de hebergement*****/
.cardHeberg{
    display: flex;
    width:100%;
    flex-direction: column;
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 3px 3px 10px 3px #F2F2F2;
    margin-bottom: 12px;
 }
 .cardHeberg-image img {
    width: 96%;
    height: 114px;
    object-fit: cover;
    border: 5px solid #FFFFFF;
    border-radius: 20px 20px 0px 0px;
 }
 /*mettre en formes le texte de card*/
 .picture {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
 }
 /*les titres de la premiere section*/
 .picture h3, .another h3{
    margin: 0px 13px 0px 16px;
    font-size: 16px;
    font-weight: 700;
 }
 .picture p {
    margin: 9px 13px 9px 16px;
    font-weight: 400;
    font-size: 14px;
 }
 .more {
    display: block;
 }
 .more p {
    margin: 20px 21px 20px 20px;
    font-weight: 700;
    font-size: 18px;
 }
 /**** populaire****/
.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)
}
/******* Heberegement **********/
.hebergement-title{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.directionRow, .directionligne{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
/****** Hebergements And Populaires ***********/
.hebergements-and-populaires {
    display: flex;
    justify-content: space-between;
}

.hebergements-and-populaires section {
    border-radius: 10px;
    padding: 30px;
    box-sizing: border-box;
}

/****** Hebergements ***********/
.Hébergements{
    width: 65%;
    background-color: var(--main-bg-color);
   border-radius: 20px;
}
.Hébergements a{
    width: 32%;
}
.cardHeberg:hover, .card:hover{
    box-shadow: 0 8px 16px 0 darkgrey;
 }
 .cardHeberg .card-rating{
    margin-left: 1em;
 }
/****** Populaires ***********/
.populaires {
    width: 32%;
    background-color: var(--main-bg-color);
}

.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{
    margin-top: 50px;
 }
 .activités a {
    width: 24%;
 }
 .activités .card {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    padding: 0;
 }
 .activités .head h2 {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 34px;
    margin-left: 20px;
 }
 .activités .directionligne {
    margin-bottom: 50px;
 }
 /*.activités .card-image{
    width: 100%;
 }*/
 

 .activités .card-image img {
   width: 100%;
    height: 24em;
    object-fit: cover;
    border: none;
    border-radius: 20px 20px 0px 0px;
 }
 .activités .another {
    height: 50px; 
    justify-content: center;
 }
/*mettre le footer en forme*/
footer {
    background-color: #F2F2F2;
    display: flex;
 }
 #footer-items {
    width: 942px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 45px 21px 58px 70px;
 }
 .footer-items h3 {
    font-weight: 700;
    font-size: 18px;
 }
 .footer-items ul {
    list-style-type: none;
    padding: 0;
 }
 .footer-items li {
    margin: 0;
    padding-bottom: 12px;
    font-weight: 400;
    font-size: 16px   
 }

/* 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;
    }

    .Hébergements {
        width: 100%;
    }

    .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;
    }
    .activités .card-image img {
        height: 20em;}

}
@media only screen and (min-width: 768px) and (max-width : 992px)
{
    .filterbar h2{
        font-size: 1em;
    }
.btn{
font-size: 0.8em;}
.populaires-cards img {
    height: 8em;}
.populaires-cards .card-title {
    font-size: 0.8em;
}
.activités .card-image img {
height: 11em;}
.picture h3, .another h3 {
    font-size: 0.9em;}
}
.cercle-info {
width: 2.5%;
}
/* Small devices (phones, less than 768px) */
@media (max-width: 767.98px) {
    
    .main-container{
        padding: 0;
    }

    
/* header */
header{
    
    flex-direction: column;
    justify-content: unset;
    align-items: center;
    height: auto;
}
header img {
   margin-top: 20px;
 }

 .menu {
   border-bottom: 3px solid  var(--main-bg-color);
    margin-top: 1em;
    height: 50px;
    gap: 0px;
    width: 100%;
 }
 .menuItem {
    border-top:none;
    border-bottom:  3px solid white;
    width: 50%;
    justify-content: center;
 }
 .menuItem:hover {
    border-top:none;
    border-bottom: 3px solid #0065FC;
    
 }


 /* fin header */
.bloc_titre_page{
    padding: 20px;
}
     .bloc_titre_page h1 {
        font-size: 1.3em;
    }
    .bloc_titre_page p{
        margin-top: -2px;
        font-size: 0.9em;    }
     .recherche {
        width: 90%;
     }
     .btn_loupe {
        display: block;
     }
     .bouton{
        display: none;
     }   
     .filterbar {
        
        flex-direction: column;
        align-items: baseline;
     }
     .info p {
        margin-top: 20px;
     }
     .cercle-info{
      height: 0.7em;
      width: 6%;
     }
     .ville{
        font-size: 15px;
        margin-right: 0;
     }
     .fa-magnifying-glass{
        color: white;
       
     }
     .btn{
           font-size: 0.85em;
           margin: 7px 7px 7px 0px;
           padding: 1em 0 1em 0;
           width: 46%;
        }
     #hebergements-and-populaires {
        flex-direction: column-reverse;
        
     }
.hebergements-and-populaires section{
     border-radius: 0;}
     .Hébergements {
        background-color: white;
        border-radius: 0px;
        margin: 0;
        width: 100%;
     }
    .directionRow{
        flex-direction: column;
     }
     .Hébergements a {
        width: 100%;
     }
     .Hébergements .card-image img {
        width: 100%;
     }
     .hébergement-title, .section-title{
        font-size: 20px;
     }
     .populaires {
        margin: 0; 
        width: 100%;
     }
     .populaires-cards {
        flex-direction: column;}
        .populaires-cards a {
            width: 100%;
        }

     .activités .directionligne {
        flex-direction: column;
        margin-top: 0px;
        margin-bottom: 0px;
     }
     .activités a {
        width: 92%;
    margin: 0 auto;
     }
     .activités .head h2 {
        width: 211px;
        height: 60px;
        margin: 0px 0px 0px 19px;
     }
     .activités .card {
        height: 190px;
        margin-bottom: 24px;
     }
     .activités .card-image img {
        height: 134px;
     }
     footer {      
        margin: 0px
     }
     #footer-items {
        width: 100%;
        flex-direction: column;
        margin-left: 30px;
     } 
  }