/*-------------------------------- 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: fixed;
}
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%;
	z-index:5000

}
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;
}
.buffer { 
	height: 10%; 
}
	


/*-------------------------------- 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: relative;
	width: 100%;
	height: 100%;
	top: 0;
	z-index:90000;
	

}

a,a:link,a:active,a:visited{
	color:white;
	text-decoration:none;
}

a:hover{
	text-decoration: line-through;
}

/*-------------------------------- PROJECT --------------------------------*/

#contact, #about{
	font-size: calc(10px + (14 - 10) * ((100vw - 300px) / (1600 - 300)));
	position: absolute;
	width: 20%;
	bottom: 75%;
	-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
			-ms-transform: translateY(-50%);
			    -o-transform: translateY(-50%);
			        transform: translateY(-50%);
	z-index: 2000;
	text-align: left;
}

#contact{
	right:-5%;
}

#about{
	left:-5%;
}

#contact, #about p{
	padding-top: 1em;
	text-transform: uppercase;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	cursor: pointer;
}

.description{
	position:relative;
	color:white;
	width:55%;
	margin:auto;
	display:flex;
	flex-direction:row;
}

.wrapper{
	background-color:rgba(255, 0, 0, 0);
	margin-top:-8%;
	margin-bottom:-10%;
	text-align:center;
}

.column {
	font-size: calc(10px + (14 - 10) * ((100vw - 300px) / (1600 - 300)));
    flex:50%;
	padding: 3%;
}

#title, #text{
	font-size: calc(12px + (16 - 12) * ((100vw - 300px) / (1600 - 300)));
}

#title, #infos,{
	padding-right: 30px;
}

#infos, #bioInfos{
	padding-bottom:20%;
}

#text{
	text-align:justify;
	padding-bottom:10%;
}

#title {
	text-transform:uppercase;
	font-weight:500;
	display:inline;
	color:black;
}

#bioInfos{
  padding-left:30px;
  float:right;
  position:fixed;
  text-decoration:underline;
}

#vimeo{
 position: relative;
  overflow: hidden;
  padding: 10% ;
	margin-bottom: 3%;
	}
.iframe{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
	

/*-------------------------------- CV --------------------------------*/

#cv{
	padding-top:8%;
	width:40%;
	margin-left:22%;
	text-align:justify;
	padding-bottom:10%;

}

.titleCV{
	text-transform:uppercase;
	font-weight:500;
	color:black;
	padding-top:5em;
	padding-bottom:3%;
	text-align:justify;
}

.year{
	text-decoration:underline;
}

.bold{
    font-weight: 800;
}

/*-------------------------------- CV --------------------------------*/

#cv{
  padding-top:8%;
  width:40%;
  margin-left:22%;
  text-align:justify;
  padding-bottom:10%;
}

/*-------------------------------- WORK --------------------------------*/

.workList{
	width:100%;
	text-align:center;
	text-transform:uppercase;
	line-height:9vh;
	margin-top:5%;
}

.workList a:hover{
	text-decoration:line-through;
}

/*-------------------------------- PLAYER --------------------------------*/
/* Content */

/* Content */
.content {
	padding: 3em 0;
}

.content.main {
	min-height: 100vh; 
	padding: 0;
}

.canvas-wrapper {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
}

canvas {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%; 
}

.p5_loading {
	background: black;
	position: fixed;
	left: 0;
	top: 0;
	background: rgb(0, 0, 0);
	width: 100%;
	height: 100%;
	z-index: 9;
	overflow: hidden;
}

.p5_loading__inner {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate3d(-50%, -50%, 0);
	transform: translate3d(-50%, -50%, 0);  
	display: flex;
}

.p5_loading__inner span {
	display: block;
	width: 100px;
	height: 100px;
	border-radius: 100%;
	background: rgb(255, 255, 255);
	margin: 0 20px;
	transform-origin: center;
	animation: noiseLoad 0.5s infinite ease-in-out alternate;
}

.p5_loading__inner span:nth-child(2) {
	animation-delay: 0.33s;
}

.p5_loading__inner span:nth-child(3) {
	animation-delay: 0.66s;
}

@keyframes noiseLoad {
	from {
		transform: scale(0);
		background: rgb(255, 255, 255);
	}
	
	to {
		transform: scale(1);
		background: rgb(0, 0, 0);
		
	}
}

#uploading-animation {
	display: none;
}

#uploading-animation.is-visible {
	display: block;
}

.upload-btn::before,
.toggle-btn {
	padding: 10px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: currentColor;
	position: absolute;
	bottom: 2vmax;   
	border: 1px solid;
	width: 255px;
}

.upload-btn::before {
	content: 'Upload your track';
	display: inline-block;  
	left: 2vmax;
	outline: none;
	white-space: nowrap;
	-webkit-user-select: none;
	cursor: pointer;
}

.upload-btn:hover::before {
	color: #fff;
}

.toggle-btn {
	background: transparent;
	color: currentColor;
	right: 2vmax;
}

.toggle-btn:focus {
	outline: none;
}

.toggle-btn:hover {
	color: #fff;
}

@media screen and (max-width: 55em) {
	.codrops-header {
		flex-direction: column;
		justify-content: center;
	}
	.demos {
		width: 100%;
		margin: 1em 0 0;
		text-align: center;
	}
	.toggle-btn {
		right: 10px;
		bottom: 5.5em;
		width: calc(100% - 20px);
	}
	.upload-btn::before {
		position: absolute;
		bottom: 9em;
		left: 10px;
		width: calc(100% - 20px);
	}
}


/*-------------------------------- MEDIA --------------------------------*/

@media screen and (max-width: 768px) {
    .description {
        flex-direction: column;
    }

    #cv{
    	width:55%;
    	margin:auto;
    }

    #bioInfos{
      padding-left:0px;
      position:absolute;
    }
}