:root{
	--color0: black;
	--color1: cyan;
	--color2: magenta;
	--color3: yellow ;
	--color4: white;
	--height_big: 75px;
	--height_medium: 50px;
	--height_small: 25px;
	--padding: 10px;
}


@font-face {
	font-family: "title";
	src: url("../fonts/Adelphe-FructidorBold.woff2") format("woff2");
}
@font-face {
	font-family: "title-italic";
	src: url("../fonts/Adelphe-FructidorItalic.woff2") format("woff2");
}


@font-face {
	font-family: "standard";
	src: url("../fonts/Amiamie-Light.woff2") format("woff2");
}
@font-face {
	font-family: "bold";
	src: url("../fonts/Amiamie-Regular.woff2") format("woff2");
}
@font-face {
	font-family: "italic";
	src: url("../fonts/Amiamie-LightItalic.woff2") format("woff2");
}

/* 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;
}

html {
	color: var(--color3);
	overflow: hidden;
}


/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.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;
}

body{
	font-family: "regular";
	color: var(--color0);
}
/* CURSOR */
/* body, input, textarea, select, footer{
	cursor: url("../img/cursor.svg"), auto;

}
a, button, header{
	cursor: url("../img/cursor_hover.svg"), auto;

} */


header{
	background-color: var(--color0);
	color: var(--color4);
	display: flex;
	height: var(--height_big);
}
#header_container{
	display: flex;
	justify-content: space-between;
	width: 100%;
}
header h1{
	padding: var(--padding);
	align-content: center;
}
.header_title{
	align-content: center;
}
nav {
	display: flex;
	gap: 0;
	width: calc(100% /3);
	
}
nav > *{
	text-decoration: none;
	border: none;
	width: inherit;
	height: 100%;
	width: 100%;
	font-family: "bold";
	text-transform: uppercase;
}
span{
	font-family: 'bold';
}
#btn1{
	color: var(--color4);
	background-color: var(--color0);
}
#btn1:hover, #btn2:hover{
	text-decoration: underline 1px var(--color1);
	
}
#btn2{
	color: var(--color4);
	background-color: var(--color0);
}
/* #left #about{
	display: none;
} */

#contact {
	display: none;
	background-color: var(--color3);
	position: relative;
	background-color: var(--color0);
	color: var(--color4);
}
#about {
	display: none;
	background-color: var(--color1);
	position: relative;
}

#about.active_bio, #contact.active_contact{
	display: flex;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	font-size: 1.2em;
	color: var(--color0);
	z-index: 1;
}
#about.active_bio{
	background-color: var(--color0);
	color: var(--color4);
}
#contact.active_contact{
	background-color: var(--color0);
	color: var(--color4);
}
#contact.active_contact a{
	color: var(--color4);
}
#about > *, #contact > *{
	padding: var(--padding);
	padding-top: var(--height_big);
	color: white;
}

#about_close, #contact_close {
	position: absolute;
	cursor: pointer;
	width: 50px;
	height: 50px;
	background-color: var(--color4);
	border: 1px solid var(--color0);
	cursor: pointer;
	padding: 0;
	right: -1px;
  	top: -1px;
	
}
#about_close::before,
#contact_close::before,
#about_close::after, 
#contact_close::after{
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 70.7106781187px;
	height: 1px;
	background-color: var(--color0);
	transform-origin: center;
}
#about_close::before,
#contact_close::before{
	transform: translate(-50%, -50%) rotate(45deg);
}

#about_close::after,
#contact_close::after{
transform: translate(-50%, -50%) rotate(-45deg);
}
  
/* ________________ H __________________ */

h1 {
	font-size: 1.2em;
	font-family: 'bold';
	text-transform: uppercase;
}
h2{
	font-family: 'standard';
	font-size: 1.2em;
	color: var(--color0);
}


p { 
	font-family: "standard";
	font-size: 1em;
	color: var(--color0);
}

em, i {
	font-family: "italic";
	text-transform: none;
}
strong, b {
	font-family: "bold";
	text-transform: none;
}
a{
	text-decoration: none;
}
a:active{
	color: var(--color2);
}

sup {
	vertical-align: super;
	font-size: smaller;
	text-transform: lowercase;
}

a:active{
	color: none;
}
marquee span{
	font-family: "italic";
}

.project-image {
	width: 100%;
	height: auto;
  }
.container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto;
	height: 100vh;
}

.work {
	padding-bottom: 25px;
}
/*________________ LEFT HOMEPAGE  _________________*/


#left {
	max-width: 100%;
	border-right: 1px solid var(--color0);
	position: relative;
	overflow-y: scroll;
	height: calc(100% - 100px);
}

#project_list ul li{
	height: var(--height_big);
	border-bottom: 1px solid var(--color0);
	padding-left: var(--padding);
	align-content: center;
	display: block;

}

#project_list ul li:hover{
	background-color: var(--color0);
	color: var(--color4) !important;
	transition: ease-in 0.3s;
}
#project_list ul li a:hover{

	color: var(--color4) !important;
}
#project_list ul li a{
	width: 100%;
	height: 100%;
	display: block;
  	align-content: center;
	color: var(--color0);
}
#project_list ul li .project-content a, #project_detail a {
    display: inline;
	text-shadow: 1px 1px 5px var(--color2);
	color: var(--color0);
}
footer #footer_smartphone{
	display: none;
}
/* _______FOOTER_______ */
footer{
	text-align: center;
	height: var(--height_small);
	width: 100%;
	position: absolute;
	bottom: 0;
	align-content: center;
	border-top: 1px solid var(--color0);
	background-color: var(--color4);
}

/*________________ RIGHT HOMEPAGE  _________________*/
#right{
	overflow-y: scroll;
	overflow-x: hidden;
	position: relative;
	
}
#right footer{
	display: none;
}
#project_detail{
	padding: var(--padding);
	margin-bottom: 100px;
	
}
#project_detail > *{
	padding-bottom: var(--padding);
	padding: var(--padding);
}

#tags {
height: var(--height_small);
  align-content: center;
  padding-bottom: var(--height_small);
  color: var(--color0);
}

#tags, nav{
	font-size: 1em;
}
.project-content .block, .slideshow-container{
	padding-bottom: var(--height_small);
}

.slideshow-container {
    position: relative;
    display: flex;
    margin: auto;
	justify-content: center;
	height: 550px;
  }

.mySlide {
    display: none;
    text-align: center;
	padding-bottom: var(--padding);
}

.mySlide img {
    max-height: 100%;
    max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

figcaption {
    font-family: "bold";
	font-size: 0.7em;
	color: var(--color0);
	margin-bottom: var(--padding);
}

.prev, .next {
    position: absolute;
    top: 50%;
    color: white;
    transform: translateY(-50%);
	width: 250px;
    height: 100%;
	padding: 0;
}

.prev { 
	left: 0; 
	cursor: url("../img/arrow_left.svg"), auto;
}
  .next { 
	right: 0; 
	cursor: url("../img/arrow_right.svg"), auto;
}

#about_smartphone{
	display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
	html{
		overflow-x: hidden; 
		overflow-y: auto;
		background-color: var(--color4);
		color: var(--color0);
	}

	h1{
		font-size: 1.2em;
	}

	header{
		text-align: center;
		height: 150px;
		position: sticky;
		top: 0;
		z-index: 11;
	}
	#header_container {
		display: block;
		height: 150px;
	}
	.header_title{
		height: var(--height_big);
		align-content: center;
	}
	#header_container h1{
		color: var(--color4);

	}
	nav{
		display: flex;
		width: 100%;
		height: var(--height_big);
		background-color: var(--color4);
		color: var(--color0);
		border-bottom: 1px solid var(--color0);
	}
	#btn1, #btn2{
		color: var(--color0);
		background-color: var(--color4);
		height: var(--height_big);
	}
	#btn1{
		border-right: 1px solid var(--color0);
	}
	#contact.active_contact{
		border-top: 1px solid var(--color0);
		border-bottom: 1px solid var(--color0);
		height: 150px;
		position: fixed;
		top: 150px;
		background-color: var(--color0);
		color: var(--color4);
		z-index: 100;
	}

	#contact.active_contact a{
		color: var(--color4);
	}
/* ------------------- */
	
#about_smartphone {
	display: none;
	background-color: var(--color0);
	color: var(--color4);
	position: relative;
}


#about_smartphone.active_smart {
	display: flex;
	position: fixed;
	top: 300px;
	width: 100%;
	height: calc(66% + 1px);
	font-size: 1.2em;
	color: var(--color4);
	background-color: var(--color0);
	border-top: 1px solid var(--color4);
	z-index: 100;

}
#about_smartphone.active_smart p{
	color: var(--color4);
}

#about_smartphone > * {
	padding: var(--padding);
	padding-top: var(--height_big)
}

#smartphone_close {
	position: absolute;
	cursor: pointer;
	width: 50px;
	height: 50px;
	background-color: var(--color4);
	border: 1px solid var(--color0);
	padding: 0;
	right: -1px;
	top: 0px;
}

#smartphone_close::before,
#smartphone_close::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 70.71px; 
	height: 1px;
	background-color: var(--color0);
	transform-origin: center;
}

#smartphone_close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

#smartphone_close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}





/* ---------------- */
    .container {
        display: inline-flex;
		width: 100%;
		height: inherit;
		height: calc(100vh - 1px);
	}
	#left{
		width: 100%;
		height: 110%;
		border: none;
		position: relative;
	}
	#project_list{
		padding: var(--padding);
	}
    
	#right{
		display: none;
	}

    header, footer, .article1, .article2 {
        grid-column: span 1;
    }
	#project_list ul li{
		display: block;
		border-bottom: 1px solid var(--color0);
		position: relative;
		height: fit-content;
		padding: 0;
	}
	#project_list ul li .project-link{
		height: var(--height_medium);
	}

	#project_list ul li:hover {
		background-color: var(--color4); 
		color: var(--color0);
		
	}
	#project_list ul li .project-link:hover {	
		color: var(--color0)!important;	
	}
	.project-content {
		display: none; /* JS toggles this */
		width: 100%;
		box-sizing: border-box;
		position: relative;
		background-color: var(--color4);
	}
	#project_list ul li .prev, #project_list ul li .next{
		width: 50px;
		height: 50px;
		transform: translateY(-360%);
	}
	.prev, .next {
		z-index: 10;
		pointer-events: auto;
		touch-action: manipulation;
		width: 50px;
		height: 50px;
		background-color: var(--color4);
		border: 1px solid var(--color0);
	  }
	  .prev { 
		background-image: url(../img/arrow_left.svg);
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}
	.next { 
		background-image: url(../img/arrow_right.svg);
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}
	.project-content h1{
	display: none;
	}
	#blocks{
	display: none;
	}



.slideshow-container {
	height: 250px;
	padding-bottom: var(--height_medium);
	padding-top: var(--height_medium);
  }
	#footer_smartphone{
		display: block;
		align-content: center;
		position: fixed;
    	bottom: 0;
	}
	marquee{
		font-size: 0.6em;
	}
}