/*reset*/
*, ::after 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*Version desktop*/
/*css général*/

body
{
    font-family: 'Raleway', sans-serif;
    color: black;
}
img
{
    max-width: 100%;
}
h1, h2, h3
{
    padding: 0 0 1em 0;
    font-weight: bold; 
}
p , ul
{
    padding: 0 0 1em 0;
}
h1, h2
{
    font-size: 1.4rem;
}
a 
{
    text-decoration: none;
    color: inherit;
}
li
{
    list-style: none;
}
section
{
    margin: 0 auto 0rem auto;
    padding: 0 20px;
}

/*header*/
#reservia
{
    padding: 1rem 0 1rem 0;
}
.navigation
{
    display: flex;
    flex-direction: row;
    margin: 0rem 2rem 0rem 2.5rem;
}
.menu
{
    display: flex;
    flex-direction: row;
    margin: 0;
    padding-bottom: 0;
    margin-left: auto;
}
.nav1
{
    border-top: 2px solid #0065fc;
    padding: 3rem 2rem 3rem 2rem;
}
.nav2
{
    border-top: 2px solid transparent;
    padding: 3rem 2rem 2rem 2rem;
}
.actif
{
    color: #0065fc;
}
.inscrire
{
    color: #0065fc;
    font-weight: bold; 
    padding: 3rem 2rem 2rem 2rem;
}

/* Section 1 = titre, soustitre, champ recherche, filtres, info*/
.section1
{
    margin: 0 1.5rem 1.5rem 1.5rem ; 
} 
h1 
{
    padding-bottom: 0.5rem;
}
    /*recherche*/
.recherche
{
    margin-bottom: 2rem;
}
.rechercher
{
    border: 2px solid  #f2f2f2;
    border-radius: 1rem;
    overflow: hidden; 
    max-width: 345px;
}
.fa-map-marker-alt /*icone map*/
{
    background-color: #F2F2F2;
    padding: 0.9rem;
}
.champ
{
    border: none;
    font-weight: bold;
    font-size: 12pt;
    padding-left: 0.5rem;
}
::placeholder
{ 
    opacity: 1;
    color: black;
}
.boutonsearch /*pour la version desktop*/
{
    background-color: #0065fc;
    color: white;
    font-weight: bold; 
    border-radius: 0 1rem 1rem 0;
    padding: 0.8rem;
    position: absolute;
}

    /*filtres*/
.filter 
{
    display: flex;
    margin-top: 0.8rem;
    font-size: 1rem;
    font-weight: bold; 
}
.filtres
{
    margin-bottom: 1rem; 
    align-items: baseline;
    display: flex;
    gap: 1.5rem;
}
.filtre-choix
{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.filtre-li
{
    border: 2px solid #f2f2f2;
    border-radius: 2rem ;
}
.filtre-icon
{
    background-color: #DEEBFF;
    border-radius: 2rem ;
    padding: 0.9rem;
    color: #0065fc;
    height: 45px;
    width: 45px;
}
.filtre-name
{
    font-weight: bold; 
    padding: 0.75rem;
}
.filtre-choix :hover
{
    background-color: #DEEBFF;
    opacity: 80%;
    border-radius: 2rem;
}

     /*info*/
.info
{  
    position: relative;
}
.fa-info 
{
    border-radius: 2rem;
    border: 2px solid #f2f2f2;
    color: #0065fc;
    font-size: 0.75rem;
    height: 25px;
    width: 25px;
    position: absolute;
    text-align: center;
    padding-top: 0.3rem;
    margin-top: -3px;
}
.info p 
{
    margin-left: 30px;
}

/*section 2: hebergements et populaires*/
.section2
{
    display: flex;
    flex-wrap: wrap; 
    margin: 1.5rem; 
    justify-content: space-between;
}
h2
{
    padding: 1.5rem 0 0 1rem;
}
h3
{
    font-size: 1rem;
    margin: 0;
}
figcaption
{
    padding-left: 10px;
}
.fa-star  /*etoile bleu*/
{
    color: #0065fc;
    font-size: 0.7rem;
}
.star /*etoile grise*/
{
    color: #f2f2f2;
}
.nuit-heb
{
    font-size: 0.9rem;
    margin: -0.6rem 0 ;
}
.nuit 
{
    font-size: 0.9rem;
}

/*hebergement*/
#hebergement
{
    background-color: #F2F2F2;
    flex: 1 1 60% ;
    min-width: 25ch; 
    border-radius: 15px; 
    flex-wrap: wrap; 
    padding: 1rem; 
    margin-right: 2rem;
}
.articles
{
    display: flex; 
    flex-wrap: wrap;  
}
.artheb
{
    overflow: hidden; 
    background-color: white;
    margin: 1rem;
    border-radius: 20px;
    box-shadow: 2px 2px 12px  lightgrey;
    flex-grow: 1;
    flex-shrink: 4;
    flex-basis: 210px;
}
.figheb
{
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}
.imgheberge
{
    height: 115px;  
    border-radius: 15px 15px 0 0;
    margin: 0.3rem;
    object-fit: cover; 
}
.affiche
{
    margin: 2rem 0 0 1rem;
    font-weight: bold; 
    font-size: 1.1rem;
}

/*populaires*/
.populaire
{
    border-radius: 15px;
    background-color: #F2F2F2;
    flex: 1 1 20%;
    min-width: 25ch;
    padding: 1rem;
}
.popheader
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fa-chart-line
{
    margin: 1rem 1rem 0 0;
    font-size: 1.4rem;
}
.pop-bloc
{
    display: flex; 
    flex-direction: column;
}
.artpop
{
    overflow: hidden; 
    background-color: white;
    margin: 1rem;
    border-radius: 20px;
    box-shadow: 2px 2px 12px  lightgrey;
    flex-grow: 1;
    flex-shrink: 4;
    flex-basis: 145px;
}
.figpop
{
    display: flex;
}
.imgpop
{
    min-width: 40%; 
    max-width: 40%;
    height: 135px;
    border-radius: 15px 0 0 15px;
    margin: 0.3rem;
    object-fit: cover;
}
.floatpop /*figcaption populaire*/
{
    margin: 1rem 1rem 0.5rem 0;
    width: 100%; 
    display: flex;
    flex-direction: column;
}  
.floatpop h3 
{
    padding-bottom: 0.5rem;
}
.nuit-pop
{
    padding-bottom: 0;
}
.etoiles
{
    margin-top: auto; 
}

/*section3: activites*/
.section3
{
    margin: 3rem;
    padding: 0;
}
#activite
{
    background-color: white;
    flex: 2 2 10% ; 
    min-width: 25ch; 
    border-radius: 15px;
}
.titreact
{
    padding: 0 0 1.5rem 0;
}
.act 
{ 
    display: flex; 
    flex-wrap: wrap; 
} 
.bloc-act1
{
    margin: 0 1rem 1rem 1rem;
    flex-grow: 1;
    flex-shrink: 2;
    flex-basis: 220px;
}
.bloc-act2
{
    margin-left: 1rem;
    flex-grow: 1;
    flex-shrink: 2;
    flex-basis: 220px;
}
.div-act
{
    background-color: white;
    border-radius: 20px;
    box-shadow: 2px 2px 12px  lightgrey;
}
.activite1 , .activite4  
{
    flex-grow: 1;
    flex-shrink: 2;
    flex-basis: 220px;
}
.activite1
{
    margin: 0 1rem 1rem 0;
}
.activite2 
{
    height: 210px;
    margin-bottom: 2rem;
}
.activite3
{
    height: 170px;
}
.activite4
{
    margin: 0 1rem 1rem 1rem;
}
.activite5
{
    height: 180px;
    margin-bottom: 2rem;
}
.activite6
{
    height: 200px;
}
.figact h3 
{
    margin-top: 1rem;
}
.figact, .figact2
{
    display: flex;
    flex-direction: column;
}
.figact img, .figact2 img
{
    border-radius: 15px 15px 0 0;
    object-fit: cover; 
}
 .imgact1 , .imgact4
{
    height: 360px;
}
.imgact2
{
    height: 160px;
}
.imgact3
{
    height: 120px;
}
.imgact5
{
    height: 130px;
}
.imgact6
{
    height: 148px;
} 

/*footer*/
footer
{
    background-color: #F2F2F2;
    display: flex;
    flex-direction: row;
    padding: 3rem 0 0 3rem;
}
.footer
{
    width: 100%;
}
.foot li
{
    padding-bottom: 1rem;
    font-size: 0.9rem;
}