/*COULEURS

BLUE #307AE8
GREEN #7ED913

TAILLE

1em = 20px

*/


/*-------------------------------------------MENUBURGER----------------------------------------------*/

.menuburger {
    background: #307AE8;
    color: #fff;
    height: 50px;
    position: relative;
    width: 85%;
    z-index: 9999;
}

.menuburger nav {
    background: inherit;
    font-size: 20px;
    height: 0;
    overflow: hidden;
    text-transform: uppercase;
    transition: height .3s;
}

.menuburger nav > * {
    display: block;
    letter-spacing: 1px;
    line-height: 2.5;
    width: 100%;
    text-align: center;
}

nav .espace {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
}

.menuburger .burger {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    color: inherit;
    cursor: pointer;
    width: 100%;
    font-family: 'Material Icons';
    font-size: 30px;
    line-height: 50px;
    margin: 0;
    outline: 0;
    padding-left: 10px;
    position: absolute;
    text-align: center;
}

.menuburger .burger:before {
    font-family: barlow, Open Sans;
    content: 'menu';
}

.menuburger .burger:checked:before {
    font-family: barlow;
    content: 'close';
}

.menuburger .burger:checked + nav {
    height: 300px;
}

/*-------------------------------------------ACCUEIL----------------------------------------------*/

html{
    scroll-behavior: smooth;
}

a {
    color: #fff;
    text-decoration: none;
    font-family: barlow, Open Sans;
}

body a{
    text-align: center;
}

#backOnTop{
    display:none;
}

body {
    font-size: 20px;
    width: 768px;
}

p {
    padding: 1em;
}

li {
    list-style: none;
}

h1 {
    font-family: Josefin Slab, Open Sans;
    font-size: 3.5em;
    color: #307AE8;
    margin: 0;
    text-align: center;
}

h2 {
    display: flex;
    font-weight: lighter;
    background-position: center;
    align-items: center;
    justify-content: center;
    height: 250px;
    margin: 0;
    padding: 0;
    background-size: cover;
    color: white;
    font-family: Josefin Slab;
}

header {
    display: flex;
    flex-direction: column;
    place-content: center;
    margin: 0 0 4vh 0;
    color: #307AE8;
}

.active p{
    margin: 0;
    padding: 5px ;
    text-align: center;
    font-family: Josefin Slab;
    font-size: 1.5em;
    color: #307AE8;
    text-align: center;
}

.menuReseaux, .flecheBas{
    display: none;
}

header img {
    width: 20%;
}

main img {
    width: 100%;
}

.bateau{
    background-image: url(../images/img_accueil.jpg);
    background-size: cover;
    height: 500px;
}

.bateau p{
    text-align: center;
    font-family: Josefin Slab;
    font-size: 1.5em;
    color: white;
}

#accueil {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cases1, .cases2{
    display: flex;
    flex-direction: column;
}

.menu {
    font-family: Josefin Slab;
    font-weight: lighter;
    font-size: 50px;
    width: 768px;
    color: white;
}

.presentation h2, .destinations h2, .hotels h2, .envies h2{
    background-color: rgba(6, 26, 60, 0.35);
    background-blend-mode: overlay;
}

.presentation h2 {
    background-image: url(../images/fond_presentation.jpg);
    margin: 30px 0;
}

.destinations h2 {
    background-image: url(../images/accueil_destination.jpg);
    margin-bottom: 30px;
}

.hotels h2 {
    background-image: url(../images/accueil_hotel.jpg);
    margin-bottom: 30px;
}

.envies h2 {
    background-image: url(../images/E_famille.jpg);
}

svg{
    fill: #ffff;
    margin-top: 10px;
}

/*------------------------------FOOTER---------------------------*/

footer {
    display: flex;
    flex-direction: column;
    font-family: barlow;
    color: #307AE8;
    align-items: center;
    margin-top: 30px;
}

footer p{
    display: none;
}

footer ul {
    padding: 0;
}

#reseaux {
    font-size: 70px;
    word-spacing: 75px;
    border-top: 1px solid #307AE8;
    padding-top: 20px;
}

.formulaire,
#services {
    text-align: center;
    margin: 0 20px;
}

.ligneFooter {
    display: flex;
    justify-content: center;
}

footer a {
    list-style: none;
    color: #307AE8;
}

.cadre {
    margin-bottom: 20px;
    text-align: center;
    font-family: barlow;
    color: #307AE8;
    border-style: none;
    border: 1.5px solid #307AE8;
    padding: 7px;
    background-color: white;
}

.butmail {
    margin-bottom: 20px;
    text-align: center;
    font-family: barlow;
    color: #fff;
    border-style: none;
    padding: 5px;
    background-color: #307AE8;
    padding: 7px 70px
}

::placeholder {
    color: #307AE8;
}

form {
    font-family: barlow;
    color: #307AE8;
}

/*------------------------------PRESENTATION---------------------------*/

.colorLetter{
    font-family:Josefin Slab; 
    font-size: 2em;
    color: #7ED913;
    font-weight: 900
}

.text {
    color: #307AE8;
    height: 800px;
    padding: 0 35px;
    text-align: center;
    font-family: barlow;
    height: auto;
}

.text p{
    font-size: 1.3em
}

hr{
    display: none;
}

/*------------------------------DESTINATIONS---------------------------*/

.antilles h2{
    background-image: url(../images/destination_antilles_resize.jpg)
}

.maldives h2{
    background-image: url(../images/destinations_maldives_resize.jpg)
}

.reunion h2{
    background-image: url(../images/destinations_reunion_resize.jpg)
}

.seychelles h2{
    background-image: url(../images/destination_seychelles_resize.jpg)
}

.maurice h2{
    background-image: url(../images/destination_maurice_resize.jpg)
}

.dominicaine h2{
    background-image: url(../images/destination_republique_dominicaine_resize.jpg)
}

.desticadre h2{
    background-position: center;
    margin-bottom: 30px;
    font-size: 3em;
    background-color: rgba(6, 26, 60, 0.35);
    background-blend-mode: overlay;
}

/*------------------------------HOTELS---------------------------*/

.ligne {
    display: flex;
    height: 170px;
}

.fond {
    width: 33%;
}

.grille img{
    height: 170px;
}

.alt1 {
    background-color: #12c781;
}

.alt2 {
    background-color: #20bbe0;
}

.alt3 {
    background-color: #027373;
}
.container{
    position: relative;
    height: 170px;
}
.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #307AE8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-family:  barlow;
}

h4, .overlay p{
    font-size: 1em;
    margin: 0;
    padding: 0;
}

.overlay .stars{
    display: flex;
    margin: 15px 0;
}

.stars svg{
    margin-right: 10px;
}

.button{
        border-style: none;
        color: #fff;
        background-color:#7ED913;
        padding: 10px 25px;
        border-radius: 5px
    }

.container:hover .overlay {
    opacity: 1;
}

.details{
    display: none;
}

/*------------------------------ENVIES---------------------------*/

.famille h2{
    background-image: url(../images/E_famille_resize.jpg);
}

.noce h2{
    background-image: url(../images/E_noce_resize.jpg);
}

.couple h2{
    background-image: url(../images/E_couple_resize.jpg);
}

.carte h2{
    background-image: url(../images/E_carte_2_resize.jpg);
}

.spa h2{
    background-image: url(../images/E_spa_resize.jpg);
}

.envies2 h2{
    background-position: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    background-color: rgba(6, 26, 60, 0.35);
    background-blend-mode: overlay;
}

/*----------------------------------------MediaQueries-------------------------------*/
@media screen and (min-width: 768px){

body{
    width: 100%;
}
    
    .configIntro{
        width: 100%;
        height: 100vh;
        position: relative;
        background-size: cover;
        background-position: center;
        top: 0;
        left: 0;
        z-index: 1;
    }

    header{
        position: absolute;
        flex-direction: row;
        width: 100%;
        height: 15vh;
        margin: auto;
        padding: 30px 0;
        z-index: 3;
        margin-bottom: 5%;
    }
    
    header img{
        position: absolute;
        right: 3%;
        width: 6vw;
    }
    
    .menuReseaux{
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 3%;
        bottom: 10%;
        z-index: 3;
        font-size: 1.8em;
        opacity: 0.5;
        transition: 0.3s;
    }
    
    .menuReseaux a{
        margin: 10px 0;
    }
    
    .menuReseaux:hover{
        opacity: 1;
        transform: scale(1.2);
        transition: ease-in-out 0.3s;
    }
    
    .active{
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    .active p{
        font-size: 3.5em;
        padding: 0;
        color: #fff;
        margin-top: 30vh;
        text-shadow: 5px 5px 10px #1b437e;     
    }
    
    #backOnTop{
        display: inline;;
        position: fixed;
        width: 43px;
        bottom: 5%;
        left: 95%;
        color: #fff;
        opacity: 0.5;
        transition: 0.5s;
        z-index: 3;
        font-size: 1.9em;
        text-shadow: 2px 2px 3px #000;
        background-color: #307AE8;
        border-radius: 50%;
        text-align: center;
    }
    
    #backOnTop:hover{
        opacity: 1;
        transform: scale(1.3);
        transition: ease-in-out 0.3s;
    }
    
    #accueil{
        width: 100%;
        flex-direction: row;
    }
    
    .bateau{
        background-image: url(../images/accueil_alt_2_resize.jpg);
    }
    
    .flecheBas{
        display: inline;
        position: absolute;
        bottom: 0;
        padding: 0;
        left: calc(50% - 84px);
        z-index: 2;
        font-family: barlow;
        font-size: 18px;
        text-align: center;
        opacity: 0.5;
        transition: 0.5s;
        color: #fff;
        margin-bottom: 20px;
        text-shadow: 2px 2px 3px #000;
    }
    
    .flecheBas p{
        padding: 0;
        margin: 0;
    }
    
    .flecheBas:hover{
        opacity: 1;
        transform: scale(1.1);
        transition: ease-in-out 0.25s;
        transform-origin: center;
    }
    
    .active{
        margin: auto;
    }
    
    
    h1 {
        font-size: 4.5em;
        color:#fff;
    }
    
    header p{
        color:#fff ;  
    }
    
    .cases1, .cases2{
        flex-direction: row;
        width:50%;
        height: 100vh;
    }
    
    #accueil h2, #categorie h2{
        margin: 0;
        padding: 0;
        width: 25vw;
        height: 100vh;
        font-weight: 500;
        font-size: 60px;
        filter: grayscale(100%)
    }
    
    .menu{
        width: 50%;
        height : 100vh;
        overflow: hidden;
        background-position: center;
    }
    
    #accueil h2:hover, #categorie h2:hover{
        transform: scale(1.09);
        transition: 0.8s;
        filter:grayscale(0);      
    }
    
/*----------------------------------------Menu Responsive-------------------------------*/ 
    
    .menuburger{
    width: auto
    }
    
    .menuburger nav{
        width: 20vw;
        border-radius: 15px;
    }
    
    .menuburger .burger{
        width: 2.3vw;
        line-height: 0;
        margin: 18% 0 0 3%
    }
    
    .menuburger{
        width: 3vw;
        height: 5.5vh;
        position: absolute;
        top: 5vh;
        left: 2%;
        border-radius: 30px;
    }
    
    .menuburger .burger:before {
        content: url(../images/bars-solid.svg);
    }
    
    .menuburger .burger:checked:before{
        content: url(../images/cross.svg.svg);
    }
 
/*---------------------Présentation---------------------------*/ 
    
    .introPresentation{
        background-image: url(../images/fond_presentation.jpg)
    }
    
    .text{
        font-size: 1.3em; 
        padding: 0 20%;
    }
    
    .text{
        height: auto;
    }
    
    .text hr{
        display: block;
        border-top: 3px solid #7ED913;
        width: 10%;
    }

/*---------------------Destinations---------------------------*/

    .introDestination{
        background-image: url(../images/accueil_destination_resize.jpg);
    }
    
    .desticadre{
        cursor: pointer;
        display: flex;
        margin: 0;
        padding: 0;
        width: 50vw;
        height: 50vh;
        place-content: center;/* ne marche pas sur IE, mettre align-item et justify-content*/
        overflow: hidden;
    }
    
    .desticases1, .desticases2{
        display: flex;
        flex-direction: row;
    }
    
    .desticadre h2 {
        width: 100%;
        height: 50vh;
        filter: grayscale(100%);
        transition: 0.5s;
        font-weight: 500;
    }
    
    .desticadre h2:hover{
        filter: grayscale(0);
        transition: 0.5s;
        transform: scale(1.09);
    }

    .dominicaine h2{
        font-size: 2.5em;
        text-align: center;
    }
    
    .button{
        cursor: pointer;
    }
    
/*---------------------Hotels---------------------------*/
 
    .introHotels{
        background-image: url(../images/accueil_hotel.jpg);
    }
    
    .ligne{
        height: 35vh;

    }
    .grille img, .fond, .overlay{
        height: 35vh;
        width: 100%
    }

    h4{
        font-size: 1.8em;
        margin: 0;
        padding: 0;
        font-family: Josefin Slab;
    }
    
    .overlay p{
        margin: 0;
        padding: 0;
        margin: 15px 0;
        padding: 0 20px
    }

    .overlay{
        flex-direction: column;
        justify-content: center;
    }

    .button{
        border-style: none;
        color: #fff;
        background-color:#7ED913;
        padding: 10px 25px;
        border-radius: 5px
    }
    
    .details{
        display: inline;
        text-align: center;
    }
    
/*---------------------Envie---------------------------*/ 
    
    .introEnvies{
        background-image: url(../images/E_famille_resize_3.jpg);
    }
    
    #categorie{
        display: flex;
    }
    
    .envies2 {
        display: flex;
        justify-content: center;
        width: 20vw;
        height: auto;
        overflow: hidden;
        cursor: pointer;
    }
    
    .famille h2{
    background-image: url(../images/E_famille_resize_2.jpg);
    }

    .noce h2{
        background-image: url(../images/E_noce_resize_2.jpg);
    }

    .couple h2{
        background-image: url(../images/E_couple_resize_2.jpg);
    }

    .carte h2{
        background-image: url(../images/E_carte_2_resize_2.jpg);
    }

    .spa h2{
        background-image: url(../images/E_spa_resize_2.jpg);
    }
    
/*---------------------Footer---------------------------*/

    .ligneFooter{
    justify-content:center;
    }
    
    #reseaux{
        display: none;
        -moz-appearance: none;
        -webkit-appearance: none;
    }
    
    footer{
        margin:0;
        padding: 20px;
    }
    .formulaire{
        display: flex;
        align-items: flex-start;
    }
    
    #services{
        display: flex;
        align-items: flex-start;
    }
    
    .AutresServices h3, .ContactNous h3{
        margin: 0;
    }
    
    .AutresServices, .ContactNous{
        margin: 0 40px;
    }
    
    .formulaire h3{
        margin: 0 20px
    }
    
}
