@font-face {
    font-family: 'Baskerville';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/LibreBaskerville-Regular.ttf) format('truetype');
  }
  
  @font-face {
    font-family: 'Xanh';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/XanhMono-Regular.ttf) format('truetype');
  }

  @font-face {
    font-family: 'Manifont';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/manifont-grotesk_book.ttf) format('truetype');
  }

  @font-face {
    font-family: 'Steps';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/Steps-Mono.otf) format('opentype');
  }

  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    padding: 0;
    background-color: white;
  
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    height: 100%;
    cursor: url('img/handwriting.cur'), auto;
    overflow: auto;

  }
  

  

#headerfix {
  position: fixed;
  background-color: white;
  width:100%;
  margin:0;
  padding:0;
  z-index: 1000;

}
#headerfix a {
  font-size:15px;
  font-family: 'Baskerville', serif;
  color: rgba(0,0,0,0.8);
  text-decoration: underline;
  text-decoration-style: dashed;
  

}

#headerfix a:hover {
  color: #9AD8C2;
}

#menu {

 padding-left:5%;
 padding-top:20px;



 z-index: 1000;


 }

 #titre {
  color: #A1A4C2;
  font-family: 'Manifont', sans-serif;
  font-size:20px;
  margin:0;
  padding-top:30px;
  padding-bottom:4px;
}

#worklist {
  display: flex;
  width: 70%;
  align-items: flex-start;
}

#wtitres {
  flex:2; 
}

#wtitres a, #wmedium a, #wdate a  {
 
  display: block;
  font-family: 'Steps', sans-serif;
  color: rgba(0,0,0,0.8);
  font-size:15px;
  text-decoration: none;
  margin-bottom: 15px;
 
}

#wtitres a:hover {
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 4px;
}

#wmedium, #wdate {
  flex:1;
}

.container {
   
    display: inline-block;
    width: 93%;
    margin: 0 auto;
padding-left:5%;
padding-right:2%;
    margin-top:0%; 
    overflow: auto;
    padding-top:50px;
   
 
    
  }
  
  

.worktitle {
  padding:0;
  margin:0;
  
  margin-bottom:3px;
  font-family: 'Xanh', serif;
    color: #9AD8C2;
    font-size: 22px;
    text-transform: uppercase;
    scroll-margin-top: 600px;
   
}

.corpstextea  {
  font-family: "Manifont", sans-serif;
  font-size: 12px;
  color: rgba(0,0,0,0.5);
  text-decoration: underline;
  margin:0;
  padding:0;
}

.corpstexte  {
  font-family: "Manifont", sans-serif;
  font-size: 12px;
  color: rgba(0,0,0,0.8);
  text-decoration: none;
  margin-top:2px;
  padding:0;
  margin-bottom: 100px;
  width:45%;
}

.images {

  max-width: 70%;
  max-height:800px;
 height:auto;
  
}


/* Slideshow container */
.slideshow-container {
  position: relative;
  max-width: 70%; /* Adjust based on your needs */

 
}

/* Hide all images by default */
.slide {
  display: none;
  width: 100%;
  height: auto;
 

}

/* Show the first image initially */
.slide:first-child {
  display: block;
}

/* Next & previous buttons */
.prev, .next {
  font-family: 'Manifont', sans-serif;
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #A1A4C2;
  font-weight: normal;
  font-size: 40px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  opacity: 0;  /* Initially hidden */
  transition: opacity 0.3s ease; /* Smooth fade in/out */
}
/* Show the buttons when hovering over the slideshow container */
.slideshow-container:hover .prev, 
.slideshow-container:hover .next {
  opacity: 1;  /* Visible when hovering */
}

/* Position the "next" button to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


.prev:hover, .next:hover {
  color: #A1A4C2;
}


#backToTopBtn {
  position: fixed; /* Fixed position at the bottom-right */
  bottom: 1%;
  left: 1%;
  z-index: 99;

  text-decoration: none; /* Remove underline */
  border: none;
  outline: none;

  font-family: 'Manifont', sans-serif;
  cursor: pointer;
  
  color: #A1A4C2;
  font-weight: normal;
  font-size: 40px;

  color: rgba(0,0,0,0.8);
  cursor: pointer;
  
  
}


@media only screen and (max-width: 768px) {
  
  #headerfix a {
    position: static;
    font-size:25px;
    display: block;
    font-family: 'Baskerville', serif;
    color: rgba(0,0,0,0.8);
    text-decoration: underline;
    text-decoration-style: dashed;
   
  
  }

  #headerfix {
    position: static;
  }

  #menu {
    position: static;
   
    padding-left:0%;
 padding-top:0px;

  }

  #worklist{
    padding-left: 2%;
    width:96%;
  }

  #titre {

    padding-left:2%;
  }

  #wtitres a, #wmedium a, #wdate a  {
 
    display: block;
    font-family: 'Steps', sans-serif;
    color: rgba(0,0,0,0.8);
    font-size:15px;
    text-decoration: none;
    margin-bottom: 15px;
    
    
   
  }
 #wdate a {
    text-align: right;
    
  }
  #wmedium, #wdate {
    padding-left:2%;
  }

  #wtitres {
    flex: 1;
    /* Optional: Set a max width to make sure titles don’t overflow too much */
    max-width: 55%; /* Adjust this value based on your design */
  }

  #wtitres  a{
    white-space: nowrap; /* Prevents the text from wrapping to the next line */
    overflow: hidden; /* Ensures that the overflowed text is hidden */
    text-overflow: ellipsis;
  width:100%;
  }

  .container {
   
    display: inline-block;
    width: 98%;
   
    margin: 0;
    padding-left:1%;
   

 
    
  }

  .images {

    max-width: 100%;
    max-height:800px;
  
    
  }
  
  
  /* Slideshow container */
  .slideshow-container {
 
    max-width: 100%; /* Adjust based on your needs */
  
   
  }

  .corpstexte  {
   
    margin-bottom: 20px;

  }
  
  .worktitle {
    
      font-size: 15px;
    
     
  }


}