*{
    padding: 0;
    margin: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    padding:  0px;
    font-family: 'Roboto', sans-serif;
}

/******SECTIONS GLOBALES************/

section{
    padding: 60px 30px;
    font-size: 18px;
}

section h2{
    margin-top: 60px;
    margin-bottom: 20px;
    color:black;
    text-align: center;
    font-size: 42px;
}

/******ARTICLES GLOBAUX************/

article{
    margin-top: 20px;
    width: 27%;
}

article h3{
    margin-top: 20px;
    font-size: 30px;
}

article h3, article p{
    color:#222;
    text-align: center;
}

article p{
    padding: 25px;
}

article a{
    width: 40%;
    margin-left: 25%;
    margin-top:-40px;
    padding: 5%;
    border-radius: 50px;
    background-color: #015e49;
    color: #ddd;
    display: block;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: 0.5s;
    text-decoration: none;
    word-wrap: break-word;
}

article a:hover{
    background-color: #0f917b;
}

hr{
    background-color: #015e49;
    width: 120px;
    height: 3px;
    border: none;
    margin: 0px auto 50px;
}

/******NAVIGATION************/

.desk-nav{
    font-size: 20px;
    position: fixed;
    top:0;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    padding: 20px;
    z-index: 2;
}

.desk-nav ul li{
    list-style:none;
}

.desk-nav ul li a{
    padding-left: 45px;
    padding-right: 45px;
    padding-top: 20px;
    text-decoration: none;
    color: #222;
}

#nav-resp{
    display: none;
}

/******BANNIERE*************/

.banniere{
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),url(img/header.jpg);
    width: 100%;
    height:800px;
    background-position: center;
    background-size: cover;
    text-align: center;
}

.banniere img{
    margin: auto;
    margin-top: 260px;
    width: 40%;
}

.banniere h1{
    margin-top: -10px;
    font-size: 100px;
    font-weight:lighter;
    font-family: 'Anton', sans-serif;
    color:#fff;
    text-align: center;
}

.banniere p{
    margin-top: -5px;
}

.banniere,#banniere-details{
    background-position: center;
    background-size: cover;
    text-align: center;
}

#banniere-details {
    width: 100%;
    height:550px;
}

.banniere-details1{
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),url(img/details1.jpg);
}

.banniere-details2{
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),url(img/details2.jpg);
}

.banniere-details3{
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),url(img/details3.jpg);
}

#banniere-details h1{
    padding-top: 220px;
    font-size: 80px;
    font-weight: 100;
    color:#fff;
    text-align: center;
}

.banniere p,#banniere-details p{
    text-align: center;
    font-size: 20px;
    color: #ddd;
}

#banniere-details p{
    margin-top: 15px;
}

.banniere a, #banniere-details a{
    background-color: transparent;
    padding: 14px 18px!important;
    color: #fff;
    width: 15%;
    border: 2px white solid;
    font-size: 20px;
    margin: 30px auto;
    display: block;
    text-align: center;
    transition: 0.5s;
    word-wrap: break-word;
    text-decoration: none;
}

.banniere a:hover,#banniere-details a:hover{
    background:#ddd;
    color: #02735b;
 }

/******SECTION SEJOUR******/

article hr,.section-container-days hr{
    background-color: #507369;
    width: 60px;
    height: 3px;
    border: none;
    margin: 15px auto 5px;
}

.section-container-days h3{
    font-size: 29px;
}

.section-container-days{
    width: 60%; 
    margin: 80px auto 0;
    text-align: center;
    -webkit-box-shadow: 0px 0px 4px 0px #000000; 
    box-shadow: 0px 0px 2px 0px #000000;
    padding: 80px 0px;
}

/******SECTION DESTINATION******/

.destination-section,.details-descr-section{
    padding-bottom: 60px;
}

.destination-article img{
    width: 100%;
}

.destination-article{
    margin-top: 15px;
    -webkit-box-shadow: 0px 0px 4px 0px #000000; 
    box-shadow: 0px 0px 2px 0px #000000;
}

.details-descr-section p {
    width: 80%;
    margin: 40px auto;
    text-align: center;
}

/******SECTION AVIS******/

.avis-section{
    background-color: #EDEDED;
}

.avis-article img{
    width: 50%;
    margin-left: 25%;
    border-radius: 50%;
}

/******FORMULAIRE******/

.contact-section p,.details-contact-section p {
    width: 80%;
    margin: auto;
    text-align: center;
    margin-bottom: 20px;
    padding: 0px 120px 20px;
}

.section-container-form{
    padding: 20px 200px;
}
  
.form-input{ 
    border: 1px #222 solid;
    padding: 2%;   
    margin: 15px auto;
    width: 96%;   
}

.form-envoi{
    background-color: #015e49!important;
    padding: 18px!important;
    color: white!important;
    margin-top: 15px;
    width: 25%;
    border: transparent;
    font-size: 20px;
}

.form-envoi{
    background-color: #0f917b;
}

.section-container textarea{ 
    height: 400px;
}

footer{
    background-color: #fefefe;
    padding: 60px;
}

.copyright{
    color: #222;
}


/*******GESTION DES FLEXBOX***********/

.desk-nav ul { 
    display: flex; 
    flex-direction: row;
    justify-content: center;
}

main{
    flex-basis: 125%;
}

.section-container{
    display: flex; 
    flex-direction: row;  
    justify-content: space-evenly;     
}

.section-container-form{
    display: flex; 
    flex-direction: column; 
    width: 100%; 
    justify-content: center;
}

.section-container-days{
    display: flex; 
    flex-direction: column; 
}

/*******GESTION DES MEDIA-QUERY***********/
@media (min-width: 1800px) {
    
    .banniere{
        height: 950px;
    }

    #banniere-details{
        height: 700px;
    }

    #banniere-details h1{
        padding-top: 280px;
    }

}


@media (max-width: 1000px) {

    body,.header,.banniere,main,
    .section-container,article,footer{
        width: 100%;
        padding: 0;
    }

    section{
        padding: 15px 0 ;
        width: 100%;
    }
    
    section h2{
        padding: 50px 0 5px;
    }
    
    .section-container{
        flex-direction: column;
    }

    article{
        width: 100%;;
        margin: auto;
    }

    button{
        width: 60%;
        margin-left: 19.9%;
    }
      
    /*******NAVIGATION***********/
    
    #nav-button-resp{
        background-color: transparent;
        border: none;
    }

    .desk-nav{
       display: none;
       width: 0;
    }

    #nav-resp{
        display: flex; 
        background-color: rgba(2, 2, 2, 0.92);
        color: #ddd;  
        width: 100%;
        padding-bottom: 20px;
        padding-top: 20px;
        position: fixed;
        top:0;
        z-index: 2;
    }

    #nav-resp, #list-nav-resp{
        flex-direction: column; 
    }

    #list-nav-resp{
        height: 0px;
        overflow:hidden;
    }

    #list-nav-resp li{
        padding: 25px;
    }

    #list-nav-resp li a{
        color:transparent;
        text-decoration: none;
        display: block;
    }

    /*****BANNIERE***********/
        
    .banniere,#banniere-details{
        width: 100%;
        height: 700px;
    }

    #banniere-details h1{
        font-size: 63px;
    }

    .banniere h1{
        font-size: 58px;  
    }

    .banniere img{
        width: 20em;
        margin-top: 200px;
    }

    .banniere a, #banniere-details a{
        width: 40%;
    }

    .section-container-days {
        width: 88%;
    }
    
    /*******SECTION CONTACT*********/
    
    .section-container{
        padding: 0;
     }

     .contact-section p, .details-contact-section p {
        padding: 0;
        margin: auto;
        width: 90%;
    }

    .section-container-form{
        padding: 20px 0px;
        width: 100%;
    }
    .form-input{
        width: 80%;
    }

    .form-envoi{
        margin: auto;
        width: 85%;
    }
    
 }
