 /* 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-RegularText";

}

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;
}

/* FOOTER */
#footer {
    background-color: #000000;
    font-family: "Joly-RegularText";
    font-size: 1.4rem;
    color: #ffffff;
    width: 100vw;
    height: 10vh;
  }

/* #footer .contactmail{
    left: 1rem;
    vertical-align: baseline;
}

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

#footer a:hover{
    color: black;
    font-family: "Joly-RegularText";
  
} 
#footer 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;
}

 /* IMAGES + TITRES */

.imgcouv {
     height: 40vh;
}

img {
     object-fit: cover;
     left: 0;
     width: 50vw;
     height: 40vh;
}

p {
    padding-left: 0.5rem;

}
.nomprojet{
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 1rem;

    font-family: "Joly-RegularText";
    font-size: 1rem;

}

@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;
        grid-template-columns: 1fr;
        grid-auto-rows: 44vh;

    }
    .imgcouv {
        height: 38vh;
   }

    img {
        height: 38vh;
        width: 100vw;
    }

    .nomprojet{
        height: 6vh;
        font-size: 0.8rem;
    } 
} 