/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
a {
  text-decoration: none;
  color: inherit;
}
/* *********************** General Adjustments *********************** */
/* roboto-slab-300 - latin */
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 300;
  src: url('./src/fonts/roboto-slab-v13-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./src/fonts/roboto-slab-v13-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../src/fonts/roboto-slab-v13-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('./src/fonts/roboto-slab-v13-latin-300.woff') format('woff'), /* Modern Browsers */
       url('./src/fonts/roboto-slab-v13-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./src/fonts/roboto-slab-v13-latin-300.svg#RobotoSlab') format('svg'); /* Legacy iOS */
}
/* roboto-slab-200 - latin */
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 200;
  src: url('./src/fonts/roboto-slab-v13-latin-200.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./src/fonts/roboto-slab-v13-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./src/fonts/roboto-slab-v13-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
       url('./src/fonts/roboto-slab-v13-latin-200.woff') format('woff'), /* Modern Browsers */
       url('./src/fonts/roboto-slab-v13-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./src/fonts/roboto-slab-v13-latin-200.svg#RobotoSlab') format('svg'); /* Legacy iOS */
}
/* roboto-slab-regular - latin */
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  src: url('./src/fonts/roboto-slab-v13-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./src/fonts/roboto-slab-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./src/fonts/roboto-slab-v13-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./src/fonts/roboto-slab-v13-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./src/fonts/roboto-slab-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./src/fonts/roboto-slab-v13-latin-regular.svg#RobotoSlab') format('svg'); /* Legacy iOS */
}
/* roboto-slab-500 - latin */
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 500;
  src: url('./src/fonts/roboto-slab-v13-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./src/fonts/roboto-slab-v13-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./src/fonts/roboto-slab-v13-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('./src/fonts/roboto-slab-v13-latin-500.woff') format('woff'), /* Modern Browsers */
       url('./src/fonts/roboto-slab-v13-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./src/fonts/roboto-slab-v13-latin-500.svg#RobotoSlab') format('svg'); /* Legacy iOS */
}
/* @font-face {
  font-family: 'Roboto Slab', serif;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/robotoslab/v13/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmb2Rj.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
} */
html {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  background-color: #212D3E;
}

#site-container{
  display: flex;
  max-width: 100%;
}

main{
  margin-top: 60px;
}
h2{
  font-size: 1.25rem;
}
button{
  background: none!important;
  border: none;
  padding: 0!important;
  cursor: pointer;
  
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #fff;
}
/* *********************** Main sections *********************** */
.title-full{
  background-color: #DB7500;
  z-index: 11;
  position: fixed;
  top: 0;
  left: 0;

  width: 50%;
  height: 100vh;

  transition: .25s ease-in-out;
}

#main-container{
  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100vh;

  margin-left: 35vw;
  transition: .25s ease-in-out;
  /*a changer dynamiquement */
}

#mail-mobile, #phone-mobile{
  display: none;
}

.nav-full{
  z-index: 10;
  height: 100vh;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;

  margin-left: 50%;
  /* padding-left: 15rem; */

  font-size: 1.2rem;

}
.nav-full li{
  margin: 1.5rem;
}
.hide{
  display: none;
}

/* *********************** Inside sections *********************** */
/* header */

h1{
  font-size: 2vmax;
  font-weight: 300;
  text-align: center;

  margin-top: 10%;
  margin-bottom: 10%;
  line-height: 3vmax;

  color: #FFC078;

  transition: .25s ease-in-out;
}
h1 em {
  font-family: 'Roboto Slab', serif;
  font-size: 3.5vmax;
  font-weight: 500;

  color: #fff;
  transition: .25s ease-in-out;
}
#title-screen #icons>*{
  display: flex;
  margin: 1.2rem 0 0 1.2rem;
}
.block-link{
  display: block;
  width: 2em;
}
#phone, #mail{
  align-items: center;
  /* overflow: hidden; */
}
#mail a{
  display: flex;
  align-items: center;
}
.icon-text{
  opacity: 0;
  transition: .25s ease-in-out;
}
#phone:hover .icon-text, #mail:hover .icon-text{
  opacity: 1;
}
#phone i, #mail i{
  margin-right: 20px;
}


#accroche{
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  font-style: italic;

  color: #FFC078;

  width: 70%;
  margin: auto;
  transition: .25s ease-in-out;
}

#navlist{
  display: flex;
  flex-direction: column;
  line-height: 20px;
}
#navlist li{
  position: relative;
}
.nav-full li::after{
  content: '';
  display: block;
  width: 60px;
  height: 0;
  position: absolute;
  left: 120px;
  top: 50%;
  border-top: solid 1px #fff;
}
.nav-full .vertical-separator-1{
  overflow: visible;
  height: 500px;
  width: 0;
  margin-left: 30px;
  border-left: solid 3px #DB7500;

  transform: translateY(70px);
}
.nav-full .horizontal-separator-1{
  overflow: visible;
  height: 0;
  width: 300px;
  border-top: solid 1px #fff;

  transform: translateX(-40px);
}


/* apropos */
.apropos-container{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;


  height: 100%;
}
.photo-container{
  display: flex;
  align-items: center;
}
.photo{
  width: 12vmax;
  height: 12vmax;
  padding: 10px;
  border: solid 5px #DB7500;
  border-radius: 50%;
}
.apropos-container .vertical-separator-1{
  overflow: visible;
  /* height: 100%; */
  width: 0;
  margin-left: 5vw;
  border-left: solid 3px #DB7500;
}
#about-article{
  width: 90%;
  margin-left: 25px;
  margin-right: 25px;
  line-height: 1.5rem;
}
#about-article h2{
  padding-top: 30px;
}
#about-article p{
  font-family: "Roboto Slab";
  font-weight: 200;
  margin-top: 20px;
}
#about-article p:last-of-type{
  margin-top: 30px;
}
#about-article .horizontal-separator-1{
  overflow: visible;
  height: 0;
  width: 500px;
  border-top: solid 1px #fff;
  margin-top: 18px;
  transform: translateX(-150px);
}
#about-article .horizontal-separator-2{
  overflow: visible;
  height: 0;
  width: 300px;
  border-top: solid 1px #fff;
  margin-top: 30px;
  transform: translateX(-80px);
}

.lang-list{
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  margin-top: 10px;
  padding-bottom: 70px;
  font-weight: 300;
}
.lang-list li ul li{
  padding-top: 20px;
  font-size: 16px;

}
.lang-list li ul li::before{
  content: '> ';
}

/* projets */
#projets{
  margin: 50px 0;
  padding-left: 25px;
}
#projets header{
  position: relative;
  width: 100%;
  height: 30px;
  display: flex;
}
#projets h2{

  width: 48%;
  text-align: right;
}
#projets .vertical-separator-1{
  overflow: visible;
  height: 80vh;
  width: 0;
  margin-left: 10px;
  margin-right: 10px;
  border-left: solid 3px #DB7500;

  transform: translateY(-50px);
}
#projets .horizontal-separator-1{
  overflow: visible;
  height: 0;
  width: 80%;
  border-top: solid 1px #fff;
  margin: 0 auto;
  /* transform: translateX(-150px); */
}
.site-list{
  display: flex;
  justify-content: space-evenly;
}
.site-container{
  max-width: 500px;
  margin: 25px 0;
}
.site-container h3{
  text-align: center;
  padding-bottom: 20px;
}
.site-list img{
  height: 13.5vw;
  width: 28vw;
}
.project-container{
  height: 13.5vw;
  width: 28vw;
  overflow: hidden;
}
.site-card{
  text-align: center;
  background-color: #35618Faa;
  height: 13.9vw;
  width: 28vw;
  transition: .25s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-container:hover .site-card{
  transform: translateY(-13.7vw);
}
.site-card figcaption{
  margin: 20px 50px;
}
.to-site-button{
  margin: 0 auto;
  padding: 10px 20px;
  border-radius: 19px;
  background-color: #fff;
  color: #435b7c;
  font-weight: 500;
  vertical-align: middle;
}
#projets .horizontal-separator-2{
  overflow: visible;
  height: 0;
  width: 30%;
  border-top: solid 1px #fff;
  margin: 18px auto;
  transform: translateX(-80px);
}
/* parcours */
#parcours{
  position: relative;
}
.cv-download{
  margin-bottom: 2vmax;
}
.cv-download a{
  display: block;
  margin: auto;
  background-color: #fff;
  color: #DB7500;

  text-align: center;
  font-weight: normal;
  line-height: 2rem;
  height: 2rem;
  width: 12rem;
}
#parcours h2{
  margin-left: 200px;
}
#cv h3{
  color: #DB7500;
  font-weight: 400;
}
#cv .horizontal-separator-1{
  overflow: visible;
  margin-top: 10px;
  height: 0;
  width: 300px;
  border-top: solid 1px #fff;

  transform: translateX(-40px);
}
#cv .vertical-separator-1{
  overflow: visible;
  /* height: 200px; */
  width: 0;
  margin-left: 30px;
  border-left: solid 3px #DB7500;

  transform: scaleY(1.6);
}
#cv .year{
  width: 100px;
  margin: auto 0;
}
#cv .job-container{
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}
#cv>li:nth-child(even){
  margin-left: 50px;
}
.job{
  margin-left: 110px;
}
.job ul{
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
}
#bonus{
  margin: 100px 100px;
}
#bonus-container{
  position: relative;
  width: 100%;
}
#bonus .vertical-separator{
  overflow: visible;
  height: 500px;
  width: 0;
  margin-left: 30px;
  border-left: solid 3px #DB7500;
}
#bonus .vs1{
  transform: translateY(70px);
}

#bonus .horizontal-separator{
  overflow: visible;

  height: 0;

  border-top: solid 1px #fff;


}
#bonus .hs1{
  width: 80%;
  height: 0px;
  transform: translateX(-70px);
}
#bonus .hs2{
  width: 50%;
  transform: translateX(-60px);
}
#bonus h2{
  padding-top: 1em;
  padding-bottom: 1em;
}
#bonus .zoom-img{
  max-width: 400px;
  cursor: pointer;
  transition: 0.25s ease-in-out;
}
#bonus .zoom-img:hover{
  opacity: 0.7;
}

.art-row{
  margin-top: 50px;
  display: flex;
  flex-direction: row;
}
.art-column{
  display: flex;
  flex-direction: column;
}
.art-column img{
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  /* padding: 5px; */
  border: solid #fff 2px;
}
.hs3{
  margin-top: 30px;
  width: 120%;
  overflow: visible;
  transform: translateX(-10%);
}
.hs4{
  margin-top: 30px;
  width: 120%;
  overflow: visible;
  transform: translateX(-10%);
}
#bonus .vs1{
  width: 100px;
  margin-left: 100px;
  
}

/* modal */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  padding-left: 35vmax;
  /* padding-top: 100px; */
  display: block;
  width: calc(90% - 35vmax);
  max-width: 900px;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 70px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#pandore{
  /* padding: 5px; */
  max-width: 640px;
  max-height: 360px;

  border: solid #fff 2px;
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;
}
#pandore iframe{
  width: 640px;
  height: 360px;
}

/* *********************** Animation *********************** */

/* anim classes */
section{
  transition: .25s ease-in-out;

  margin: 50px 0 0 50px;
}
.title-side{
  width: 35vw;
  background-color: #DB7500;
  z-index: 11;
  position: fixed;
  top: 0;
  left: 0;

  height: 100vh;

  transition: .25s ease-in-out;
}
.title-side:hover{
  cursor: pointer;
}
.title-side h1{
  font-size: 20px;
  line-height: 35px;
}
.title-side h1 em{
  font-size: 30px;
}

.nav-bar{
  position:fixed;
  top: 0;
  left: 0px;
  background-color: #212D3E;

  margin-left: 35vw;
  z-index: 10;
  height: 60px;
  width: 100%;

  display: flex;
  flex-direction: row;

  align-items: center;

  font-size: 20px;

  transition: .25s ease-in-out;
}
.nav-bar ul{
  justify-content: center;
}
.nav-bar li{
  padding: 0 20px;
}


/* animations */
@keyframes title-shrink {
  0% {width: 50%}
  100% {width: 400px}
}


/* *********************** Responsive *********************** */

.burger {
  display: none;
  padding: 0.5rem;
  cursor: pointer;
  float: right;
}
.line {
  height: 2px;
  width: 35px;
  margin: 0.5rem 0;
  background: #daf8e3;
  transition: transform 0.3s ease, opacity 0.75s ease;
}

.show .line1 {
  transform: translate(-10px) rotate(45deg) translate(15px);
}
.show .line2 {
  opacity: 0;
}
.show .line3 {
  transform: translate(-10px) rotate(-45deg) translate(15px);
}
.show #navlist {
  transform: translateX(0%);
}

/* *********************** Media query *********************** */


@media only screen and (max-width: 1000px) {
  .burger {
    display: block;
    z-index: 20;
  }
  #navlist {
    position: fixed;
    top: 8vh;
    right: 0;
    height: 92vh;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background: #212D3E;
    transform: translateX(100%);
    transition: transform .3s ease;
    
  }
  #navlist {
    width: 100%;
  }
  #title-screen{
    width: 100%;
  }
  #projets{
    padding-left: 0;
  }
  
  .title-mobile{
    height: 8vh;
    width: 100vh;
    overflow-y: hidden;

    background-color: #DB7500;
    /* z-index: 11; */
    position: fixed;
    top: 0;
    left: 0;

    width: 50%;
    height: 8vh;

    transition: .25s ease-in-out;
  }
  .title-mobile>*:not(#mobile-nav, h1){
    display: none;
  }
  .title-mobile h1{
    margin: 15px auto;
    font-size: 1.5rem;
    font-family: 'Roboto Slab', serif;
    font-weight: normal;
    color: #fff;
  }
  .title-mobile h1 em{
    display: none;
  }
  main{
    margin-top: 0;
  }
  #main-container{
    margin-top: 8vh;
    height: 100%;
    flex-direction: column;
    margin-left: 0;
  }
  #main-page-nav{
    display: none;
  }
  .vertical-separator-1, .horizontal-separator-1, .horizontal-separator-2{
    display: none;
  }

  #icons{
    margin-top: 20vh;
    display: flex;
    align-items: center;
  }
  #mail, #phone{
    display: none!important;
  }
  #mail-mobile, #phone-mobile{
    display: block;
    margin: 2em auto;
    text-align: center;
  }

  /* *********************** Responsive sections *********************** */

  section{
    margin: 2vh auto;
  }
  .apropos-container{
    flex-direction: column;
  }
  .apropos-container .vertical-separator-1{
    display: none;
  }
  .photo-container{
    justify-content: center;
  }
  .photo{
    width: 20vmax;
    height: 20vmax;
    padding: 1vmax;
    border: solid .7vmax #DB7500;
  }

  #projets header{
    width: 100%;
    height: auto;
  }
  #projets h2{
    width: 80%;
    text-align: center;
    margin: auto;
  }
  .site-container h3{
    margin-top: 40px;
  }
  .site-container{
    max-width: none;

  }
  .site-list{
    display: block;
  }
  .project-container{
    height: auto;
    width: 80vw;
    overflow: auto;
    margin: auto;
  }
  .site-list img{
    height: auto;
    width: 100%;
  }
  .site-card{
    height: auto;
    padding: 10px 0;
    width: 100%;
  }
  .site-card figcaption{
    margin: auto;
  }
  .project-container:hover .site-card{
    transform: translateY(0);
  }



  #parcours h2{
    margin: 30px auto;
    text-align: center;
  }
  #cv h3{
    color: #DB7500;
    font-weight: 400;
  }
  
  #cv .year{
    width: 100px;
    margin: auto 0;
  }
  #cv .job-container{
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
  }
  #cv>li:nth-child(even){
    margin-left: 0px;
  }
  #cv{
    width: 80%;
    margin: auto;
    margin-top: 3em;
  }
  #cv .horizontal-separator-1{
    display: block;
    width: 80%;
    margin: auto;
    transform: translateX(0);
  }
  .job{
    width: 100%;
    margin: auto;
  }
  #title-screen{
    z-index: 100;
  }

  /* modal */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (Image) */
  .modal-content {
    margin: auto;
    padding-left: 0;
    /* padding-top: 100px; */
    display: block;
    width: 90%;

  }
  #pandore{
    /* padding: 5px; */
    max-width: 100%;
    max-height: auto;
  
    border: none;
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
  }
  #pandore iframe{
    width: 100%;
    height: auto;
    
  }
  #bonus .horizontal-separator{
    display: none;
  }
  #bonus{
    margin: 40px auto;
  }
  #bonus h2{
    text-align: center;
  }


  
  /* .bonus-title{

  } */
}