
@font-face {
  font-family: "HuttemonoV2-Regular";
  src: url("../fonts/HuttemonoV2-Regular.woff2") format('woff2');
  font-weight: normal;
}


a:link,
a:visited,
a:hover,
a:active {
  color: black;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: blue;
}

body{
  font-family: "HuttemonoV2-Regular";
  line-height: 15px;
  font-weight: normal;
  margin: 0;
  background-color: white;
}


/* --------------- PLUS DE 950 PX ---------------- */
   

    @media only screen and (min-width: 950px) {


/* ---- HEADER ---- */

  header {
  z-index: 10;
  top: 0;
  position: sticky;
  background-color: white;
  height: calc(20px + 1.3em);
  display: grid;
  grid-template-rows: 9px 1.3em 5px;
  grid-template-columns: 10px 2fr auto 2fr 10px;
  z-index: 1000;
  font-family: "HuttemonoV2-Regular";
  font-weight: normal;
  margin: 0px;
  font-size: 1em;
  }


  .nom {
  z-index: 1000;
  margin: 0;
  font-size: 1em;
  grid-row: 2/3;
  grid-column: 2/3;
  text-align: left;
  }


  .about {
  z-index: 1000;
  margin: 0;
  font-size: 1em;
  grid-row: 2/3;
  grid-column: 3/4;
  text-align: center;
  }

  .contact {
  z-index: 1000;
  margin: 0;
  font-size: 1em;
  grid-row: 2/3;
  grid-column: 4/5;
  text-align: right;
  }


/* ---- TEXTES ---- */

  .text-about {
  grid-column-start:1;
  grid-column-end: 2;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 32px;
  font-weight: normal;
  line-height: 40px;
  margin-top: 60px;
  }

  .text-projet {
  grid-column-start:1;
  grid-column-end: 3;
  padding-left: 220px;
  padding-right: 220px;
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  }


/* ---- IMAGES PAGES PROJETS ---- */

  * {box-sizing: border-box}
  .mySlides {
  display: none
  }

  img {
  max-width: 80vw;
  vertical-align: middle;
  max-height: calc(96vh - 1em - 15px);
  }

  .references {
  grid-template-columns: 10 2fr auto 2fr 10;
  grid-column-gap: 0.25em;
  display: grid;
  grid-auto-rows: auto;
  grid-row-gap: 0;
  margin-top: 30px;
  }

  .icono {
  grid-column: 2/3;
  texte-align: center;
  }

  .icono img {
  max-width: 100vw;
  vertical-align: middle;
  max-height: calc(90vh - 1em - 15px);
  }


  {
    box-sizing: border-box
  }

  .mySlides0,
  .mySlides1,
  .mySlides2,
  .mySlides3,
  .mySlides4,
  .mySlides5 {
    display: none
  }


/* Slideshow container */
  .slideshow-container {
  position: relative;
  }


/* ---- NEXT AND PREVIOUS BUTONS ---- */

  .prev,
  .next {
  cursor: pointer;
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  color: white;
  font-weight: normal;
  font-size: 18px;
  user-select: none;
  }

/* Position the "next button" to the right */
  .next {
  /*right: 0;*/
  width: 50%;
  }


/* On hover, add a grey background color */
  .prev:hover,
  .next:hover {}


/* Fading animation */
  .fade {
  animation-name: fade;
  animation-duration: .0s;
  }

  @keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
  }


/* ---- IMAGES PAGE ACCUEIL ---- */

  .container {
  /*position: absolute;*/
  margin: auto;
  max-width: 1280px;
  left: 0;
  right: 0;
  }

    .contactform {
    font-family: "HuttemonoV2-Regular";
    font-size: 16px;
    line-height: 18px;
    font-weight: normal;
    z-index: 1000000;
    position: sticky;
    top: 31px;
    padding-top: calc(15vh - 190px);
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 13px;
    background-color: transparent;
  }

  .projects {
  margin: auto;
  position: relative;
  top: 30px;
  width: calc(100% - 80px);
  }

  .row {
  position: relative;
  width: 100%;
  height: 600px;
  }
  
  .row .left {
  position: relative;
  float: left;
  width: 50%;
  height: 100%;
  }
  
  .row .right {
  position: relative;
  float: right;
  width: 50%;
  height: 100%;
  }

  .center {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  }

  .center-bottom {
  position: absolute;
  width: auto;
  height: 100%;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  }

  .center-top {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  }

  .center-left {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  }

.center-right {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}
}


/* --------------- MOINS DE 950 PX ---------------- */


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

/* ---- HEADER ---- */

  header {  
  z-index: 10;
  top: 0;
  position: sticky;
  background-color: white;
  height: calc(20px + 1.3em);
  display: grid;
  grid-template-rows: 9px 1.3em 5px;
  grid-template-columns: 10px 2fr auto 2fr 10px;
  z-index: 1000;
  font-family: "HuttemonoV2-Regular";
  font-weight: normal;
  margin: 0px;
  font-size: 0.8em;
  }

  .nom {
  z-index: 1000;
  margin: 0;
  font-size: 0.8em;
  grid-row: 2/3;
  grid-column: 2/3;
  text-align: left;
  }

  .about {
  z-index: 1000;
  margin: 0;
  font-size: 0.8em;
  grid-row: 2/3;
  grid-column: 3/4;
  text-align: center;
  }

  .contact {
  z-index: 1000;
  margin: 0;
  font-size: 0.8em;
  grid-row: 2/3;
  grid-column: 4/5;
  text-align: right;
  }


/* ---- TEXTES ---- */

  .text-about {
  grid-column-start:1;
  grid-column-end: 2;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  margin-top: 30px;
  }

  .text-projet {
  grid-column-start:1;
  grid-column-end: 3;
  padding-left: 40px;
  padding-right: 40px;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  margin-top: 40px;
  margin-bottom: 40px;
  }


/* ---- IMAGES PAGES PROJETS ---- */

  .references {
  grid-template-columns: 10 2fr auto 2fr 10;
  grid-column-gap: 0.25em;
  display: grid;
  grid-auto-rows: auto;
  grid-row-gap: 0;
  margin-top: 30px;
  }

  .icono {
  grid-column: 2/3;
  texte-align: center;
  }

  .icono img {
  max-width: 70vw;
  vertical-align: middle;
  max-height: calc(85vh - 1em - 15px);
  }

  img {
  max-width: calc(100vw - 20px);
  }

  .mySlides0,
  .mySlides1,
  .mySlides2,
  .mySlides3,
  .mySlides4,
  .mySlides5 {
    display: none
  }

  /* Slideshow container */
  .slideshow-container {
  position: relative;
  }


  /* ---- NEXT AND PREVIOUS BUTONS ---- */

  .prev,
  .next {
  cursor: pointer;
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  color: white;
  font-weight: normal;
  font-size: 18px;
  user-select: none;
  }


/* Position the "next button" to the right */
  .next {
  right: 0;
  }


/* Fading animation */
  .fade {
  animation-name: fade;
  animation-duration: .0s;
  }

  @keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
  }


  /* ---- IMAGES PAGE ACCUEIL ---- */

  .container {
  /*position: absolute;*/
  margin: auto;
  max-width: 1280px;
  left: 0;
  right: 0; 
  }

    .contactform {
    font-family: "HuttemonoV2-Regular";
    font-size: 14px;
    line-height: 16px;
    font-weight: normal;
    z-index: 1000000;
    position: sticky;
    top: 31px;
    padding-top: calc(15vh - 190px);
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 13px;
    background-color: transparent;
  }

  .projects {
  margin: auto;
  position: relative;
  top: 30px;
  width: calc(100% - 80px);
  }

  /*.projects img {
  max-width: 70vw;
  vertical-align: middle;
  max-height: calc(70vh - 1em - 15px);
  }*/

  .row {
  position: relative;
  width: 100%;
  height: 600px;
  }

  .row .left {
  position: relative;
  width: 100%;
  height: 600px;
  }

  .row .right {
  position: relative;
  width: 100%;
  height: 600px;
  }

  .center {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  }

  .center-bottom {
  position: absolute;
  width: auto;
  height: 100%;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  }

  .center-top {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  }

  .center-left {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  }

.center-right {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

}


/* --------------- MOINS DE 540 PX ---------------- */


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


/* ---- HEADER ---- */

   header {
  grid-template-columns: 10px 2fr auto 2fr 10px;
  font-size: 0.8em;
  font-weight: normal;
  }


 /* ---- NEXT AND PREVIOUS BUTONS ---- */

  .prev,
  .next {
  cursor: pointer;
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  color: blue;
  opacity: 35%;
  font-weight: normal;
  font-size: 30px;
  user-select: none;
}

/* Fading animation */
  .fade {
  animation-name: fade;
  animation-duration: .0s;
  }

  @keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
  }


/* ---- IMAGES PAGE ACCUEIL ---- */


  .row {
  position: relative;
  width: 100%;
  height: 600px;
  }

  .row .left {
  position: relative;
  width: 100%;
  height: 600px;
  }

  .row .right {
  position: relative;
  width: 100%;
  height: 600px;
  }

  .center {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  }

  .center-bottom {
  position: absolute;
  width: auto;
  height: 100%;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  }

  .center-top {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  }

  .center-left {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  }

.center-right {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

}
