/* ANIMATION */

/* COURBE D'ANIMATION : https://matthewlein.com/ceaser/ */


/* CSS */

@font-face {
    font-family: 'HelveticaNeue-UltraLight';
    src: url('fonts/HelveticaNeue-UltraLight.ttf') format('truetype'), url('fonts/HelveticaNeue-UltraLight.woff') format('woff');
    font-family: 'HelveticaNeue-UltraLightItalic';
    src: url('fonts/HelveticaNeue-UltraLightItalic.ttf') format('truetype'), url('fonts/HelveticaNeue-UltraLightItalic.woff') format('woff');
    /*  https://css-tricks.com/snippets/css/using-font-face/  */
}


/* GENERAL STYLES */

* {
    margin: 0;
    padding: 0;
}

*,
*:before,
*:after {
    box-sizing: border-box;
    /*
    https://css-tricks.com/box-sizing/
    https://www.youtube.com/watch?v=qhiQGPtD1PQ
  */
}


/* GENERAL TAGS */

body {
    font-family: 'HelveticaNeue-UltraLight', sans-serif;
    color: #333;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-weight: normal;
}

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


/* GENERAL CLASSES */

.half-width {
    width: 50%;
    float: left;
}

@media screen and (max-width: 850px){
  .half-width{
    width: 100%;
    float: none;
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-bottom: 20px;
  }
}


/* HEADER */

#menu-burger-container button{
    display: none ;
    z-index: 0 ;
   }

   .c-hamburger--htx button {
    display: none ;
    z-index: 0 ; 
   }


#header{
  width: 100%;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  height: 90px;
  z-index: 9999;
}
#header h1{
  position: absolute;
  top: 43px;
  left: 0;
}
#header h1 a{
  font-size: 24px;
  padding-left: 35px;
  padding-right: 9px;
  padding-bottom: 2px;
  border-bottom: 1px solid grey;
}
#header ul{
  width: 66%;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
  margin-top: 50px;
}
#header ul li{
  list-style-type: none;
  display: inline-block;
  margin-left: 44px;
}
#header ul li a{
  font-size: 20px;
  padding-left: 18px;
  border-left: 1px solid black;
  -webkit-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
  -moz-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
  -o-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
  transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); /* easeOutExpo */
}
#header ul li a:hover, #header ul li a.active{
  opacity: 0.3;
}

#header h1:hover, #header h1.active{
  opacity: 0.6;
}


/* HEADER MOBILE */
@media screen and (max-width: 850px){
  #header{
    height: 60px;
  }
  #header h1{
    top:20px;
    display: block;
    position: relative;
    width: 100%;
    text-align: left;
  }
  #header h1 a{
    padding-left: 10px;
    padding-right: 10px;
  }
  #header ul{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    margin:0;
    background-color: white;
    padding-top: 20%;
  }
  #header ul li{
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
    margin-bottom: 30px;
  }
  #header ul li a{
    border:none;
    margin: 0;
    padding: 0;
    width: 90px;
    margin-left: auto;
    display: block;
    margin-right: auto;
    text-align: left;
    padding-left: 15px;
    border-left: solid 1px black;
  }
  #header #menu-burger-container{
    display: block;
    position: fixed;
    height: 39px;
    width: 39px;
    top: -13px;
    right: 31px;
    z-index: 9999;
   }
   .c-hamburger{
    display: block !important;
    transform: scale(0.4);
    opacity: 0.8;
   }
   .c-hamburger {
    display: none ;
    position: relative ;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 96px;
    height: 96px;
    font-size: 0;
    text-indent: -9999px ;
    -webkit-appearance: none ;
    -moz-appearance: none ;
    appearance: none ;
    box-shadow: none ;
    border-radius: none ;
    border: none ;
    cursor: pointer;
    z-index: 9999;
    background-color: transparent;
    -webkit-transition: background 0.3s;
            transition: background 0.3s;
  }


  .c-hamburger:focus {
    outline: none;
  }

  .c-hamburger span {
    display: block;
    position: absolute;
    top: 44px;
    left: 18px;
    right: 18px;
    height: 8px;
    background: black;
  }

  .c-hamburger span::before,
  .c-hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: black;
    content: "";
  }

  .c-hamburger span::before {
    top: -20px;
  }

  .c-hamburger span::after {
    bottom: -20px;
  }

  .c-hamburger--htx span {
    -webkit-transition: background 0s 0.3s;
            transition: background 0s 0.3s;
  }
  .c-hamburger--htx span::before,
  .c-hamburger--htx span::after {
    -webkit-transition-duration: 0.3s, 0.3s;
            transition-duration: 0.3s, 0.3s;
    -webkit-transition-delay: 0.3s, 0s;
            transition-delay: 0.3s, 0s;
  }

  .c-hamburger--htx span::before {
    -webkit-transition-property: top, -webkit-transform;
            transition-property: top, transform;
  }

  .c-hamburger--htx span::after {
    -webkit-transition-property: bottom, -webkit-transform;
            transition-property: bottom, transform;
  }

  /* active state, i.e. menu open */

  .c-hamburger--htx.is-active span {
    background: none;
  }

  .c-hamburger--htx.is-active span::before {
    top: 0;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
  }

  .c-hamburger--htx.is-active span::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }

  .c-hamburger--htx.is-active span::before,
  .c-hamburger--htx.is-active span::after {
    -webkit-transition-delay: 0s, 0.3s;
            transition-delay: 0s, 0.3s;
  }


}



/* HEADER */

.site-header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background-color: white;
    z-index: 9999;
}

.site-header {
    position: absolute;
    width: 100%;
    bottom: 0;
}

.nav-link-container {
    display: inline-block;
    color: #777;
    transition: color 0.3s ease;
}

.nav-link-container:hover {
    color: #333;
}

.home-link a {
    color: #333;
    font-size: 24px;
    padding-left: 35px;
    padding-right: 9px;
    padding-bottom: 2px;
    border-bottom: 1px solid grey;
    margin-bottom: 20px;
}

.work-link {
    color: ;
    font-size: 20px;
    padding-left: 18px;
    padding-right: 42px;
    margin-bottom: 20px;
    border-left: 1px solid black;
}

.video-link a {
    color: ;
    font-size: 20px;
    padding-left: 18px;
    padding-right: 42px;
    margin-bottom: 20px;
    border-left: 1px solid grey;
}

.about-link a {
    color: ;
    font-size: 20px;
    padding-left: 18px;
    padding-right: 42px;
    margin-bottom: 20px;
    border-left: 1px solid grey;
}

.contact-link a {
    color: ;
    font-size: 20px;
    padding-left: 18px;
    padding-right: 42px;
    margin-bottom: 20px;
    border-left: 1px solid grey;
}

.videos-page .videos-link {
    color: #333;
}


/* CONTENT */

.content-container {
  width: 66%;
  margin: 0 auto;
  margin-top: 158px;
}
@media screen and (max-width: 850px){
  .content-container{
    margin-top: 110px !important;
  }
  .grid-page{
    padding-top: 110px !important;
  }
}

/* PROJECT PAGE */

.project-info-container {
    padding-right: 115px;
    padding-top: 0px;
    padding-left: 20px;
    font-size: 15px;
}

.main-h-container {
    border-bottom: 1px solid grey;
    padding-top: 8px;
    padding-bottom: 22px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 15px;
}

.main-mail-container {
    border-bottom: 1px solid grey;
    padding-top: 8px;
    padding-bottom: 22px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 10px;
}
@media screen and (max-width: 850px){
  .main-mail-container{
    padding-top: 0px;
    padding-bottom: 12px;
  }
  .main-mail-container h1{
    font-size: 17px;
  }
}

.sub-header {
    font-family: 'HelveticaNeue-UltraLightItalic', sans-serif;
    font-size: 14px;
    padding-top: 0px;
    padding-bottom: 40px;
    text-align: center;
}

.sub-header-smaller {
 font-family: 'HelveticaNeue-UltraLightItalic', sans-serif;
 font-size: 12px;
  padding-top: 0px ;
  padding-bottom: 40px;
  text-align: center;

  }

.legend-container {
    padding: 12px 0;
    margin-bottom: 0px;
    text-align: center;
    font-style: italic;
    font-family: 'HelveticaNeue-UltraLightItalic', sans-serif;
    color: #333;
    font-size: 13px;
    margin-top: 25px;
    padding-bottom: 0px;
}

.project-text-container p {
    text-align: justify;
    padding-top: 0px;
}

.square-picture-container img {
    padding-left: 0px;
    width: 100%;
}

.picture-container img {
    width: 100%;
    padding-top: 200px;
    padding-bottom: 0px;
}

@media screen and (max-width: 850px){
  .picture-container img{
    padding-top: 60px !important;
  }

  .last-picture-container img {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    
  }

  .square-picture-container img {
    padding-top: 35px !important;
    padding-bottom: 0px !important;
    margin-bottom: -20px !important;
  }
}

.home-picture-container{
  position: fixed;
  padding-top: 90px;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: url('images/home-1.jpg') bottom center no-repeat transparent;
  background-size: cover;
}
.home-picture-container img {
    width: 100%;
    padding-top: 0px;
    padding-bottom: 0px;
}

.last-picture-container img {
    width: 100%;
    padding-top: 200px;
    padding-bottom: 190px;
}




/* ABOUT 3 TEST */

.cv-container {
  margin: 0 auto;
  width: 66%;
  margin-top: 190px;
  margin-bottom: 150px;
}

.cv-container table{
  width: 100%;
}
.cv-container tr{
  width: 100%;
}
.cv-container td{
  width: 50%;
  font-size: 15px;
  height: 35px;
}
.cv-container tr td:first-child{
  text-align: right;
  padding-right: 115px;
  padding-left: 20px;
}
.cv-container .job-header{
  max-width: 33.3%;
}
.cv-container{
  margin-top: 116px;
  clear: both;
}

/* MOBILE ONLY */
@media screen and (max-width: 850px){
  .cv-container{
    width: 72%;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .cv-container .job-header{
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 30px;
    padding-top: 50px;
  }
  .cv-container td{
    height: auto;
    padding-bottom: 20px;
    vertical-align: top;
  }
  .cv-container tr td:first-child{
    padding-left: 0px;
    padding-right: 0px;
    text-align: left;
  }
}


.date-container {
  padding-right: 115px;
  padding-top: 0px;
 padding-left: 20px ;
 font-size: 15px ; 

}

.job-container {
  padding-right: ;
  padding-top: 0px;
 padding-left: ;
 font-size: 15px ; 

}

.about-text-container p {
  text-align: justify;
  padding-top: 15px;
}

.about-date-container ul {
  padding-top: 0px;
  margin-top: 0px;
  text-align: right;
  padding-right: 0px;
  margin-left: 30px;
  margin-right: 20px;
  margin-bottom: 150px;
}


/*

.about-date-container li:after {
  content: '\2014';
  position: absolute ;
  padding-left: -10px;
  margin-left: -270px;

}

*/


@media screen and (max-width: 850px){
  .about-page .legend-container{
    display: none;
  }
}
.about-job-container ul {
  padding-top: 15px;
  margin-top: 181px;
  text-align: left;
  padding-left: ;
  padding-right: ;
   margin-bottom: 150px;
}

.job-header {
 font-family: 'HelveticaNeue-UltraLightItalic', sans-serif;
 font-size: 13px;
  padding-top: 120px ;
  padding-bottom: 2px;
  border-bottom: solid grey 1px; 
  margin-bottom: 50px;
  margin-right: 20px;
  padding-left: 0px;
  margin-left: 25px;
  

  }



/* ABOUT - END */


/* VIDEO */


/*.video-page .full-width {
  width: 100%;
}

.video-page .half-width {
  width: 50%;
  float: left;
}

.video-page .one-third-width {
  width: 33%; 
  float: left;
}

.video-page .two-third-width {
  width: 33%;
  float: left;
  }

.video-page .three-third-width {
  width: 33%;
  float: left;
  }

  */

.video-info-container {
  padding-right: 115px;
  padding-top: 124px;
  padding-left: 20px ;
  font-size: 15px ; 
}

@media screen and (max-width: 850px){
  .contact-page .video-info-container{
    padding-top: 0px;
  }
  .video-info-container{
    padding-top: 0px;
  }
  .video-container{
    margin-top: 50px !important;
    margin-bottom: -10px !important;
    height: 120px !important;
  }
}
.video-container {
  margin-top: 200px;
  margin-bottom: 200px;
}

.video-page .videos-page .videos-link {
  color: #333;
}

.video-page .gallery-container {
  margin-top: 166px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.video-page .thumbnail-container img {
  width: 225px; /* 215 px sans border 67,5% */
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px; /* this is the height between each thumbnail */
  padding-bottom: 10px;
  padding-left: 10px ;
  border-bottom: 1px solid lightgrey ;
  }

.video-page .thumbnail { 
width: 100%;
opacity: 1;  
transition: opacity .40s ease;
}

.video-page .thumbnail:hover {
  opacity: 0.4;
}

/*.video-page .content-container {
  width: 830px;
  margin: 0 auto;
  margin-top: 158px;
}*/

.video-page .project-info-container {
  padding-right: 115px;
  padding-top: 0px;
 padding-left: 20px ;
 font-size: 15px ; 

}

.video-page .main-h-container {
  border-bottom: 1px solid black;
  padding-top: 8px;
  padding-bottom: 22px;
  margin-bottom: 10px;
  text-align: center;
  font-size: 15px; 
}

.video-page .sub-header {
 font-family: 'HelveticaNeue-UltraLightItalic', sans-serif;
 font-size: 13px;
  padding-top: 0px ;
  padding-bottom: 40px;
  text-align: center;

  }


@media screen and (max-width: 850px){
  .video-page .sub-header{
    padding-bottom: 0px !important;
    margin-bottom: -45px !important; 
  }
.video-page .square-picture-container {
  padding-bottom: 10px !important; 
}

.video-page .picture-container {
  padding-top: 10px !important;
}

.one{
  padding-top: 0px;
  margin-bottom: 60px !important;
}
}


.video-page .legend-container {
  padding: 12px 0;
  margin-bottom: 0px;
  text-align: center;
  font-style: italic;
  font-family: 'HelveticaNeue-UltraLightItalic', sans-serif;
  color: #333;
  font-size: 13px;
  margin-top: 25px;
  padding-bottom: 0px; 
}


.video-page .project-text-container p {
  text-align: justify;
  padding-top: 0px;
}

.video-page .square-picture-container img {
 padding-left: 0px; 
 width: 100%;

}


.video-page .picture-container img {
  width: 100%;
  padding-top: 0px;
  padding-bottom: 0px;
}


.video-page .last-picture-container {
  width: 100%;
  padding-top: 0px;
  padding-bottom: 0px;
}

.one{
  padding-top: 0px;
  margin-bottom: 190px;
}



/* VIDEO - END */



/* GRID  */
.grid-page{
  padding-top: 158px;
  width: 100%;
}
.grid-page .grid-container{
  display: block;
  width: 66%;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0;
  font-size: 0;
}
.grid-page .grid-container .thumbnail{
  display: inline-block;
  width: calc(33% - 65px);
  vertical-align: top;
  margin-left: 100px;
  margin-bottom: 100px;
  position: relative;
}

.grid-page .grid-container .thumbnail:first-child, .grid-page .grid-container .thumbnail:nth-child(3n+1){
  margin-left: 0px;
}
.grid-page .grid-container .thumbnail img{ 
  width: 100%;
  -webkit-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
  -moz-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
  -o-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
  transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); /* easeOutExpo */
}
.grid-page .grid-container .thumbnail h2{ 
  font-size: 22px;
  text-align: center;
  width: 100%;
  display: block;
  position: absolute;
  top: 50%;
  color: black;
  left: 0;
  opacity: 0;
  -webkit-transition: all 600ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
  -moz-transition: all 600ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
  -o-transition: all 600ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
  transition: all 600ms cubic-bezier(0.190, 1.000, 0.220, 1.000); /* easeOutExpo */
}
.grid-page .grid-container .thumbnail:hover img{
  opacity: 0.4; 
  transition: opacity .3s ease-in-out;
}
.grid-page .grid-container .thumbnail:hover h2{
  opacity: 1;
  top: 44%;
}

/* JUSQU'A 850px de large */
@media screen and (max-width: 850px){
  
  /* On supprime les marges */
  .grid-page .grid-container{
    width: 100%;
  }
  .grid-page .grid-container .thumbnail{
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 217px;
  }
  
}

/* GRID - END */

/* FULL SCREEN IMAGE  */
img{
  cursor: pointer;
}
.img-fullscreen-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 0px;
  z-index: 9999;
  background-size:contain;
  background-repeat: no-repeat;
  background-position: center center;
  display: none;
  background-color: rgba(0, 0, 0, 0.9);
}
.img-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 0px;
  z-index: 9999;
  background-size:contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.img-fullscreen-container.active{
  display: block;
  cursor: pointer;
}


/* FULL SCREEN IMAGE  - END */

