
/* reset css*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*on définit les différents style*/
h1{
    font-weight: 700;
    text-transform: UPPERCASE;
    font-size: 2em;
    color: white;
    margin-bottom: 28px;
}

h2{
    margin-bottom: 10px;
    font-weight: 900;
    text-transform: UPPERCASE;
    font-size: 3em;
    color: rgb(39, 39, 39);
}

h3{
    font-weight: 800;
}

h4{
    margin: 5px;
    margin-bottom: 5px;
    font-weight: 800;
    font-size: 1em;
}

h5{
    font-weight: 700;
    font-size: 2em;
    color: black;
    margin-bottom: 10px;
    margin-top: 0px; 
}

h6 {
    font-size: 1.1em;
    color: rgb( 80, 80, 80);
    margin-bottom: 5px;
    margin-top: 0px;
    font-weight: 700;
}

#petit_texte_blanc{
    color: white;
    position: relative;
    bottom: 13px;
}

mark{
    color: rgb(92, 173, 211);
    background-color: rgba(0, 0, 0, 0);
}

.style_bouton{
    background-color: rgb(92, 173, 211); 
    border-bottom: 3px solid rgb(68, 148, 187);
    color: white;
    padding: 10px;
    border-radius: 4px;
    width: 110px;
    font-size: 1.4em;
    font-weight: 500;
    text-align: center;
}

/*partie hors section*/
body{
    width: 99%;
    margin-left:auto;
    margin-right:auto;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em;
    color: rgb( 80, 80, 80)
}

header{
    height: 15%;
    position: fixed;
    background-color: rgb(255, 255, 255);
    z-index: 9999;
    display: flex;
    justify-content: space-around;
    width: 100%;
}
   
#logo{
    height: 57px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 158px;
}

header ul{
    display: flex;
    list-style-type: none;
    align-items: flex-start;   
}

header li{
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 34px;
    border-top:2px solid white;
    -webkit-transition : color 0.3s linear, border 0.3s linear;
    -moz-transition : color 0.3s linear, border 0.3s linear;
    -o-transition : color 0.3s linear, border 0.3s linear;
    transition : color 0.3s linear, border 0.3s linear;
}

@keyframes barre_bleue_animation{
    0% {
        border-top: 2px solid rgb(92, 173, 211);
        color: rgba(0, 0, 0, 0.76);
    }

    70% 
    {
        transform: translateX(5px);
    }

    80% 
    {
        transform: translateX(-10px);
    }

    90% 
    {
        transform: translateX(+10px);
    }

    100% 
    {
        transform: translateX(-5px);
    }
}

li:hover{
    cursor: pointer;
    animation: barre_bleue_animation 2s;
    color:black;
}


header a{
	color: rgb(122, 122, 122);
    text-decoration: none;
    font-size: 1em;
}

section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/*partie accueil*/
#espace_haut_accueil{
    height: 93px;
}

#fond_accueil_1{
    width: 100%;
}

#accueil {
    position:relative;
}

#fond_accueil_2{
    display: none;
}

#devant_fond_accueil{
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: calc(50% - 58px);
}

#texte_accueil{
    position: relative;
    margin-left: -32%;
    width: 54%;
}

.fleche{
    position: relative;
    top: 9px;
    width: 33px;
}

#barre_chargement{
    width: 100%;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.438);
    position: relative;
    z-index: 149;
    top: -5px;
}

#conteneur_barre_chargement_bleu{
    width: 100%;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.438);
    position: relative;
    z-index: 149;
    top: -11px;
    background-color: rgba(0, 0, 0, 0);
}

#barre_chargement_bleu{
    background-color: rgb(92, 173, 211);
    width: 10%;
    height: 100%;
}

/*partie "Nos services"*/
#ancre_nos_services{
    height: 92px;
}

.div_titre_texte{
    margin-bottom: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.trait_gris_gauche{
    border: 1px solid rgb( 235, 235, 235);
    width: 6%;
    height: 0px;
}

.trait_gris_droit{
    border: 1px solid rgb( 235, 235, 235);
    width: 6%;
    height: 0px;
}

.trait_rond{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

#div_ecran_texte{
    display: flex;
    justify-content: space-around;
    width: 100%;
}

#ecran{
    width: 22%;
    height: 243px;
}

#conteneur_texte_nos_services{
    display: flex;
    flex-direction: column;
}

.description_service{
    display: flex;
    flex-direction: column;
}

.texte_nos_services{
    width: 75%;
    display: flex;
    align-items: center;
    margin-bottom: 42px;
}

.logo_services{
    margin-right: 10px;
}

/*partie "Nos projets"*/
#nos_projets a{
    text-decoration: none;
    color: white;
}

#nos_projets{
    background-color: rgb(245, 245, 245);
}

#ancre_nos_projets{
    height: 92px;
    background-color: rgb(245, 245, 245);
}

#boutons{
    display: flex;
}

#bouton_bleu{
    background-color: rgb(92, 173, 211); 
    color: white;
    font-weight: bold;
    padding: 15px;
    border-radius: 7px 0px 0px 7px;
    border-bottom: 7px solid rgb(68, 148, 187);
}

#premier_bouton_gris{
    background-color: rgb(229, 229,229);
    padding: 15px;
    border-radius: 7px 0px 0px 7px;
    border-bottom: 7px solid rgb(229, 229,229);
}

.boutons_gris{
    background-color: rgb(229, 229,229);
    padding: 15px;
    border-bottom: 7px solid rgb(229, 229,229);
}

#dernier_bouton_gris{
    background-color: rgb(229, 229,229);
    padding: 15px;
    border-radius: 0px 7px 7px 0px;
    border-bottom: 7px solid rgb(229, 229,229);
}

#dernier_bouton_gris:hover{
    background-color: rgb(229, 229,229);
    padding: 15px;
    border-radius: 0px 7px 7px 0px;
    border-bottom: 7px solid rgb(229, 229,229);
}

.boutons_gris:hover{
    background-color: rgb(92, 173, 211); 
    color: white;
    font-weight: bold;
    padding: 15px;
    border-bottom: 7px solid rgb(68, 148, 187);
    cursor:pointer;
}

#dernier_bouton_gris:hover{
    background-color: rgb(92, 173, 211); 
    color: white;
    font-weight: bold;
    padding: 15px;
    border-bottom: 7px solid rgb(68, 148, 187);
    cursor:pointer;
}

#premier_bouton_gris{
    background-color: rgb(92, 173, 211); 
    color: white;
    font-weight: bold;
    padding: 15px;
    border-bottom: 7px solid rgb(68, 148, 187);
    cursor:pointer;  
}



#premier_bouton_gris:hover + .fleche_bleue{
    display: block;
}

.boutons_gris:hover + .fleche_bleue{
    display: block;
}

#dernier_bouton_gris:hover + .fleche_bleue{
    display: block;
}

.fleche_bleue{
    width: 0px;
    display: none;
}

#fleche_bleue_premier_bouton{
    width: 0px;    
}

.fleche_bleue img{
    position: relative;
    top: 46px;
    left: -53px;    
}

#fleche_bleue_premier_bouton img{
    position: relative;
    top: 46px;
    left: -53px;    
}


.hover_div{
    width: 260px;
    height: 173px;
    margin: 10px;
}

.hoverT{
    position: relative;
    top: -102%;
    opacity: 0;
    width: 99%;
    height: 99%;
}

.sub_hoverT{
    width: 101%;
    height: 45%;
    background-color: rgba(0, 0, 0, 0.4);
    position: relative;
    top: 57%;
}

.oeil{
    height: 59%;
    position: relative;
    top: -79px;
    left: 75%;
}




#portfolio{
    display: flex;
    justify-content: center;
    width: 84%;
    flex-wrap: wrap;
    margin-top: 50px;
}

.image_portfolio{
    width: 100%;
}

.hoverT:hover{
    opacity:1;
    cursor:pointer;
}

/*partie "Contact"*/
#contact{
    margin-bottom: 0px;
    position: relative;
}

#conteneur_fiche_contact{
    width: 100%;
    height: 0px;
    z-index: 1;
}

#ancre_contact{
    height: 78px;
}



#conteneur_teinte_map{
    width: 100%;
    height: 0px;
}

#contact_info{
    position: absolute;
    top: calc(50% - 120px);
    background-color: rgba(255, 255, 255, 0.8);
    width: 20%;
    padding: 20px;
    left: 74%;
}
    
#contact_zone_ecriture{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.zone_ecriture{
    width: 100%;
}

#teinte_map{
    background-color: rgba(0, 195, 255, 0.2);
    width: 100%;
    height: 700px;
    position: relative;
    bottom: 699px;
}

#style_bouton_formulaire{
    background-color: rgb(92, 173, 211);
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
    border-bottom: 3px solid rgb(68, 148, 187);
    color: white;
    padding: 10px;
    border-radius: 4px;
    width: 50%;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
}

#map_large{
    width: 100%;
    height: 100%;
}

#map_medium{
    display: none;
}

#map_mini{
    display: none;
}


@media all and (max-width: 768px)
{
    
    /*on définit les styles*/
    h1{   
        font-size: 1.5em;
    }

    h2{
        font-size: 2.2em;
    }

    .style_bouton{
        font-size: 0.8em;
        width: 26%;
    }
    

    /*partie hors-section*/
    header{
        flex-direction: column;
        align-items: center;
        height: 133px;
    }
    header li {
        padding-bottom: 14px;
        padding-top: 30px;
    }

    #logo{
        margin-right:0px;
    }

    /*partie accueil*/
    header a{
        font-size: 1em;
    }

    #espace_haut_accueil {
        height: 133px;
    }

    #devant_fond_accueil{
        top: calc(50% - 75px);
    }

    #texte_accueil {
        position: relative;
        margin-left: 8%;
        width: 100%;
    }

    /*partie "nos services"*/
    #ecran{
        margin: 8%;
        height: 148px;
    }

    /*partie "nos projets"*/
    .div_titre_texte{
        margin-bottom: 28px;
    }

    #ancre_nos_services{
        height: 67px;
    }
    

    /*partie portfolio*/
    #portfolio{
        width: 100%;
    }

    #ancre_nos_projets{
        height: 67px;
    }

    /*partie "Contact"*/
    #conteneur_fiche_contact{
        width: 100%;
        height: auto;
        z-index: 0;
    }
    
    #contact_info{
        position: initial;
        margin: auto;
        width:75%;
    }

    #style_bouton_formulaire{
        width: 26%;
    }
    
    #ancre_contact{
        height: 78px;
    }

    #map_large{
        display: none;
    }
    
    #map_medium{
        display: block;
        width: 100%;
        height: 100%;
    }
    
    #map_mini{
        display: none;
    }
}



@media all and (max-width: 375px)
{
    /*on définit les différents styles*/
    .style_bouton{
        font-size: 1.1em;
        width: 70%;
        text-align: center;
    }
    
    h1{
        margin-bottom: 24px;
    }

    h2{
        font-size: 2em;
    }
    
    /*partie "Nos services"*/
    .div_titre_texte{
        flex-direction: column;
    }

    /*partie accueil*/
    header a{
        font-size: 0.9em;
    }

    #fond_accueil_1{
        display: none;
    }
    
    #fond_accueil_2{
        display: block;
        width: 100%;
    }

    #devant_fond_accueil{
        top: calc(50% - 108px);

    }

    #texte_accueil{
        margin-left: 26px;
        width: 50%;
    }

    #petit_texte_blanc{
        color: rgb(0, 0, 0);
        font-weight: 700;
    }

    /*partie "nos services"*/
    .logo_services{
        width: 25%;
        height: 25%;
    }

    #ecran{
        margin: auto;
        height: 100px;
        width: 37%;
        margin-bottom: 24px;
    }

    #div_ecran_texte{
        flex-direction: column;
    }

    .div_titre_texte{
        text-align: center;
    }

    #conteneur_texte_nos_services{
        margin-left: 10%;
    }

    /*partie "nos projets"*/
    #boutons{
        font-size: 0.8em;
    }

    #bouton_bleu img{
        bottom: -193%;
    }

    /* partie "contact" */
    #style_bouton_formulaire{
        width: 47%;
    }

    #map_large{
        display: none;
    }
    
    #map_medium{
        display: none;
    }
    
    #map_mini{
        display: block;
        width: 100%;
        height: 100%;
    }
    
    
}





