/*-------------------------------- RESET --------------------------------*/

/* 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, canvas,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, 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, 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;
}

aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, article {display: block}

/*-------------------------------- MENU --------------------------------*/

* {
  	box-sizing: border-box;
}
nav {
	font-size: calc(10px + (14 - 10) * ((100vw - 300px) / (1600 - 300)));
	margin-right:23%;
  margin-left:23%;
  padding-top: 2.5%;
}
nav ul {
  text-align:center;
  width:100%;
}
nav ul li {
  display: inline-block;
  float:right;
  padding-left:5%;
}

nav ul li:first-child { 
  float: left;
}

nav ul li a:hover {
  text-decoration:none;
  background-color:white;
  color:black;
}
@media screen and (max-width: 560px) {
  .nav-container {
  	background-color:rgba(0,0,0,0.7);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: 0;
  }
  .nav-container ul {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
  }
  .nav-container ul li {
    display: block;
    float: none;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .nav-container ul li:nth-child(1) a {
    transition-delay: 0.2s;
  }
  .nav-container ul li:nth-child(2) a {
    transition-delay: 0.3s;
  }
  .nav-container ul li:nth-child(3) a {
    transition-delay: 0.4s;
  }
  .nav-container ul li:nth-child(4) a {
    transition-delay: 0.5s;
  }
  .nav-container ul li:not(:first-child) {
    margin-left: 0;
  }
  .nav-container ul li a {
    padding: 10px 25px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.2s ease;
  }
  .nav-open {
    position: fixed;
    right: 10px;
    top: 10px;
    display: block;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 9999;
    border-radius: 50%;
  }
  .nav-open i {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    margin-left: 14px;
  }
  .nav-open i:nth-child(1) {
    margin-top: 16px;
  }
  .nav-open i:nth-child(2) {
    margin-top: 4px;
    opacity: 1;
  }
  .nav-open i:nth-child(3) {
    margin-top: 4px;
  }
}
#nav:checked + .nav-open {
  transform: rotate(45deg);
}
#nav:checked + .nav-open i {
  background: #ffffff;
  transition: transform 0.2s ease;
}
#nav:checked + .nav-open i:nth-child(1) {
  transform: translateY(6px) rotate(180deg);
}
#nav:checked + .nav-open i:nth-child(2) {
  opacity: 0;
}
#nav:checked + .nav-open i:nth-child(3) {
  transform: translateY(-6px) rotate(90deg);
}
#nav:checked ~ .nav-container {
  z-index: 9990;
  opacity: 1;
}
#nav:checked ~ .nav-container ul li a {
  opacity: 1;
  transform: translateY(0);
}
.hidden {
  display: none;
}


/*-------------------------------- FRONT PAGE --------------------------------*/

::-webkit-scrollbar { 
    display: none; 
}


html{
	width:100%;
	height:100%;
		display:block;
}

body{
	background-color: black;
	margin: 0px;
	font-family: 'Roboto Mono', monospace;
	font-size: calc(12px + (16 - 12) * ((100vw - 300px) / (1600 - 300)));
	font-weight: 300;
	letter-spacing: 0.1em;
	line-height:1.5em;
	color:white;
	width:100%;
	height:100%;
	display:block;
}

header{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;

}

a,a:link,a:active,a:visited{
	color:white;
	text-decoration:none;
}

a:hover{
	text-decoration: line-through;
}

canvas{
	height:100% !important;
	width:100% !important;
}


/*-------------------------------- MEDIA --------------------------------*/

@media screen and (max-width: 768px) {
    .description {
        flex-direction: column;
    }

    #cv{
    	width:55%;
    	margin:auto;
    }

    #bioInfos{
      padding-left:0px;
      position:absolute;
    }
}