/*  Created on : 3 août 2019, 08:32:40
    Author     : Voy
*/
/*-----------------------------------------Police éciture---------------------------------------*/
@font-face{
    font-family: "Roboto-Regular";
    src: url("fonts/Roboto-Regular.ttf") format("truetype");
}
@font-face{
    font-family: "Roboto-Light";
    src: url("fonts/Roboto-Light.ttf") format("truetype");
}
@font-face {
    font-family: "Roboto-Bold";
    src: url("fonts/Roboto-Bold.ttf") format("truetype");
} 
@font-face {
    font-family: "fontawesome-webfont";
    src: url("fonts/fontawesome-webfont.woff") format("woff"),
         url("fonts/fontAwesome-webfon.eot") format("eot"),
         url("fonts/fontawesome-webfont.svg") format("svg"),
         url("fonts/fontawesome-webfont.ttf") format("truetype");
}
/*----------------------------------------------code generique-----------------------------------*/
body{
    margin: 0;
    overflow-x: hidden;
    
}
i{
    font-family: "fontawesome-webfont";
}
section{
    font-family: "Roboto-Regular", sans-serif;
}
/*-------------------------------séparateur commun aux deux sections------------------------------------*/    
.separator{
    display: flex;
    flex-direction: row;
    align-items: center; 
} 
.separator div.point{
    margin-bottom: 4%;
    width: 20px;
    height: 20px;
    border: 5px solid white;
    border-radius: 20px;
    border-color: white;
    background-color: #5cadd3;       
}
.separator div.first{    
    width: 50px;
    height: 1px;
    background-color: rgba(192, 192, 192, 0.5);
}
.separator div.second{
    width: 50px;
    height: 1px;
    background-color: rgba(192, 192, 192, 0.5);
}
            /*---------------------------fin du séparateur -----------------------*/
/*-----------------------------------------------HEADER----------------------------------------*/
header{
    width: auto;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 5;
}
header .logo{
    width: 30%;
}
nav{
    font-family: "Roboto-Regular";
}
ul{
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    position: relative; 
    font-size: 1em;
}
nav ul li{
    border-top: 3px solid rgba(0, 0, 0, 0); /*pour empêcher le décaalage au hover*/
    padding: 49px 20px; 
}
li a{
    text-decoration: none;
    color: #555555;    
}
li:hover{
    border-top: 3px solid #5CADD3;    
}
li a:visited{
    color: #555555;
}
/*-------------------------------------------------------Accueil------------------------------------------------------------------*/
.home{
    position: relative;
    max-height: 100%;
    height: auto;
    width: 100%
}
.slider{
    position: relative;
}
.slider img{
    width: 100%;
}
.sliderContent{
    position: absolute;
    top: 28%;
    left: 10%;
}

.textSlider{

    font-size: 0.5em;
    font-family: "Roboto-Bold";
    color: white;
}
.textSlider h1{
    font-size: 3.5em;
}
.textSlider h1 span{
    color: #5CADD3;
}
.rafters{
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 44.23%;
    width: 100%;
    height: 65px;
}
.rafters div.left{
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 33px;
    position: absolute;
    left: -30px;
    font-family: "fontawesome-webfont";
}
.rafters div.right{
    background-color: rgba(0, 0, 0, 0.2); /*pour créer le fond voilé*/
    border-radius: 33px;
    position: absolute;
    right: -30px;
    font-family: "fontawesome-webfont";
}
.rafters i{
    width: 60px;
    height: 65px;
    font-size: 15px;
    color: white; 
}
.rafters div.left i.fas.fa-chevron-left{
    display: block; /*pour le placement du chevron*/
    position: relative;
    top: 25px;
    left: 30px;
    font-family: "fontawesome-webfont";
}
.rafters div.right i.fas.fa-chevron-right{
    display: block;
    position: relative;
    top: 25px;
    left: 15px;
    font-family: "fontawesome-webfont";   
}
div.btn.btnMoreInfo{
    max-height: 30px;
    margin-top: 10%; 
}
div.btn.btnMoreInfo a{
    padding: 15px;
    color: white;
    background-color: #5CADD3;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    box-shadow : 0px 2px 0px 0px #4494bb;
    border-radius: 2px;
    text-decoration: none;
    font-family: "Roboto-Bold";
}
.bar{    
    position: absolute;
    bottom: 0.30vw;
    width: 100%;
    height: 8px;
    display: flex;
}
.firstBar{
    width:14%;
    height: 8px;
    background-color: #5CADD3;
}
.secondBar{
    width: 90%;
    height: 8px;
    background: linear-gradient( /*pour créer le fond voilé->evolution en animation css3 possible avec @keyframes*/
        rgba(0, 0, 0, 0.1), 
        rgba(0, 0, 0, 0.1));
}
/*------------------------------------------SECTION SERVICES------------------------------------*/
#services{
    width: 100%;
    max-height: 100%;
    height: auto;
    padding-top: 120px; /*pour compenser le menu de 120px sticky*/
}
.headerServices{
    font-family: "Roboto-Bold";
    display: flex;
    flex-direction: column;
    align-items: center;   
    margin-bottom: 60px;
}
.headerServices h2{ 
    margin-bottom: 5px; 
    color: #272727;
    margin-bottom: 30px;
    font-size: 3em;
    text-transform: uppercase; /*pour les fonctionnalités type liseuse*/
}
.headerServices p{
    width: 100%; 
    text-align: center;
    font-size: 0.9em;
    color: #686c71;
    margin-top: 30px;
    font-family: "Roboto-Regular";
}
.feature{
    display: flex;
    justify-content: space-around;
}
.feature img{
    margin-left: 100px;
    height: 100%;
    width: 100%;
}
.featureContent{
    width: 100%;
    display: flex;
    flex-flow: wrap;/*pour organiser les icones devant le texte*/
    margin-top: 50px; /*decalle icone et texte de l'image du mac*/
    height: auto; /*maintient la mise en page deployer precedement*/
}
.featureIcons{
    height: 70px;
    position: relative;
}
.featureIcons i{
    color: #5cadd3;
    border: 1px solid rgba(192, 192, 192, 0.8);
    border-radius: 50px;
    height: 70px;
    width: 70px;
    margin-left: 20px;
    margin-right: 20px;
}
i.fa-chart-line::before{
    font-size: 25px;
    position: absolute;
    top: 20px;
    left: 45px;
}
i.fa-chart-pie::before{
    font-size: 25px;
    position: absolute;
    top: 20px;
    left: 45px;
    
}
i.fa-cubes::before{
    font-size: 25px;
    position: absolute;
    top: 20px;
    left: 45px;
    
}
 .featureIcons i span.icon{
    min-width: 12px;
    min-height: 12px;
    border-radius: 20px;    
    background-color: rgba(92, 173, 211, 1);
    position: absolute;
    right: 15px;
    top: 27px;
}
.featureContent h3{
    margin: 0;
    font-family: "Roboto-Bold";
    color: #2d2d2d;
    font-weight: 100;
    font-size: 1em;
}
.featureContent p.textFeatureContent{
    margin-left: 112px;     
    margin-right: 80px;
    font-size: 0.8em;
    color: #686c71;
    position: relative;
    top: -44px;
}
/*---------------------------------------------------------SECTION PORTFOLIO--------------------------------------------------------*/             
#portfolio{  
    background-color: #f5f5f5;
    position: relative;
    padding-top: 120px;
}
.headerPortfolio{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    bottom: 30px;
}
.headerPortfolio h2{
    font-size: 3em;
    font-family: "Roboto-Bold";
    margin-bottom: 7px;
    text-transform: uppercase;
}
.headerPortfolio p.headerPortfolioText{
    max-width: 100%;
    text-align: center;
    color: #686c71;
    font-size: 1em;
}
.portfolioMenu{
    margin-top: 2%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 3px;
    height: 40px;
    font-size: 15px;
    position: relative;   
}

.portfolioMenu .portfolioMenuContent{
    background-color: #e5e5e5;
    color: #727579;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    margin-left: 0;
    border-color: #4494bb;
    font-weight: bold;
    font-size: 1em;
    width: 90px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}
.fas.fa-caret-down{
    opacity: 0;
    width:0;
}
.portfolioMenu .portfolioMenuContent:hover{
    background-color: #5cadd3;
    box-shadow : 0px 3px 0px 0px #4494bb;
}
.portfolioMenuContent:hover .fas.fa-caret-down{
    position: absolute;
    bottom: -17px;
    font-size: x-large;
    right: 35px;
    color: #4494bb;
    opacity: 1;
    width: auto;
}
.portfolioMenuContent:hover .title{    
    color: white;    
}
.portfolioMenuContent:first-child{
    background-color: #5cadd3;
    box-shadow : 0px 3px 0px 0px #4494bb;
    color: white;
    text-decoration: none;
    border-radius: 5px 0 0 5px;
}

.portfolioMenuContent:last-child{
    border-radius: 0 5px 5px 0; 
}

.portfolioMenuContent:first-child i.fas.fa-caret-down{
    position: absolute;
    bottom: -17.5px;
    font-size: x-large;
    right: 35px;
    color: #4494bb;
    opacity: 1;
    width: auto;
}
.portfolioMenuContent:first-child a{
    color: white;
    text-decoration: none;
}
.portfolioItemsContent{
    display: flex;
    justify-content: center;
}
.portfolioItems{
    display: flex;
    justify-content: space-around;
    flex-flow: row wrap;
    margin-top: 60px;
    max-width: 1450px;
}
.portfolioItem img{
    max-width: 333px;
    height: auto;
    font-size: initial;
}   
.portfolioItem{
    position: relative; 
    margin-bottom: 20px;
}
.legend{
    opacity: 0;
    position: absolute;
    left: 0;
    bottom: 0.3vw;
    display: flex;
    flex-direction: column;
}
.legend h3{
    margin-left: 10px;
    margin-bottom: 18px;
}
.legend span{
    margin-left: 10px;
    margin-bottom: 19px;
}
.legend i.far.fa-eye{
    border: 2px solid white;
    border-radius: 20px;
    font-size: 15px;
    color: white;
    background-color: rgba(92,173,211,1);
    padding: 10px;
    position: absolute;
    bottom: 60px;
    right: 10px;
}
.portfolioItem:hover .legend{
    opacity: 1;
    background-color: rgba(0,0,0,0.5);
    height: 80px;
    width: 100%;
    color: white;
    font-size: 0.75em;   
    justify-content: center;
    line-height: 0.2;
    font-family: "Roboto-Bold";
}
/*------------------------------------------------------SECTION CONTACT-----------------------------------------------------------*/             
#contactAnchor{
    background-color: #f5f5f5;
    height: 120px;
    width: 100%;
}

.contact{
    width: 100%;
    position: relative;
    max-height: 100%;
    height: auto;
}
iframe{
    width: auto;
    height:450px;
    border: none;    
}
.map{
    position: relative;
    width: 100%;
    height: 750px;
}
.map div.overlay{
    position: absolute;
    background-color: rgba(92,173,211,0.4);
    width: 100%;
    height: 100%;
}
.map div.mapContent iframe{   
    width: 100%;
    height: 750px;
}
form{
    position: absolute;
    max-height: calc(100% - 10px);
    width: 24em;
    background-color: rgba(255, 255, 255, 0.7);
    top: 8%;
    left: 60%;
    font-size: 0.8em;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.formContent{
    display: flex;
    flex-direction: column;
    align-content: center;
    margin-left: 20px;
    margin-right: 20px;
    
}
.formContent h2{
    margin-top: 15px;
    margin-bottom: 5px;
    font-family: "Roboto-Bold";
    color: #272727;
}
.formContent h3{
    font-family: "Roboto-Bold";
    font-size: 1em;
    color: #666a6f;
}
.formContent p{
    font-size: 1em;
    margin-top: -7px;
    color: #666a6f;
}

.formContent input{
    background-color: rgba(255, 255, 255, 1);
    width: calc(100% - 10px);
    padding-left: 10px;
}
.nom{
    line-height: 2em;
    margin-top: 5px;
    margin-bottom: 12px;
    border-radius: 2px;
    border-width: 1px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-family: "Roboto-Regular";
    font-size: 1em;    
}
.email{
    line-height: 2em;
    margin-bottom: 12px;
    border-radius: 2px;
    border-width: 1px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-family: "Roboto-Regular";
    font-size: 1em;
    opacity: 1;
}
.subject{
    line-height: 2em;
    margin-bottom: 12px;
    border-radius: 2px;
    border-width: 1px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-family: "Roboto-Regular";
    font-size: 1em;
    opacity: 1;
}
.message{
    margin-bottom: 12px;
    border-radius: 2px;
    border-width: 1px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-family: "Roboto-Regular";
    font-size: 1em;
    width: calc(100% - 10px);
    height: 12em;
    padding-left: 10px;
    padding-top: 10px;
}
input.btn{
    color: white;
    background-color: rgba(92,173,211,1);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 3px;
    border-color: #4494bb;
    font-family: "Roboto-Bold";
    font-size: 1em;
    height: 3vw;
    width: 11vw;
    margin-top: 1%;
    cursor: pointer; /*modifie l'apparence du pointer en main*/
}
/*-----------------------------------------------------------tablette/smartphone------------------------------------------------*/


@media all and (max-width: 890px){
/*    body{
        font-size: 2.75vw;        taille ecriture adaptable selon la vue
    }*/
    /*-------------------------------séparateur commun aux deux sections------------------------------------*/
    .separator div.point{
        margin-bottom: 2%;
        width: 15px;
        height: 15px;
        border: 3px solid white;
        border-radius: 20px;
        border-color: white;
        background-color: #5cadd3;       
    }
    .separator div.first{    
        width: 30px;
    }
    .separator div.second{   
        width: 30px;
    }
            /*---------------------------fin du séparateur -----------------------*/
    header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90px;
    }
    header .logo{
    position: relative;
    top: 2vw;
    left: 0;
    
    }
    .logo img{
    max-width: 100%;
    max-height: 100%;
    }
    nav{
        position: initial;     
    }
    nav ul{
        position: initial;
    }
    nav ul li{
        padding: 2px 11px;
    }

    /*---------------------Accueil tablette----------------------->*/
    
    .home{
        height: auto;
        position: initial;
    }
    .slider{
        height:auto;
    }
    .sliderContent{
        top: 13vw;
        height:auto;
        font-size: 1rem;
    }
    div.slider img{
        height:auto;
    }
    div.rafters{
        display: none;    
    }
    .sliderContent div.textSlider{
        font-size: 0.5rem;
    }
    .sliderContent div.textSlider h1{
        font-size: 1.6rem;
    }    
    .sliderContent div.textSlider h2{
        font-family: "Roboto-Light";        
    }
    .sliderContent div.btn.btnMoreInfo
    {
        margin-top: 6%;
    } 
    .sliderContent div.btn.btnMoreInfo a{
        padding-top: 12px;    
    }
    .bar{
        display: none;
    }
    /*<---------------------------Services tablette------------------------>*/
    #services{
    padding-top: 90px;
        }
    .headerServices{
        margin-top: 15px;
        margin-bottom: 0;
    } 
    .headerServices p{
        width: auto;
        font-size: 1.5em;
    }
    .feature img{
        display: none;
    }
    .featureContent p.textFeatureContent{
        width: auto;
        font-size: 1rem;
    }
/*<----------------------------Portfolio tablette--------------------->*/
    #portfolio{
        padding-top: 90px;
    }
    .headerPortfolio .text{
        margin-top: 10px;
    } 
    .portfolioItem img{
        max-width: 250px;   
    }
    .legend{
    bottom: 0.65vw;
    }
    .legend h3{
    font-size: 1em;    
    }
    .legend span{
    font-size: 1em;
    }
   /*<--------------------------------Contact tablette-------------------------->*/
   #contactAnchor{
    background-color: #f5f5f5;
    height: 90px;
    width: 100%;
}
   .contact{
        position: initial;
    }

     div.map div.mapContent{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    form{
        position: initial;
        margin-top: 5px;
        height: 100%;
        margin-bottom: 5px;
        background-color: rgba(0,0,0,0.1);
        padding-bottom: 15px;
        font-size: 1.2em
    }
    input.btn{
        height: 5vw;
        width: 28vw;
    }
}

/*----------------------------------------------------------------------------*/


@media all and (max-width: 500px){ /*tres petits écran*/
    
    nav ul li a{
        font-size: 0.7rem;
    }
    .sliderContent{
        top:77px;
        font-size: 0.5rem;
    }
    .sliderContent div.textSlider h1{
        margin-bottom: 0;
        font-size: 1rem;
    }
    div.sliderContent div.textSlider h2{
        position: relative;
        bottom: 6px;
        font-size: 0.6rem
    }
    div.sliderContent div.btn.btnMoreInfo
    {
        margin-top: 2%;
    } 
    div.sliderContent div.btn.btnMoreInfo a{
        padding: 5px;
        font-size: 0.8rem;
    }
    .featureContent{
        font-size: 1rem;    
    }
    .featureContent h3{
        font-size: 1rem;
    }
    .headerServices p{
        font-size: 1rem;
    }
    .headerServices h2{
        font-size: 2rem;
    }
    #portfolio{
        padding-top: 100px;
    }
    .portfolioMenu .portfolioMenuContent{
        font-size: 1rem;
    }
    .headerPortfolio p.headerPortfolioText{
        font-size: 2rem;
    }
    .headerPortfolio h2{
        font-size: 2.5rem;
    }
    .legend{
        bottom: 1vw
    }
    .legend h3{
        font-size: 1.2rem;    
    }
    .legend span{
        font-size: 1rem;
    }
    form{
        width: auto;
        font-size: 1rem;
    }
    input.btn{
    font-size: 1rem;
    height: 8vw;
    width: 45vw;
    }   
}
@media all (max-height: 450px){ /*pour petits écran couché*/

    .sliderContent{
        top: 80px;
        font-size: 0.5rem;
    }
}

@media screen and (min-width: 1820px){
    nav ul li{
        padding: 49px 20px;
    }
    .textSlider{
        font-size: 1em;
    }
    .bar{    
    bottom: 0.2vw;
    height: 8px;
    display: flex;
    }
    .featureContent h3{
        font-size: 1.5em;
    }
    .featureContent p.textFeatureContent{
        font-size: 1em;
    }
}