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 */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
/*   border-collapse: collapse; */
  border-spacing: 0;
}

/**************************************************/
/*********************FIN RESET********************/
/**************************************************/



/**************************************************/
/**************************************************/
/*****************GENERAL SETTINGS*****************/
/**************************************************/
/**************************************************/

/**************************************************/
/*********************BODY/HTML********************/
/**************************************************/

html {
  background-color: rgb(25, 25, 25); 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body {
  max-width: 1280px;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  margin: 0 auto;
}

.hidden {
  position: absolute; 
  left: 0; 
  top: -10000px; 
  overflow: hidden;
}

a {
  color: #fff;
  outline-color: rgb(135,206,255);
}

b {
  font-weight: 700;
}

p {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
}

img {
  color: rgb(150,150,150);
}

/**************************************************/
/**********************HEADER**********************/
/**************************************************/

header {
  min-width: 135px;
  max-width: 1280px;
  padding: 2.5em 2.5em 0;
  background-color: rgba(0,0,0,0.6);
  text-align: right;
}

header div {
  float: left;
  margin: 0 2.5em 2.5em 0;
}

header div img {
  width: 100%;
  height: auto;
  max-width: 350px;
  min-width: 165px;
}

header:after {
  clear: both;
  content: "";
  display: block;
}

/**************************************************/
/************************NAV***********************/
/**************************************************/

nav {
  display: inline-block;
  min-width: 135px;
  max-width: 553px;
  margin-bottom: 1em;
}

nav ul li {
  display: inline-block;
  min-width: 76px;
  margin-left: 1em;
  line-height: 2em;
}

nav ul li:first-of-type {
  margin-left: 0;
}

nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.2em;
}

nav a:link {
  color: #fff;
}

nav a:hover {
  color: rgb(150,150,150);
}

nav a:active {
  position: relative;
  top: 2px;
}

/**************************************************/
/***********************MAIN***********************/
/**************************************************/

main {
  min-width: 215px;
  max-width: 1280px;
  clear;
}

/**************************************************/
/******************SECTION/ARTICLE*****************/
/**************************************************/

section, article {
  padding: 0 2.5em 1.5em 2.5em; /* 16px de référence */
  background-color: rgba(0,0,0,0.6);
  min-width: 135px;
}

section p, article p {
  color: #fff;
  text-align: justify;
  margin: 1em 0;
  line-height: 1.5em;
}

section h2, article h2 {
  color: #fff;
  font-size: 1.5em;
  text-transform: uppercase;
  padding: 3rem 0 1rem 0;
  border-top: 1px solid #fff;
  line-height: 1.2em;
}

section h3, article h3 {
  color: #fff;
  font-size: 1.2em;
  text-transform: uppercase;
  padding-top: 2rem;
}
/* Tout H3 qui apparaît en premier voit son padding-top réduit à 0 */
section h3:first-of-type, article h3:first-of-type {
  padding-top: 0;
}
/* Tout H3 qui est précédé d'un paragraphe voit son padding-top réduit à 0 */
section p + h3, article p + h3 {
  padding-top: 0;
}

section h4, article h4 {
  color: #fff;
  font-weight: 700;
  padding-top: 2em;
}

section h4:first-of-type, article h4:first-of-type {
  padding-top: 1em;
}

/**************************************************/
/**************************************************/
/****************SPECIFIC SETTINGS*****************/
/**************************************************/
/**************************************************/

/**************************************************/
/***********************HOME***********************/
/**************************************************/

#home a:link {
  color: #fff;
}

#home a:hover {
  color: rgb(150,150,150);
}

#home a:active {
  opacity: 0.7;
}

#home ul:first-of-type {
  background-color: black;
  height: 100%;
}

#home ul:first-of-type img {
  height: auto;
}

/**************************************************/
/*********************SLIDESHOW********************/
/**************************************************/

.rslides img:hover {
  opacity: 0.7;
}

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
}

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
}

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}

/**************************************************/
/****************SLIDESHOW NAVIGATION**************/
/**************************************************/

.rslides {
  margin: 0 auto;
}

#slider {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
  margin: 0 auto;
}

.rslides_tabs {
  list-style: none;
  background-color: rgba(0,0,0,0.6);
  font-size: 18px;
  margin: 0 auto;
  max-width: 1280px;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  min-width: 215px;
  position: top;
}

.rslides_tabs li {
  display: inline;
  float: none;
  margin-right: 1px;
}

.rslides_tabs a {
  width: auto;
  line-height: 20px;
  padding: 7px 20px;
  height: auto;
  background: transparent;
  display: inline;
  text-decoration: none;
}

.rslides_tabs a:hover {
  color: rgb(150,150,150);
}

.rslides_tabs li:first-child {
  margin-left: 0;
}

.rslides_tabs .rslides_here a {
  background: rgba(255,255,255,0.1);
  font-weight: bold;
}

/**************************************************/
/*******************2D/3D BANNER*******************/
/**************************************************/

#work ul {
  max-width: 1200px;
}

#work ul img {
  max-width: 100%;
  max-height: 100vh;
  height: auto;
  display: block;
  overflow: auto;
  margin-left: auto;
  margin-right: auto;
}

#work ul a {
  display: block;
}

#work ul img:hover {
  opacity: 0.5;
}

#work ul img:active {
  opacity: 0.3;
}

#work ul li {
  max-width: 1200px;
  max-height: 300px;
}

#work ul li:first-of-type {
  margin: 1em 0 11px;
}
/* fusion des marges */
#work ul li:last-of-type {
  margin: 11px 0 1em;
}

/**************************************************/
/**********************SKILLS**********************/
/**************************************************/

/*
#skills table {
  min-width: 500px;
  max-width: 1200px;
  width: 100%;
  margin-bottom: 1em;
}

#skills th, #skills td, #skills caption {
  color: #fff;
  padding: 0 1em;
  line-height: 1.5em;
}

#skills th {
  height: 2em;
  font-weight: 700;
  text-align: left;
  border-left: 1px solid #fff;
  width: 33%;
}

#skills td {
  padding-bottom: 2em;
  border-left: 1px solid #fff;
  width: 33%;
}

#skills caption {
  font-style: italic;
  padding: 1em 0 2em;
  text-align: left;
}

#skills thead th {
  height: 3em;
  font-weight: 400;
  font-size: 1.5em;
  text-transform: uppercase;
}
*/
 
#skills img {
  max-width: 100%;
  height: auto;
  max-height: 100vh;
  overflow: auto;
  margin: 2em 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

#skills img:hover {
  opacity: 0.7;
  cursor: zoom-in;
}

#skills img:active {
  opacity: 0.5;
}

#skills a {
  display: block;
}

#skills p {
  max-width: 600px;
  min-width: 135px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#skills p:last-of-type {
  margin-bottom: 4em;
}

#skills a:link {
  color: #fff;
}

#skills a:hover {
  color: rgb(150,150,150);
}

#skills a:active {
  opacity: 0.7;
}

/**************************************************/
/*****************ABOUT ME/CONTACT*****************/
/**************************************************/

#aboutme div:first-of-type {
  max-width: 300px;
  max-height: 400px;
  float: right;
  width: 100%;
  padding: 1em 0 1.5em 2.5em;
}

#aboutme div:first-of-type img {
  max-width: 100%;
  display: block;
  height: auto;
  max-height:100vh;
  overflow:auto;
}

#aboutme div:first-of-type a {
  display: block;
}

#aboutme div:first-of-type a:hover {
  opacity: 0.7;
}

#aboutme div:first-of-type a:active {
  opacity: 0.5;
}

#aboutme p a:link, #aboutme ul a:link {
  color: #fff;
}

#aboutme p a:hover, #aboutme ul a:hover {
  color: rgb(150,150,150);
}

#aboutme p a:active, #aboutme ul a:active {
  opacity: 0.7;
}

#aboutme section:last-of-type h2 {
  border: none;
}

#aboutme section:last-of-type ul {
  margin-top: 1.5em;
}

#aboutme section:last-of-type ul li {
  color: #fff;
  line-height: 1.5em;
  margin: 1em 0;
}

#aboutme ul li:nth-child(1) {
  background: url(../images/mail_symbol.png) no-repeat left center;
  background-size: 27px 19px;
  padding-left: 2.5em;
}

#aboutme ul li:nth-child(2) {
  background: url(../images/phone_symbol.png) no-repeat left center;
  background-size: 27px 19px;
  padding-left: 2.5em;
}

#aboutme ul li:nth-child(3) {
  background: url(../images/facebook_symbol.png) no-repeat left center;
  background-size: 27px 19px;
  padding-left: 2.5em;
}

/**************************************************/
/**********************PREVIEW*********************/
/**************************************************/

.preview section {
  padding-right: 0;
  padding-bottom: 0;
  min-width: 175px;
  max-width: none;
}

.preview h2 {
  margin-right: 40px;
}

.preview p {
  max-width: 600px;
  min-width: 135px;
  width: 100%;
}

.preview ul li {
  display: inline-block;
  width: 25%;
  min-width: 135px;
  min-height: 135px;
  max-width: 270px;
  max-height: 270px;
  margin: 0 36px 40px 0;
  position: relative;
}

.preview ul img {
  max-width: 100%;
  display: block;
}

.preview ul a {
  display: block;
}

.description {
  min-width: 135px;
  max-width: 600px;
  width: 100%;
}

/**************PREVIEW HOVER TYMPANUS**************/

.preview ul figcaption {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.6);
  min-width: 135px;
  max-width: 270px;
  min-height: 135px;
  max-height: 270px;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.3);
  backface-visibility: hidden;
  transition: transform 0.4s, opacity 0.4s;
}

.preview ul figcaption p:first-of-type {
  margin: 0;
  text-align: left;
  padding: 10px 10px 0px;
  color: #fff;
}

.preview ul figcaption p:last-of-type {
  margin: 6px 0 0 0;
  text-align: left;
  font-weight: 700;
  padding: 0 10px 10px;
}

.preview ul a:hover figcaption,
.preview ul a.cs-hover figcaption {
  opacity: 1;
  transform: scale(1);
}

.preview ul a:active {
  opacity: 0.7;
}

/**************************************************/
/********************WORK DETAIL*******************/
/**************************************************/

.gallery img {
  max-width: 100%;
  height: auto;
  max-height: 100vh;
  overflow: auto;
  margin: 2em 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
  pointer-events: none;
}

.gallery img:hover {
  opacity: 0.7;
  cursor: zoom-in;
}

.gallery img:active {
  opacity: 0.5;
}

.gallery a {
  display: block;
}

.gallery p {
  max-width: 600px;
  width: 100%;
  min-width: 135px;
}

.gallery p:last-of-type {
  margin-bottom: 4em;
}

.gallery p a:link {
  color: #fff;
}

.gallery p a:hover {
  color: rgb(150,150,150);
}

.gallery p a:active {
  opacity: 0.7;
}

/**************************************************/
/******************PAGEBACK BUTTON*****************/
/**************************************************/

.pageback {
  text-align: right;
  text-transform: uppercase;
  font-size: 0.9em;
}

.preview .pageback {
  margin: 2rem 2.5rem 3rem 0;
}

article .pageback:first-of-type {
  margin: 2rem 0 3rem 0;
}

article .pageback:last-of-type {
  margin: 4rem 0 2rem 0;
}

.pageback a {
  border: 1px solid #fff;
  padding: 0.625rem;
  text-decoration: none;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  -o-hyphens: none;
  hyphens: none;
}

.pageback a:link {
  color: #fff;
}

.pageback a:hover {
  color: rgb(150,150,150);
  background-color: #fff;
  border-color: rgb(150,150,150);
}

.pageback a:active {
  position: relative;
  top: 2px;
}

.pageback a:before {
  content: "\25C0\00A0";
}

/**************************************************/
/********************MODAL IMAGES******************/
/**************************************************/

#baguetteBox-overlay img {
  pointer-events: none;
}

/*!
 * baguetteBox.js
 * @author  feimosi
 * @version 1.8.0
 * @url https://github.com/feimosi/baguetteBox.js
 */#baguetteBox-overlay{display:none;opacity:0;position:fixed;overflow:hidden;top:0;left:0;width:100%;height:100%;z-index:1000000;background-color:#222;background-color:rgba(0,0,0,.8);-webkit-transition:opacity .5s ease;transition:opacity .5s ease}#baguetteBox-overlay.visible{opacity:1}#baguetteBox-overlay .full-image{display:inline-block;position:relative;width:100%;height:100%;text-align:center}#baguetteBox-overlay .full-image figure{display:inline;margin:0;height:100%}#baguetteBox-overlay .full-image img{display:inline-block;width:auto;height:auto;max-height:100%;max-width:100%;vertical-align:middle;-moz-box-shadow:0 0 8px rgba(0,0,0,.6);box-shadow:0 0 8px rgba(0,0,0,.6)}#baguetteBox-overlay .full-image figcaption{display:block;position:absolute;bottom:0;width:100%;text-align:center;line-height:1.8;white-space:normal;color:#ccc;background-color:#000;background-color:rgba(0,0,0,.6);font-family:sans-serif}#baguetteBox-overlay .full-image:before{content:"";display:inline-block;height:50%;width:1px;margin-right:-1px}#baguetteBox-slider{position:absolute;left:0;top:0;height:100%;width:100%;white-space:nowrap;-webkit-transition:left .4s ease,-webkit-transform .4s ease;transition:left .4s ease,-webkit-transform .4s ease;transition:left .4s ease,transform .4s ease;transition:left .4s ease,transform .4s ease,-webkit-transform .4s ease,-moz-transform .4s ease}#baguetteBox-slider.bounce-from-right{-webkit-animation:bounceFromRight .4s ease-out;animation:bounceFromRight .4s ease-out}#baguetteBox-slider.bounce-from-left{-webkit-animation:bounceFromLeft .4s ease-out;animation:bounceFromLeft .4s ease-out}@-webkit-keyframes bounceFromRight{0%,100%{margin-left:0}50%{margin-left:-30px}}@keyframes bounceFromRight{0%,100%{margin-left:0}50%{margin-left:-30px}}@-webkit-keyframes bounceFromLeft{0%,100%{margin-left:0}50%{margin-left:30px}}@keyframes bounceFromLeft{0%,100%{margin-left:0}50%{margin-left:30px}}.baguetteBox-button#next-button,.baguetteBox-button#previous-button{top:50%;top:calc(50% - 30px);width:44px;height:60px}.baguetteBox-button{position:absolute;cursor:pointer;outline:0;padding:0;margin:0;border:0;-moz-border-radius:15%;border-radius:15%;background-color:#323232;background-color:rgba(50,50,50,.5);color:#ddd;font:1.6em sans-serif;-webkit-transition:background-color .4s ease;transition:background-color .4s ease}.baguetteBox-button:focus,.baguetteBox-button:hover{background-color:rgba(50,50,50,.9)}.baguetteBox-button#next-button{right:2%}.baguetteBox-button#previous-button{left:2%}.baguetteBox-button#close-button{top:20px;right:2%;right:calc(2% + 6px);width:30px;height:30px}.baguetteBox-button svg{position:absolute;left:0;top:0}.baguetteBox-spinner{width:40px;height:40px;display:inline-block;position:absolute;top:50%;left:50%;margin-top:-20px;margin-left:-20px}.baguetteBox-double-bounce1,.baguetteBox-double-bounce2{width:100%;height:100%;-moz-border-radius:50%;border-radius:50%;background-color:#fff;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:bounce 2s infinite ease-in-out;animation:bounce 2s infinite ease-in-out}.baguetteBox-double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes bounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounce{0%,100%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}}