 /* FONT */
 @font-face {
    font-family: "Joly-BoldText";
    src: url("../font/Joly-BoldText.eot") format("eot");
    src: url("../font/Joly-BoldText.woff2") format("woff2"),
        url("../font/Joly-BoldText.woff") format("woff");
}

@font-face {
    font-family: "Joly-RegularText";
    src: url("../font/Joly-RegularText.eot") format("eot");
    src: url("../font/Joly-RegularText.woff2") format("woff2"),
        url("../font/Joly-RegularText.woff") format("woff");
}

@font-face {
    font-family: "Joly-RegularTextItalic";
    src: url("../font/Joly-RegularTextItalic.eot") format("eot");
    src: url("../font/Joly-RegularTextItalic.woff2") format("woff2"),
        url("../font/Joly-RegularTextItalic.woff") format("woff");
}


/* ENSEMBLE */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;

    width: 100%;
    height: 100%;
}

/* LIENS */
a {
    text-decoration: none;

}

a:link {
   color: black;
   font-family: "Joly-RegularTextItalic";
}

a:hover {
    color: black;
    font-family: "Joly-RegularText";
}

a:visited {
    color: black;
}


/* HEADER */

#header {
    width: 100vw;
    height: 10vh;
    position: fixed;
    /* background-color: blue; */
    z-index: 1000;
}

#header .ligne {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header .ligne:first-of-type {
   background-color: white;
    height: 5vh;
}

#header .ligne:last-of-type {
    /* background-color:rgb(42, 74, 148); */
    background-color: black;
    height: 5vh;

    font-family: "Joly-RegularTextItalic";
    color:white;
    font-size: 1.4rem;
    text-align: center;

}

#header .ligne .retour {
   display: inline;
   position: absolute;
   left: 0.8rem;
   vertical-align: baseline;

   font-family: "Joly-RegularText";
   font-size: 1.4rem;
}

#header .ligne h1 {
   text-align: center;
   margin: 0;
   padding: 0;
   font-family: "Joly-RegularText";
   font-weight: normal;
   font-size: 1.6rem;
}
#header .ligne h2 {
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: "Joly-RegularTextItalic";
    font-weight: normal;
    font-size: 1.6rem;
 }

#header .ligne .info {
    display: inline;
    position: absolute;
    right: 0.8rem;
    font-family: "Joly-RegularText";
    font-size: 1.2rem;
}
#header a{
    text-decoration: none;
}

#header a:link{
    color: black;
    font-family: "Joly-RegularText";
}

#header a:hover{
    color: black;
    font-family: "Joly-RegularText";
  
}
#header a:visited{
    color: black;
}


/* GRID */

#content{
    display: grid;
    grid-auto-rows: 45vh;
    grid-template-columns: repeat(2, 1fr);
    background-color: white;
    position: relative;
    top: 10vh;
}

.projet1, .presentation{
    padding-left: 0.6rem;
    padding-top: 0.6rem;
    justify-content: baseline;

}
.projet1{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row: repeat(8, 1fr);
    font-family: "Joly-RegularText";
    font-size: 1rem;

}

.presentation{
    border-right: 0.08rem solid black;
    height: 90vh;
    font-family: "Joly-RegularText";
    font-size: 1.4rem;
}
.services{
    font-family: "Joly-RegularText";
    font-size: 1rem;
}
.contact{
    grid-column: 1 / 2;
}
.cv{
    grid-column: 2 / 3;
}
.credit{
    grid-column: 2 / 3;
    grid-row: 2/ 3;
    align-self: end;
    padding-bottom: 0.6rem;
    padding-left:0.6rem ;
}

@media only screen and (max-width: 600px) {
    #header .ligne:first-of-type {
        height: 6vh;
     }
    
    #header .ligne:last-of-type {
        height: 6vh;
        font-size: 0.8rem;
    }

    #header .ligne .retour {
        font-size: 1.4rem;
     }
     
     #header .ligne h1 {
        font-size: 1.4rem;
     }
     #header .ligne h2 {
        font-size: 1.4rem;
     }
     #header .ligne .info {
         font-size: 0.8rem;
         right: 0.4rem;
    }

    #content {
        top: 12vh;
        width: 100vw;
        height: 88vh;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
    }

    .projet1{
        width: 100vw;
        height: auto;
        grid-column: 1 / 2;
        grid-row: 2/3;
    }
    .presentation{
        width: 100vw;
        padding: 0.6rem;
        height: auto;
        /* background-color: thistle; */
        border-right: 0.08rem solid black;
        font-family: "Joly-RegularText";
        font-size: 1.4rem;
    }
    
    .credit{
        width: 100vw;
        grid-column: 1 / 2;
        grid-row: 3/4;
        align-self: end;
        padding-bottom: 0.6rem;
        padding-left:0.6rem ;
        font-size: 0.6rem;
    }

} 
