@font-face {
    font-family: 'roboto';
    src: url('roboto.eot');
    src: url('roboto.eot?iefix') format('eot'),
        url('roboto.woff') format('woff'),
        url('roboto.ttf') format('truetype'),
        url('roboto.svg#webfont') format('svg');
}


/* BODY*/


body {
    font-family: 'roboto', Arial, sans-serif;
    width: 99.9%;
    margin: auto;
    display: flex;
    align-content: space-around;
    flex-direction: column;
}

#service,
#projet,
#contact {
    padding-top: 80px;
}



/* BANNIERE */


.banniere {
    width: 99.9%;
    height: 16%;
    position: fixed;
    display: flex;
    background: white;
    align-items: center;
    z-index: 1;
}

.logo {
    width: 42%;
    margin-left: 16%;
}

.menu {
    width: 40%;
}

.menu li {
    list-style: none;
    color: black;
    display: inline;
    margin-left: 2%;
    padding: 3%;
}

.menu a {
    color: black;
    text-decoration: none;
}

.menu li:hover {
    border-top: 4px solid rgb(92, 173, 211);
    padding-top: 35px;

}

/* ACCUEIL*/


#accueil {
    width: 100%;
    position: relative;
    margin-top: 8%;
}

#accueil img {
    width: 99.9%;
}

.texte {
    position: absolute;
    word-wrap: break-word;
    color: white;
    width: 40%;
    height: 40%;
    top: 25%;
    left: 16%;
}

.timeline {
    height: 0.5em;
    width: 16%;
    background-color: rgb(92, 173, 211);
    position: absolute;
    bottom: 0.6%;
}


#accueil button {
    margin-top: 3%;
    width: 140px;
    height: 45px;
    border-bottom: 3px solid rgb(46, 163, 190);
    border-radius: 4px;
    background: rgb(92, 173, 211);
    color: white;
    text-decoration: none;
    font-size: 1em;
    position: absolute;
    border-top: none;
    border-left: none;
    border-right: none;
}

#accueil i {
    color: white;
    position: absolute;
    font-size: 1.5em;
    background-color: rgb(67, 66, 71);
    width: 35px;
    text-align: center;
    padding-top: 17.5px;
    height: 45px;
}

#accueil .droite {
    border-radius: 75px 0px 0px 75px;
    right: 0.1%;
    bottom: 47%;
}


#accueil .gauche {
    border-radius: 0px 75px 75px 0px;
    left: 0.01%;
    bottom: 47%;
}

.texte span {
    color: rgb(92, 173, 211);
}

h1 {
    font-size: 2em;
}

.texte p {
    font-size: 1.1em;
}

/* SERVICE */

#service {
    margin-top: 70px;
}

#service .header h5,
#projet .header h6 {
    font-size: 2.5em;
}

#service p {
    font-size: 1.2em;
}

.header {
    position: relative;
    width: auto;
    text-align: center;
}

hr {
    font-size: 3em;
    width: 8%;
    color: rgb(229, 229, 229);
    position: absolute;
    margin-top: -2.6%;
    left: 46.5%;
}

.fa-circle {
    border: 3px solid white;
    border-radius: 25px;
}

.header i {
    color: rgb(92, 173, 211);
    position: absolute;
    margin-top: -3.1%;
}



/*ECRAN */

.services {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

.design {
    width: 60%;
    word-wrap: break-word;
}

.services img {
    width: 35%;
    height: 0%;
    align-self: center;
    margin-top: -10%;
}

.detail li {
    max-width: 80%;
    list-style: none;
    display: flex;
    align-items: baseline;
    word-wrap: break-word;
    margin-left: 30%;
    position: relative;
}


.puce {
    width: 70px;
    height: 70px;
    border-radius: 70px;
    border: 2px solid rgb(229, 229, 229);
    position: absolute;
    right: 105%;
    top: 25px;
}

.centre {
    position: absolute;
    top: 21px;
    left: 18px;
}

.rond {
    position: absolute;
    left: 60px;
    top: 30px;
}

.detail h2,
h3,
h4 {
    font-size: 1.8em;
    font-weight: bold;
}

.detail .centre {
    font-size: 2em;
}

.detail i {
    color: rgb(92, 173, 211);
}



/* PROJET */


#projet {
    width: 99%;
    box-shadow: 0px 7px 30px rgb(234, 234, 234);
    background-color: rgb(245, 245, 245);
    display: flex;
    flex-direction: column;
}

#projet .rond {
    background-color: rgb(245, 245, 245);
}

#projet p,
.navigations li {
    font-size: 1.2em;
}


.navigations {
    margin-top: 80px;
}

.navigations li {
    list-style: none;
}


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

.navigations a {
    position: relative;
    color: black;
    text-decoration: none;
    background: rgb(229, 229, 229);
    padding: 20px;
}



.nav1 {
    border-radius: 5px 0px 0px 5px;
}

.nav4 {
    border-radius: 0px 5px 5px 0px;
}

.navigations a:hover {
    color: white;
    border-bottom: 4px solid rgb(46, 163, 190);
    background: rgb(92, 173, 211);
    margin-top: 25%;
    padding-bottom: 16px;
}


.navigations a:hover > i {
    visibility: visible;
}

.navigations a i {
    position: absolute;
    color: rgb(46, 163, 190);
    font-size: 1.5em;
    left: 55px;
    top: 52px;
    visibility: hidden;
}

/* Portfolio*/


.projets {
    margin-top: 50px;
    height: 600px;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    overflow: auto;
    display: flex;
    justify-content: center;
}


.projets img {
    width: 380px;
    height: auto;
}

.projets .fa-eye {
    display: block;
    color: white;
    margin-left: 300px;
    background-color: rgb(92, 173, 211);
    width: 50px;
    height: 33px;
    border-radius: 70px;
    text-align: center;
    border: 3px solid white;
    top: -27px;
    padding-top: 16px;
    position: absolute;
    font-size: 1.2em;
}

figcaption {
    display: block;
    border: 3px solid rgb(67, 66, 71);
    width: 370px;
    height: 75px;
    height: 75px;
    background-color: rgba(67, 66, 71, 0.7);
    color: white;
    text-align: justify;
    word-break: break-all;
    padding-top: 10px;
    position: absolute;
    padding-left: 10px;
    margin-top: -89px;
    border: none;
    visibility: hidden;
}

.projets img:hover + figcaption {
    visibility: visible;
}

.projets figcaption:hover {
    visibility: visible;
}

figcaption span {
    font-weight: bold;
    font-size: 1.2em;
}


/* CONTACT */


#contact {
    display: flex;
    background-color: rgb(92, 173, 211);
    height: 700px;
    width: 99%;
    position: relative;
}

iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    border: none;
    bottom: 0px;
}

.formulaire {
    position: absolute;
    right: 170px;
    top: 120px;
    background-color: rgba(245, 249, 250, 0.7);
    display: flex;
    align-content: space-between;
    height: 540px;
    width: 400px;
    display: flex;
    flex-direction: column;
}

input,
textarea {
    border: 2px solid red;
    background-color: white;
}


#contact h5 {
    font-weight: bold;
    font-size: 1.8em;
    margin-left: 23px;
    margin-top: 23px;
}

.formulaire span {
    font-weight: bold;
}

.adresse {
    color: black;
    margin-left: 23px;
    margin-top: -27px;
}


.tel {
    text-decoration: underline dotted;
}

input {
    margin-bottom: 10px;
    margin-left: 20px;
    border: 2px solid rgb(229, 229, 229);
    border-radius: 4px;
}


#nom,
#mail,
#societe {
    border-radius: 4px;
    width: 350px;
    height: 23px;
}

textarea {
    margin-left: 20px;
    width: 346px;
    height: 190px;
    border-radius: 4px;
    border: 2px solid rgb(229, 229, 229);
    word-wrap: break-word;
}

#submit {
    margin-top: 5px;
    margin-left: 20px;
    width: 150px;
    height: 30px;
    text-align: center;
    border-radius: 4px;
    border-bottom: 4px solid rgb(46, 163, 190);
    background: rgb(92, 173, 211);
    color: white;
    padding-top: 5px;
    border-right: none;
    border-left: none;
    border-top: none;
}

*/
/* --- MEDIAS QUERIES --- */

@media screen and (max-width: 1280px) {

    /* BODY*/


    #service,
    #projet,
    #contact {
        margin-top: 50px;
    }

    /* BANNIERE */


    .logo {

        margin-left: 10%;
    }

    .menu {
        width: 40%;
    }

    .menu li:hover {
        padding-top: 15px;
    }


    /* ACCUEIL*/


    #accueil {
        margin-top: 10%;
    }

    .texte {
        left: 10%;
        width: 45%;
        height: 50%;
    }

    .timeline {
        height: 0.3em;
        width: 15%;
        bottom: 0.9%;
    }

    #accueil button {
        width: 100px;
        height: 40px;
    }

    #accueil i {
        font-size: 1em;
        width: 25px;
        height: 30px;
        margin-left: 2px;
    }


    /* SERVICE */


    #service .header h5,
    #projet .header h6 {
        font-size: 2.2em;
    }

    #service p {
        font-size: 1.1em;
    }

    hr {
        margin-top: -2.25%;
        width: 8.5%;
    }

    /*ECRAN */

    .services {
        margin-top: 40px;
    }

    .detail li {
        margin-left: 10%;
        width: 75%;
    }


    .puce {
        width: 50px;
        height: 50px;
        border-radius: 50px;
        right: 108%;
        top: 25px;
    }

    .centre {
        position: absolute;
        top: 5px;
        left: 10px;
    }

    #service .rond {
        font-size: 0.8em;
        left: 43px;
        top: 19px;
    }

    #service .centre {
        font-size: 1.5em;
        top: 15px;
    }

    .detail h2,
    h3,
    h4 {
        font-size: 1.5em;
    }


    /* PROJET */


    #projet p,
    .navigations li {
        font-size: 1.1em;
    }

    .navigations {
        margin-top: 50px;
    }

    .navigations a {
        padding: 10px;
    }

    .navigations a:hover {
        padding-bottom: 7px;
    }

    .navigations a i {
        top: 80%;
        left: 50%;
    }

    .projets {
        margin-top: 30px;
    }


    .projets img {
        width: 380px;
        height: auto;
    }


    /* CONTACT */


    .formulaire {
        right: 50px;
    }
}



@media all and (max-width: 1024px) {


    /* BODY*/

    #service,
    #projet,
    #contact {
        margin-top: 20px;
    }

    /* BANNIERE */

    .banniere {
        height: 10%;
    }

    .logo {
        width: 57%;
        margin-left: 5%;
    }

    .menu {
        width: 70%;
    }


    /* ACCUEIL*/


    #accueil {
        margin-top: 12%;
    }

    .texte {
        left: 5%;
        width: 50%;
        top: 10%;
        height: 75%;
    }

    .timeline {
        width: 15%;
    }

    #accueil i {
        font-size: 0.8em;
        width: 20px;
        height: 28px;
    }

    h1 {
        font-size: 1.8em;
    }

    .texte p {
        font-size: 1em;
    }


    #accueil button {
        width: 120px;
        height: 33px;
    }

    /* SERVICE */


    #service .header h5,
    #projet .header h6 {
        font-size: 2em;
    }

    #service p {
        font-size: 1.1em;
    }

    .header i {
        font-size: 1em;
    }

    hr {
        margin-top: -2.2%;
        margin-left: 0.5%;
    }

    /*ECRAN */

    .services {
        margin-top: 0;
    }

    .detail li {
        margin-left: 5%;
        width: 90%;
    }

    .detail h2,
    h3,
    h4 {
        font-size: 1.4em;
    }



    /* PROJET */

    .navigations {
        margin-top: 20px;
    }

    #projet p,
    .navigations li {
        font-size: 1.1em;
    }

    .navigations a i {
        display: none;
    }

    .projets {
        margin-top: 30px;
        overflow: hidden;
        height: auto;
    }

    .projets img {
        width: 280px;
        height: auto;
    }


    figcaption {
        width: 270px;
        visibility: visible;
    }

    .projets .fa-eye {
        margin-left: 200px;
    }

    .projets img:hover + figcaption {
        visibility: hidden;
    }

    /* CONTACT */


    .formulaire {
        left: 50px;
    }
}


@media all and (max-width: 768px) {

    body {
        width: 97.6%;
    }

    #service,
    #projet,
    #contact {
        margin-top: 10px;
    }

    .banniere {
        display: inherit;
        background: rgba(255, 255, 255, 0.7);
        padding-top: 5%;
    }

    .logo img {
        width: 40%;
        margin-left: 22.5%;
    }

    .menu {
        position: relative;
        display: inline;
        top: -20%;
        font-size: 1em;
    }

    .menu li {
        padding: 0;
    }

    .menu li:hover {
        border-top: none;
    }

    .menu a:hover {
        border-bottom: 2px solid rgb(92, 173, 211);
        padding-top: 2px;
    }

    /* ACCUEIL */

    #accueil {
        margin-top: 30%;
    }

    .texte {
        position: relative;
        width: 85%;
        height: 100%;
        margin: auto;
        color: black;
    }

    .timeline {
        display: none;
    }

    #accueil button {
        width: 100px;
        height: 25px;
        right: 10px;
        bottom: -20px;
    }

    #accueil i {
        display: none;
    }


    h1 {
        font-size: 1em;
    }

    .texte p {
        font-size: 0.9em;
    }

    /* SERVICE */

    #service .header h5,
    #projet .header h6 {
        font-size: 1.2em;
    }

    #service p {
        font-size: 0.9em;
    }

    hr {
        display: none;
    }


    /*ECRAN */


    .services {
        margin-top: 8px;
    }

    .services img {
        display: none;
    }

    .detail li {
        width: 100%;
        margin-left: 8px;
    }

    .design {
        margin-left: 25px;
    }

    .puce {
        left: -30px;
        width: 35px;
        height: 35px;
        top: 20%;
    }

    .centre {
        left: 5px;
        margin-top: -10px;
    }

    #service .services .rond {
        font-size: 0.5em;
        left: 30px;
        top: 15px;
    }

    .detail h2,
    h3,
    h4 {
        font-size: 0.9em;
    }


    #service .header i {
        font-size: 0.5em;
        top: 45px;
    }

    /* PROJET */


    #projet i {
        font-size: 0.5em;
        top: 90px;
    }

    #projet p {
        margin-top: -10px;
    }

    #projet p,
    .navigations li {
        font-size: 0.9em;
    }

    .navigations {
        margin-top: 25px;
    }


    .navigations ul {
        padding: 2px;
        font-size: 0.8em;
    }

    .nav:hover > i {
        display: none;
    }

    .projets .fa-eye {
        display: none;
    }

    .projets {
        margin-top: 5px;
        width: 99%;
        height: auto;
        align-self: center;
        overflow: hidden;
    }

    .navigations {
        margin-left: -13%;
    }

    .projets img {
        width: 300px;
    }

    figcaption {
        visibility: visible;
        width: 290px;
    }

    .projets img:hover + figcaption {
        visibility: visible;
    }


    /* CONTACT */

    #contact {
        margin-top: 25px;
        flex-direction: column;
        height: 480px;
        width: 99%;
    }

    iframe {
        height: 560px;
    }


    .formulaire {
        background-color: rgb(245, 245, 245);
        box-shadow: 0px 10px 10px rgb(234, 234, 234) inset;
        top: 510px;
        opacity: inherit;
        position: relative;
        left: 0%;
        width: 99%;
    }

    .info {
        font-size: 0.9em;
    }


    .adresse {
        color: black;
        padding-left: 3px;
    }

    input {
        display: flex;
    }

    #nom,
    #mail,
    #societe {
        width: 265px;
    }

    form textarea {
        width: 262px;
        height: 150px;
    }

    form button {
        width: 150px;
        height: 23px;
    }

}
