@font-face {
  font-family: 'Lucida Console';
  src: url('LUCON.TTF');
}

@font-face {
  font-family: 'Industria';
  src: url('Industria_Solid.ttf');
}

@font-face {
  font-family: 'worksans';
  src: url('work-sans.medium.ttf');
}

@font-face {
  font-family: 'Days';
  src: url('Days.ttf');
}

@font-face {
  font-family: 'Lato';
  src : url('lato.semibold.ttf')
}


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%;
  font: inherit;
  vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

aside, figcaption, figure,
header, nav {
  display: block;
}

body {
  line-height: 1.2em;
  background-color: #f5f5f5;  
}


body#index {
  line-height: 1;
  /* background-color: white; */
  background-image : url("head.png");
  background-size : cover;
  background-repeat: no-repeat;
}


::selection {
  color:white;
  background-color: black;
}


::moz-selection {
  color: white;
  background-color: black;
}


ol, ul {
  list-style: none;
}

body {
  font-family: "Lucida Console", "Helvetica", 'worksans', arial, sans-serif;
  font-weight: 400;
  padding: 2em;
}

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

strong {
  font-weight: 500;
}

header {
  width: 100%;
  margin-bottom: 5em;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
}


h1 {
  font-weight: bold;
  font-size: 24px;
}

h2 {
  font-family: "Lucida Console", 'worksans', sans-serif;
  margin-bottom: 1.5em;
  font-weight : bold; 
}

h3, h4 {
  font-family: "Lucida Console", 'worksans', sans-serif;
  font-weight: bold;
  font-size: large;
  margin-bottom: 1em;
  text-align: left;
}

h5 {
  font-family: "Lucida Console", 'worksans', sans-serif;
  font-weight: normal;
  font-size: normal;
  margin-top: -1em;
  text-align: left;
}

li {
  padding-bottom: .7em;
}


em {
  font-style: italic;
}


i {
  display: inline-block;
        transform: skew(10deg,0deg);
        -ms-transform: skew(10deg,0deg); /* IE 9 */
        -webkit-transform: skew(10deg,0deg); /* Safari and Chrome */
        -o-transform: skew(10deg,0deg); /* Opera */
        -moz-transform: skew(10deg,0deg); /* Firefox */
}

.header a {
  color: black;
  text-align: center;
  text-decoration: none;
  /* font-size: 18px; */
  /* line-height: 25px;
  border-radius: 4px;
  border : solid black; */
  
}

.header-right a {
  padding: 0px 15px;
}

/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger  */
a.logo {
  font-family: "Lucida Console", "Lato", "Days", "Industria";
  font-size: 1.9em;
  font-weight: bold;
} 

/* Change the background color;on mouse-over */
.header-right a:hover {
  color: rgb(255, 0, 102);
}

/* Style the active/current link*/
.header a.active {
  /* background-color: rgb(0, 0, 0);
  color: white; */
  text-decoration: underline dotted ;
}

.header-right img {
  width : 2.9em;
  height: 2.9em;
  vertical-align: middle;
}

.closebtn {
  display: none;
}

.openbtn {
  display: none;
}

.pagecontainer, .container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

aside {
  vertical-align: baseline;
  max-width: 25vw;
  min-width: 290px;
  /* flex : 1 .5 25vw; */
  margin-right: 2em;
}

aside ul li a {
  display: block;
  line-height: 1.2em;
  padding-right: 5em;
  
}

.sidebar {
  padding-bottom : 10vh;
}

aside a:hover {
  color: rgb(255, 0, 102);
  text-decoration: none;
}

main{
  display: inline-block;
  margin: auto;
  margin-top: 0;
  max-width: 1000px;

}

main#intro {
  /* max-width: 900px;  */
  /* min-width: 680px; */
  width: 850px;
  padding : 35px;
  /* border: solid;
  border-width: 1px; */
  background-color: white;
}

main#about, main#texte {
  width: 850px;
  padding: 35px;

  background-color: white;
 
}

main#texte {
  text-align: justify;
  line-height: 1.5;
}

main#texte h1 {
  line-height: 1;
}

main#texte img{
  width: 50%;
}
 
main#texte a:hover {
  color: rgb(255, 0, 102);

}

main#works {
  max-width: 1400px;
}

.ligne {
  display: flex;
}

.overlook img {
  
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.image {
  height: 100%;
}

/* .overlook img:hover {opacity: 0.3;} */

.overlook:hover img {opacity: 0.3;}

.overlook:hover .txtcontenu {
  opacity: 1;
}

.overlook { 
  width: 34%;
  height: auto;
  padding: 0em;
  position : relative;
}

main#works {
  padding: 1em;
}

.txtcontenu {
  position: absolute;
  top : 50%;
  left:0;
  right:0;
  text-align: center;
  font-size: larger;
  font-weight: bold;
  margin-right: auto;
  margin-left: auto;
  opacity: 0;
  transition: 0.5s;
  z-index:2;
  color: rgb(0, 0, 0);
  font-variant-caps: all-small-caps;
}


.cv-element, .cv-element-bio, .intro {
  margin-bottom: 2em;
}

.intro {
  max-width: 100%;
  text-align: justify;
  line-height: 1.5;
}

#accueil img {
  max-height: 900px;
}

.cv-element ul {
  font-size: .9em;
}

.cv-element li {

  display: grid;
  grid-template-columns: 15% 40% 40% ;
  grid-template-rows: auto;
  column-gap: 1.2em;
  margin-bottom: .6em;
}

.cv-element-bio {
  margin-bottom: 2.6em;
}


ul li [aria-current=page] {
  font-weight: 600;
}

.slideshow {
  width: 90%;
}

.slideshow img, video {
  width: 100%;
} 

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

img#vertical {
  width: 50%;
  margin-left : 25%;
}

.slideshow_carnets {
  background-color: #f5f5f5;
  display: grid;
  grid-template-columns: repeat(auto-fit,  minmax(200px, 1fr));
  grid-gap:10px;
}

.slideshow_carnets {
  background-color: #f5f5f5;
}

.texte {
  text-align: left;
  /* text-justify: distribute;
  text-align-last: left; */
  line-height: 1.5em;
  background-color: white;
  padding : 25px;
  hyphens: none;
}

figcaption {
  text-align: right;
  margin-bottom: 1em;
  font-size: 10px;
}


@media screen and (max-width: 900px) {
 
  .header-right a {
    padding: 0px 0px;
  }

}


