html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, hgroup, menu, nav, section {
	display: block;
}
@font-face {
  font-family: 'lunchtype22regular';
  src:
       url('./fonts/lunchtype22-regular-webfont.woff2') format('woff2'),
       url('./fonts/lunchtype22-regular-webfont.woff') format('woff');

  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'lunchtype22medium';

  src:
       url('./fonts/lunchtype22-medium-webfont.woff2') format('woff2'),
       url('./fonts/lunchtype22-medium-webfont.woff') format('woff');

  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'lunchtype22light';
  src: 
       url('./fonts/lunchtype22-light-webfont.woff2') format('woff2'),
       url('./fonts/lunchtype22-light-webfont.woff') format('woff');

  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'SomeTimes-serifsans';
  src: 
       url('./fonts/SomeTimes-serifsans.woff') format('woff');

  font-weight: normal;
  font-style: normal;

}


body{
  font-family: 'lunchtype22regular', serif;
  overflow-x: hidden;
  scrollbar-width: none;
}
body::-webkit-scrollbar {
  width: 0px;
}



a{
  text-decoration: none;
  color: black;

}
#about{
  margin-left: 20px;
}
.annee{
font-size: 0.7em;
}

.box{
  height: 6vh;
  width: 10vw;
}
.nodisplay{
  display: none;
}
.display {
  display: block;

}



/* .carousel-cell img {
  display: block;
  max-height: 100%;
} */

footer{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
 margin: 1vw;
  position: fixed;
  font-size: 0.7em;
  width: 97.5vw ;
  height: 1vh;
  bottom: 0px;
  
  
}
footer *{
  color : rgb(100, 100, 100);
}

header{
  font-family: 'SomeTimes-serifsans', 'lunchtype22regular';
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.5em;
  width: 98.5%;
  height: 15vh;
  position: sticky;
  top:0;

  z-index: 100;
}
#logo{
  font-size: 1.7em;
}
#about{
  position: relative;
  z-index: 100;
  font-size: 1em;
  color: black;
  
}

#sousheader{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 100;
}
#catProjet {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  
}

#imgcover{

  align-self: center;
  width: 100vw;
  height: 75vh;
  padding-bottom: 30px;
  margin-bottom: 10vh;
}
#cover{
  visibility: hidden;
  height: 100%;
  width: auto;
}

#cover img{
  max-height: 75vh;
  width: auto;
}

#main {

  height: 60vh;
}
#menu{
  height: 100%;
  width: 82vw;
  
  margin: 5vh;
  grid-column: 1/2;
  display: grid;
  font-size: 0.8em;
  grid-template-columns: repeat(auto-fill, minmax(10vw, 1fr));
  column-gap: 10px;
  row-gap: 15px;
  
}
#preview {
  position: fixed;
  top: 0px;
  right: 0px;
  width: 17vw;
  height: 95vh;
  z-index: 0;
  
}
.preview {
  top: 15vh;
  font-size: 0.8em;
  position: absolute;
  visibility: hidden;
  opacity: 1;
  filter: blur(0px);
}
.preview * {
  margin-top: 15px;
}
.preview img{
  width: 80%;
}
#projet{
  position: absolute;
  top: 10vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
  padding-bottom: 7vh;
}
#projet .titre{
  position: sticky;
  font-family: 'SomeTimes-serifsans';
  font-size: clamp(1.5rem, 1vh, 2rem);
  padding: 1em;
  padding-top: 0;
  grid-row: 1/2;
  grid-column: 1/2;
  top: -19px;

}

#content {
  position: relative;
  display: grid;
  grid-template-columns: 47vw 47vw;
  grid-template-rows: 40px repeat(auto-fit, minmax(400px, auto));

  row-gap: 50px;
  column-gap: 50px;
  height: auto;
  padding-bottom: 25px;
} 

#projet #content .text{
  font-size: 1em;
  padding: 0 2vw 15px 4vw;
  
 width: clamp(500px, 45vw, 700px);
  overflow-x: hidden;
  height: 50vh;
  scrollbar-width:none;
  box-sizing: border-box;


}
.text li{
  list-style: none;
}
/* custom scrollbar */
::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #9b9b9b;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #9b9b9b;
}
#textBox{
  
  overflow-y: scroll;
  overflow-x: hidden;
  grid-column: 1/2;
  grid-row: 1/3;
  height: 58vh;
  align-self: end;
  scrollbar-width: none;


  display: flex;
  flex-direction: column;
   align-items: flex-start;
 

}
#_presentation{
 
  grid-row: 1/3;
  grid-column: 2/3;
  place-self: center;
  display: flex;
  flex-direction: column;

}

#_presentation img{
  max-height: 60vh;
  max-width: 37vw;
  justify-self: center;
 
}


.text p {
  line-height: 1.2em;
  margin-top: 1em;
  z-index: 0;
  padding-bottom: 20px;
}
.text p:last-of-type{
  padding-bottom: 50px;
}

#gradient{
  grid-row: 2/3;
  grid-column: 1/2;
  width: 100%;
  height: 20px;
  opacity: 1;
  z-index: 3;
  align-self: end;

}
#projet #content .slider {
  place-self: center;
  justify-self: center;
  display: flex;
  align-content: center;
  justify-content: center;
  flex-direction: column;

  width: 35vw;
  height: auto;
 
  /* position: relative; */
}

.galerie-info {
  height: 20px;
  font-size: 0.8em;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  margin-top: 20px;
}

.galerie-info .infos{
  width: auto;
  display: flex;
  flex-direction: row;
  height: 100%;
  justify-content: flex-end;

}
.infos p{
  margin-left: 10px ;
}

.active img{
  width: 100%;
  height: auto;
}

.carousel-cell{
  width: 100%; /* full width */

  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-around;
  
  
}
.carousel-cell img{
  max-width: 100%;
  
}
.caroussel.is-fullscreen{
 z-index: 300;

}
.carousel-cell.is-selected{
  width: 100%; /* full width */
  height: 100%; 

  position: relative;
 
}
.caroussel.is-fullscreen img {
  height: 90vh;
  width: auto;
}

.caroussel.is-selected{
  display: flex;
  flex-direction: column;
  justify-content: center;
  
}

.caroussel {

  max-height: 100%;
  visibility: hidden;
} 








#menuType{
  position: absolute;
  width: 30vw;
  height: 40vh;
  top: 10vh;
  right: 5px;



  
}

.men{
  height: 100%;
  flex-direction: column;
  justify-content: space-between;

}


#shuffle{
  position: fixed;
  /* border: solid 1.2px black; */
  cursor: pointer;
  width: 150px;
  height: 150px;
  bottom: 2vh;
  left: 45vw;
  
}
/* #shuffle:hover svg {
 transform: scale(1.5);
} */

#shuffle svg{

  width: 70px;
  height: 70px;
  position: absolute;
  left: 30px;
  top: 30px;

  stroke-dasharray: 90;
  transform: rotate(-90deg);
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

#shuffle:hover svg{
  transform: scale(1.5);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}


/* .scaleup{
  transform: scale(1.5);
  transition: transform 1s;
} */
/* .transition{
  transition: 0.5s ease-in-out;
  stroke-dasharray: 90;
  stroke-dashoffset: -180;

} */

.visible{
  display: flex;
}
.novisible{
  display: none;
}


/* animation  */

.vis {
    animation: slidein 0.4s;
}

@keyframes slidein {
  from {
  opacity: 0;
  filter: blur(20px);
  }

  to {
    opacity: 1;
    filter: blur(0px);
  }
}

/*//////// about ////////// */

#about-container{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  position: absolute;
  height: 82vh;
  top: 15vh;
  padding:0 1.5vw 0 1.5vw;
  width: 100vw;
  box-sizing: border-box;
}
#about-container a {
  color: #555;
}
#cv{
  width: 50%;
  height: 100%;
  box-sizing: border-box;
  padding: 1vh 1vw 5vh 1vw ;
  
}
#cv h1{
  font-family: 'SomeTimes-serifsans';
  margin-bottom: 3vh;
}
#cv p{
  padding: 1vh 1vw;
}
 #actualite{
  font-size: 1.2rem;
  font-family: 'SomeTimes-serifsans';
  color: rgb(100, 100, 100);
  align-self: self-start;
  padding-left: 3vw;

}
#about-news{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50vw;
  height: 85%;
  overflow-y: scroll;
  scrollbar-width: none;
}
#about-text img{
  max-height: 40%;
}

.nouvelle{
  width: 40vw;
  height: auto;
  padding: 2vmax;
  background-color: white;
  margin: 10px;
  border-radius: 15px;
}

.nouvelle img{
 max-width: 20vw;
height: auto;
}

.nouvelle p {
  margin: 10px;
}

#about-presentation {
  display: flex;
  flex-direction: column;
  width: 50vw;
  height: auto;
  box-sizing: border-box;
  padding: 1vh 1vw 5vh 1vw;
  
}
#about-portrait{
  display: flex;
  flex-direction: column;
  align-items: flex-start;

}

#about-portrait img{
  padding-left: 2vw;
  height: 150px;
  width: auto;
  
  
}

#about-text{
  display: flex;
  flex-direction: column;
  min-width: 400px;
  max-width: 40vw;

}

#about-text p {
 
  padding: 15px;
  margin-top: 10px;
  font-size: clamp(1rem, 1.8vh, 1.7rem);

}

#about-text a {
 
  padding: 15px;
  margin-top: 10px;
  font-size: clamp(1rem, 1.8vh, 1.7rem);

}

#newsContainer{
  height: 100%;
  width: auto;
  overflow-y: scroll;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

}

#loadMoreNews{

  width: 100px;
  height: 40px;
  border-radius: 10px;
  background-color: white;
  border: none;
  opacity: 0;
  /* visibility: hidden; */
  /* animation: appear; */
}
@keyframes appear{
  from {
    visibility: visible;
    opacity: 0;
    filter: blur(20px);
    }
  
    to {
      opacity: 1;
      filter: blur(0px);
    }
}

#loadMoreNews:hover{
  background-color: lightgray;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  body{
   overflow: scroll;
   overflow-x: hidden;
    background-color: rgb(253, 251, 245);
    height: 100vh;
    width: 100%;

  }
#menu .box {
  padding: 10px;
}
#main {
  overflow-y: hidden !important;
  overflow-x: hidden;
  
}
header{
  height: 5vh;
  width: auto;
  position: inherit;  
}

#sousheader{
  width: 95vw;
  left: 5vw;
  align-items: baseline;
  
}
#projet{

  align-items: center;
  width: 100vw;
  height: auto;
  padding-bottom: 5vh;
}
#imgcover{
  height: auto;
  padding-bottom: 20px;
}
#cover img{
  max-height: 100%;
}
#content{
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

#projet .titre{
  padding-bottom: 20px;
}
#projet #content .slider {
  width: 90vw;
  height: auto;
}
.galerie-info {
  margin-top: 15px;
  padding-bottom: 35px;

}
#textBox{
  width: 90vw;
  min-height: auto;
  max-height: 58vh;
  align-self: center;

  
}
#projet #content .text{
  width: 92%;
  font-size: 10.5pt;
}
#projet #content .text p {
  padding-bottom: 10px;
}
#_presentation img{
  max-height: 60vh;
  max-width: 90vw;
  justify-self: center;
 
}
#main{
  height: 80vh;
  width: 100vw;
  overflow-y: scroll;
  overflow-x: hidden;
}
 #menu{
  grid-template-columns: 40vw 40vw;
  column-gap: 15px;
 }
 #menu .box{
   width: 150px;
   height: auto;
 }
 #shuffle{
   display: none;
 }
 #preview{
   display: none;
 }
 footer{
  display: flex;
flex-direction: row;
justify-content: space-between;
margin-left: 2vw;
position: fixed;
font-size: 0.6em;
width: 95vw;
height: 1vh;

bottom: 10px;
 }
#actualite{
  padding-bottom: 20px;
}
#about-news{
  flex-direction: column;
align-items: center;
width: 90vw;
height: 60vh;
}

#newsContainer{
  
  overflow: hidden;
}
.nouvelle{
  width: 100%;
  display: flex;
  flex-direction: column;
}
.nouvelle figure{
  align-self: center;
}
.nouvelle img{
  max-width: 50vw;
}
.nouvelle span{
  padding-left: 10px;
}
.nouvelle h1{
  padding-left: 10px;
}
#about-text{
  min-width: 95vw;
  max-width: 95vw;
}

#about-container{
  flex-direction: column;
  height: auto;
  overflow: hidden;
  padding: 0px;
} 
#about-presentation{
  width: 100vw;
  height: auto;
}
#about-portrait{
  align-items: center;
}
#about-portrait img {
  padding-left: 2vw;
  padding-bottom: 10px;
  height: 30vh;
  width: auto;
}
.flickity-fullscreen-button{
  display: none !important;
}
}

