@charset "utf-8";
/* Simplify width and height calculations */
html {
  box-sizing: border-box;
  scroll-behavior: smooth; /*Pour une transition douce lors du clic sur la fleche en mobile*/
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
/************* Style généraux *********************************************************************************************************/
body {
  display: flex;
  margin: 0;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-size: 15px;    
  background-color: #1a1a1a;
  /*min-height: 100%;*/
  min-height: 100vh;
  flex-direction: column;
}
::-webkit-scrollbar {
width: 15px;
}
::-webkit-scrollbar-track {
background: #121212; 
}
::-webkit-scrollbar-thumb {
  background: #4f4f4f; 
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f3f; 
}
#principale{
  margin-right: 60px;
  margin-left: 60px;
  flex: 1 0 auto;
}
.preload{
display: none;
}
p{
  font-weight: 300;
  font-size: 15px;
  margin-top: 0;
  color: white;
}
a{
  color: #fb9709;
  text-decoration: none;
  font-weight: 300;
  transition:all 0.2s ease; 
}
a:hover{
  color: white;
  transition:all 0.2s ease; 
}
h1 {   
  font-size: 23px; 
  text-transform: uppercase;
  height: inherit;
  font-weight: 600; 
  color: white;
}
h2{
  margin: 15px 0 0 0;
  font-size: 20px; 
  text-transform: uppercase;
  height: inherit;
  font-weight: 600; 
  color: white;
}
li{
  list-style-type:none;
  padding: 0;
  margin: 0;
  padding-left: 6px;
  margin-bottom: -15px;
}
li::before{
  content: "▪";
  padding-right: 7px;
  /*color: green;*/
}
.header{
  height: 80px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
.headerTitle{
  height: calc(80px - 15px - 15px);
  margin: 15px auto 15px 35px;
  width: 200px;
  background: linear-gradient(to left, white 50%, #fb9709 50%);
  background-size: 200% 100%;
  background-position:right bottom;
  transition:all 0.3s ease; 
}
.headerTitle:hover{
  background: linear-gradient(to left, white 50%, #fb9709 50%);
  background-size: 200% 100%;
  background-position:left bottom;
  transition:all 0.3s ease; 
}
.headerTitle p{
  font-family: 'Raleway', sans-serif;
  color: #1a1a1a;
  font-weight: 700;
  margin: 0;
  padding: 8px;
  font-size: 45px;
  line-height:  34px;
}
.linkbox{
  position: absolute;
  display: grid;
  grid-template-columns: auto auto auto auto auto auto; 
  grid-column-gap: 0px; 
  top: 25px;
  right: 28px;
  left: auto;
} 
.LinkboxTitle{
  margin: auto;
  font-weight: 600;
  text-align: center;  
  color: white;
  font-size: 20px; 
  text-transform: uppercase;
  height: inherit;
  white-space: nowrap;
  padding: 2px 15px 1px 15px;
  line-height: 25px;
  transition: 0.3s;
}
.LinkboxTitle:hover{
  color: #fb9709;  
  transition: 0.3s; 
}
#menulink, #navlinks {
    display: none;
}
hr {
  height: 1px;
  border-width: 0px;
  background-color: white;
}
#contentIndex{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;   
  grid-column-gap: 4%; 
  margin: 120px 0 0 0;
  justify-content: center;    
}
#contentIndex a{
  height: calc(100vh - (190px));
  text-align: right;
  width: inherit;
  transition: 2s;
}
#contentIndex a:hover {
  background-size: auto 105%;
  transition: 2s ease;
}
#left, #middle, #right{
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center; /* Center the image */  
}
#contentIndex div{
  position: relative;
  height: inherit;
}
.text{
  position: absolute;
  bottom: 25px;
  width: 150px;
  font-size: 20px;
  line-height: 19px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 32px 8px 32px;
  margin: 0 auto 0 auto;
  text-align: center;
  left: 0;
  right: 0;
  background: linear-gradient(to right, rgba(0,0,0,0) 50%, #1a1a1a 50%);
  background-size: 200% 100%;
  background-position:left bottom;
  transition:all .3s ease;
  border-color: #1a1a1a;
  border-width: 1px;
  border-style: solid;
  color: #1a1a1a;
}
#contentIndex a:hover .text{
  background: linear-gradient(to right, rgba(0,0,0,0) 50%, #1a1a1a 50%);
  background-size: 200% 100%;
  background-position:right bottom;
  transition:all .3s ease;
  color: white;
}
.Gallery{
  margin-top: 120px;
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr 1fr;   
  grid-column-gap: .5em; 
  grid-row-gap: .5em;  
  margin-bottom: .5em;
}
.containergallery{
  position: relative;
}
.Gallery img{
  width: 100%;
  display: block;
}
.galleryMainTitle{
  position: absolute;
  bottom: 10px;
  left: 0px;
  right: 0;
  width: 70%;
  font-size: 20px;
  line-height: 17px;
  font-weight: 600;
  padding: 6px 10px 6px 10px;
  text-align: center; 
  text-transform: uppercase;
  pointer-events: none;
  margin: 0 auto 0 auto;
  background: linear-gradient(to right, rgba(0,0,0,0) 50%, #1a1a1a 50%);
  background-size: 200% 100%;
  background-position:left bottom;
  transition:all .3s ease;
  border-color: #1a1a1a;
  border-width: 1px;
  border-style: solid;
  color: #1a1a1a;
  transition-property: background, background-color;    /*pour inverse de celui fait dans hover*/
  transition-delay: 0, 0s;
}

.containergallery:hover .galleryMainTitle{
  background-attachment: fixed;
  transition: 0.3s;
  color: white;
  background: linear-gradient(to right, rgba(0,0,0,0) 50%, #1a1a1a 50%);
  background-size: 200% 100%;
  background-position:right bottom;
  transition:all .3s ease;
  background-color: #1a1a1a;
  /*suite pour contrer l'arrondissement des % en pixel de chrome - transition linéaire durée 0.3s puis remplissage du BG avec la même couleur au bout de 0.18s 
  pour éviter les ligne d'image à travers*/
  transition-property: background, background-color;    
  transition-delay: 0s, 0.18s;
}

.Gallery a{
  margin: 0;
}
.pageTitle{
  margin: 120px 0 0 0;
}
#about{
  margin-top: 120px; 
  display: grid; 
  grid-template-columns: auto auto; 
  grid-column-gap: 30px;
}
.TextPage{
  margin: 0 0 20px 0; 
  height: content;
}
.TextPage2{
  margin: 30px 0 30px 0; 
  height: content;
}
#aboutImage{
  height: auto; 
  width: 100%; 
  max-width: 300px; 
  padding: 10px; 
  margin: 0 0 0 auto; 
  background-color: #fb9709;
}
.line{
  height: 1px; 
  width:100%;
  margin: 0;
}
.Page{
  margin-top: 10px;
    transition: 0.3s;
}
.Page img{
  transition: 0.3s;
}
.Page img:hover {
  opacity: 0.7;
  transition: 0.3s;
}
.Previous{
  display: grid;
  grid-template-columns: auto auto;
  width: 100px;
  margin: 30px 0 0px 0;
}
.Previous svg{
  padding: 0;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  fill: white;    
  transition:all 0.4s ease;
}
.Previous p{
  color: white;
  font-weight: 600;
  margin: auto 10px auto 10px;
}
.Next{
  margin: -40px 15px 0 0;
  float: right;
}
.Next svg{
  transform: rotate(180deg);
}
.Previous:hover svg{
  fill: #fb9709;
  transition:all 0.4s ease;
}
.publicationlink{
  font-size: 20px; 
  text-transform: uppercase;
  height: inherit;
  font-weight: 600; 
  color: white;
  transition: 0.3s; 
}
.publicationlink a:hover{
  color: #fb9709;
  transition: 0.3s; 
}
#layoutPublication{
  display: grid; 
  grid-template-columns: auto min-content; 
  grid-column-gap: 10px;
  margin-left: 25px;
  margin-right: 50px;
}
.publication{
  margin-left: 20px;
}
.firstPage{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  grid-template-rows: min-content;
  grid-column-gap: 10px;   
  grid-row-gap: 4px;
  margin-top: -70px;
}
div.firstPage {
  height: min-content;  
}
.firstPage img{
  max-height: 190px;
  height: 100%; 
  margin: 0; 
}
/*.prints2{   
  display: grid;
  grid-template-columns: min-content auto;
  grid-column-gap: 1.5em;
  margin-top: 20px;
}*/
.item1 { grid-area: imgMain; }
.item2 { grid-area: text; }
.item3 { grid-area: download; }
.item4 { grid-area: img1; }
.item5 { grid-area: img2; }
.item6 { grid-area: img3; }
.item7 { grid-area: img4; }
.item8 { grid-area: img5; }

.prints2{
  display: grid;
  grid-template-areas:
    'imgMain text text text text text text'
    'imgMain img1 img2 img3 img4 img5 download';
  gap: 10px;
  grid-template-columns: 288px repeat(6, 157px);
  width: auto;
  margin-bottom: 10px;
}
.prints2 img{
  transition: 0.3s;
  max-width: 287px;
}
.prints2 img:hover{
  transition: 0.3s;
  opacity: 0.7;
}
.prints2 h2{
  margin: 0;
}
.twoelements{
  grid-template-areas:
    'imgMain text text text text text text'
    'imgMain img1 download img2 img3 img4 img5';
}
.DLIMG img{
  max-width: 157px; 
  margin: 0;
  transition: 0.3s;
}
.GalleryPrints img:hover{
  opacity: 0.7;
  transition: 0.3s;
}
.download{
  background-color: #3f3f3f;
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  transition:all .3s ease;
  height: 105px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.download:hover{
  background-color: #fb9709;
  transition:all .3s ease;
  color: #1a1a1a;
}
/************* Style Pied page *********************************************************************************************************/
footer{
 /* position: static;*/
  left: 0;
  bottom: 0;
  width: 100%;
  margin: 10px 0 0 0;
  height: 50px;
  flex-shrink: 0;
}
footer p{
  font-size: 15px;
  line-height: 15px;
  margin: 18px auto 0 35px;
  text-transform: uppercase;
  font-weight: 500;
}
/***************************************************************************************************************************************/
/************** Style Mobile  ************************************************************************************************/
/***************************************************************************************************************************************/
@media screen and (max-width: 900px){ /*OLD : 900px because of the new page 3D printing*/
  #principale{
    margin-right: 20px;
    margin-left: 20px;
  }
  .linkbox{
    display: none;
  }
  .headerTitle{
    margin-left: 15px;
    width: 200px;
    background: white; 
  }
  #menulink {
    position: absolute;
    top: 21px;
    right: 20px;
    margin:0 auto 0 6px;
    padding-top: 0%;
    display: block;
    height: max-content;
    max-width: 30px;
  }
  #menulink a{
    color: white;
  }
  #navlinks {
    list-style-type: none;
    background-color: #1a1a1a;
    position: absolute;
    width: 100%;
    padding: 0;
  }
  #navlinks.displayed {
    z-index: 1;
    opacity: 1;
    position: absolute;
    top: 100px;
    overflow: hidden;
  }
  #navlinks.start {
    display: none;
  }
  #navlinks.collapsed{
    top: -17em;
    opacity: 1; 
  }
  #navlinks li{        
    margin-bottom: 3vh;
  }
  #navlinks a {
    box-sizing: inherit;
    /*padding-right: 100%;*/
    padding-left: 20px;
    float: none;
    position: static;
    color: #fb9709;
    font-size: 25px;
    font-weight: 500;
    text-transform: uppercase;
  }
  #navlinks a.thispage {
    color:#1a1a1a;
    background-color: white;
  }  
  hr {
    height: 1px;
    border-width: 0px;
    background-color: #fb9709;
  }  
  #contentIndex{
    display: grid;
    grid-template-columns: 85vw;   
    grid-template-rows: 1fr 1fr 1fr;  
    grid-column-gap: 0;  
    grid-row-gap: 20px; 
    margin: 120px 0 0 0;
    justify-content: center;    
  }
  #contentIndex a{
    height: calc((100vh - (230px))/3);
    text-align: right;
    width: inherit;
    transition: 2s;
  }
  #contentIndex a:hover {
    background-size: 100% auto;
    transition: 2s ease;
  }
  #contentIndex a:hover .text{ 
    background-size: 100% auto;
    background: rgba(255, 255, 255, .7);
  }
  #left, #middle, #right{
    background-size: 100% auto;
  }
  .text{
    bottom: 10px;
    border-style: none;
    color: black;
    background: rgba(255, 255, 255, .7);
  }    
  .galleryMainTitle{
    font-size: 14px;
    color: #1A1A1A;
    margin: 0 auto 0 auto;
    background: rgba(255, 255, 255, .7);
    border-style: none;
    padding: 4px 10px 4px 10px;
  }
  .containergallery:hover .galleryMainTitle{
    color: #1A1A1A;
    background: rgba(255, 255, 255, .7);
  }  
  .pageTitle{
    margin: 100px 0 0 0;
  }
  #layoutPublication{
    display: grid; 
    grid-template-columns: auto; 
    grid-template-rows: auto min-content; 
    grid-column-gap: 10px;
    margin: 0px;
  }
  .firstPage{
    margin-top: 0;
  }
  .firstPage img{
    height: auto;
    max-width: 100%;
  }
  .publicationlink{
    font-size: 15px; 
    font-weight: 500; 
  }
  .publication{
    margin-left: 10px;
  }
  #about{
    margin-top: 100px; 
    display: block; 
    grid-template-columns: auto auto; 
    grid-column-gap: 30px;
  }
  #aboutImage{
    width: 50vw; 
    margin: 0 auto 0 calc(50% - 25vw); 
  }  
  .line{
    height: 1px; 
    width:calc(100vw - 40px);
    margin: 0;
  }
  footer{
    margin-top: 20px;
  }
  footer p{
    margin: auto;
    text-align: center;
  }
}

@media screen and (max-width: 1379px){
    .prints2{
      grid-template-columns: 259px repeat(6, 130px);
    }  
    .prints2 img {
      max-width: 260px;
    }
    .DLIMG img{
      max-width: 130px; 
    }
    .download{
      height: 87px;
    }
}
@media screen and (max-width: 1270px){
    .Gallery{
        grid-template-columns: 1fr 1fr 1fr 1fr;   
    }
    #layoutPublication{
      margin-right: 0px;
    }
    .firstPage{
      margin-top: 0px;
    }
}
@media screen and (max-width: 1195px){
    .prints2{
      grid-template-areas:
      'imgMain imgMain text text text text'
      'img1 img2 img3 img4 img5 download';
      grid-template-columns: repeat(6, 130px);
    }
    .DLIMG img{
      max-width: 130px; 
    }
    .twoelements{
      grid-template-areas:
      'imgMain imgMain text text text text'
      'img1 download img2 img3 img4 img5 ';
    }
}
@media screen and (max-width: 1000px){
    .Gallery{
        grid-template-columns: 1fr 1fr 1fr;   
    }
}
@media screen and (max-width: 900px){
    .prints2{
      grid-template-areas:
      "text text text text text"
      "imgMain imgMain imgMain imgMain imgMain"
      "img1 img2 img3 img4 img5"
      "download download download download download";
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr ;
    }
    .prints2 img {
      max-width: 100%;
    }
    /*.item3, .item4, .item5, .item6, .item7{
      display: none;
    }*/
    .prints2 h2{
      color: #fb9709;
    }
}
@media screen and (max-width: 700px){
    .Gallery{
        grid-template-columns: 1fr 1fr ;   
    }
}
@media screen and (max-width: 340px){
    .Gallery{
        grid-template-columns: 1fr;   
    }
}


