@font-face{
	font-family: "Venus+Plomb";
	src: url("fonts/Venus+Plomb.otf");
}

@font-face{
	font-family: "Venus+Acier";
	src: url("fonts/Venus+Acier.otf");
}

@font-face{
	font-family: "Literata_18pt-Bold";
	src: url("fonts/Literata_18pt-Bold.ttf");
}

@font-face{
	font-family: "Literata_18pt-Italic";
	src: url("fonts/Literata_18pt-Italic.ttf");
}

@font-face{
	font-family: "Literata_18pt-MediumItalic";
	src: url("fonts/Literata_18pt-MediumItalic.ttf");
}

@font-face{
	font-family: "Literata_18pt-Regular";
	src: url("fonts/Literata_18pt-Regular.ttf");
}

:root{
	--unit: 18px;
	--color1: #f5f5f5;
	--color2: #c8f4ff;
	--color3: #cecece;
	--color4: #c45cd3;
	--color: #711c68;
}

html{
	background-color: var(--color1) ;
	font-family: "Literata_18pt-Regular";
	font-weight: normal;
	font-size: var(--unit);
	margin: 0;
	color: var(--color);
	background: var(--color2);
	line-height: 1.2;
}

body {
	padding: 10rem 1rem 1rem 1rem;
	text-align: left;
	margin: 0;
}

body > p, body > ul, body > ol{
	margin-left: 3rem;
	max-width: 40vw;
	width: fit-content;
}

p{
	background: linear-gradient(145deg, #ffffff, var(--color2));
	margin-bottom: 0.2rem;
	margin-top: 0;
	text-indent: 1rem;
	border-radius: 15em 15em 15em 0;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	padding: 0 0.5rem 0 0.5rem;
}

em{
	font-family: "Literata_18pt-MediumItalic";
}

code{
	font-family: "Venus+Acier";
	opacity: 0.6;
}

code:not(a code)::before {
	content: "♡ ";
  }
  
a code::before {
	content: "⌲ ";
}

nav{
	position: fixed;
	right: 0;
	top: 0;
	z-index: 5;
}

nav a > h2 {
	font-size: 1.5rem;
	font-style: italic;
	margin-left: auto;
	color: var(--color4);
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	width: fit-content;
}

nav a > h2:hover{
	text-decoration: underline;
	text-underline-offset: 2px;
	color: var(--color);
	z-index: 5;
}

p, ol, ul, a {
	line-height: 1.3;
}

h1{
	font-family: "Venus+Plomb";
	position: fixed;
	top: 0;
	font-size: 9rem;
	margin: 0;
	background: linear-gradient(145deg, #ffffff, var(--color2));
	  -webkit-background-clip: text;
	  -webkit-text-fill-color: transparent;
	font-style: italic;
	padding: 1rem;
}

h2{
	background: linear-gradient(145deg, var(--color2), #fff);
	font-size: 2rem;
	font-style: italic;
	border-radius: 10em 0 10em 0;
	margin-bottom: 0;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	font-family: "Venus+Plomb";
	padding: 0 1rem 0 1rem;
	width: fit-content;
}

h2:not(:first-of-type) {
	margin-top: 4rem;
}

h3{
	backdrop-filter: blur(0px) !important;
	font-size: 1.5rem;
	font-family: "Venus+Plomb";
	margin-bottom: 0;
  	top: 10px;
  	z-index: 1;
 	position: relative;
	margin-left: 1.2rem;
	display: inline-block;
  	transform: skewX(10deg);
  	font-style: normal; 
	background: linear-gradient(145deg, #fff, var(--color2));
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	margin-bottom: 0.6rem;
	margin-top: 0.5rem;
}

h3::before{
	content: "";
}

h4{
	padding: 0 1rem 0 1rem;
	font-family: "Venus+Plomb";
	font-style: italic;
	margin: 0;
	border-radius: 0em 10em 0em 10em;
	backdrop-filter: blur(0px) !important;
	margin-bottom: -0.35rem;
	position: relative;
	font-size: 1.2rem;
	margin-left: 2rem;
	z-index: 1;
	opacity: 0.6;
}

h2 + h4{
	margin-top: 1rem;
}

pre{
	overflow-wrap: break-word;
	white-space: pre-wrap;
	word-break: break-all;
}

ol{
	padding-left: 1.2rem;
}

ol, ul{
	border-radius: 0 0 15em 0;
	background: linear-gradient(145deg, #ffffff, var(--color2));
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

ul{
	margin-top: 0;
	padding: 0;
	margin-left: 1rem;
	margin-bottom: 0;
}

ul li{
	list-style : none;
}

ul li:before{
	content: "⊖  ";
}

ul li:hover:before{
	content:"⊘  ";
}

ul li a, a{
	color: var(--color4);
	text-decoration: none
}

a:hover{
	text-decoration: underline;
	color: var(--color);
}

@media only screen and (max-width: 1200px){
	:root{
		--unit: 12px;
	}
	
	body{
		padding: 6rem 0 0 0;
	}
	
	/* nav{
		display: none;
	} */
	
	nav a > h2{
		font-size: 0.8rem;
	}

	h1{
		font-size: 3.5rem;
		margin-left: 0;
	}

	h2:not(:first-of-type) {
		margin-top: 6rem;
	}

	h3{
		font-size: 1.2rem;
		top: 5px;
	}

	h4{
		font-size: 1rem;
		margin-left: 1rem;
	}

	body > p, body > ul, body > ol{
		max-width: 100vw;
		margin-left: 0.5rem;
	}

	#Parcours, #Expositions, #Enseignement, #Travaux_artistiques, #Competences_techniques{
		scroll-margin-top: 6rem;
	}
}

@media print{
	@page{
		size: A4;
		margin: 8mm;
	}

	:root{
		--unit: 11px;
	}

	html{
		filter: grayscale(1);
	}

	body, html{
		padding: 0;
		margin: 0
	}

	body{
		columns: 2;
		column-gap: 10mm;
	}

	body > *, html{
		background: none;
		padding: 0;
		position: relative;
		margin-left: 0;
	}

	body > p, body > ul, body > ol{
		margin-left: 1rem;
		max-width: 40vw;
		width: fit-content;
	}

	nav{
		display: none;
	}

	h1{
		font-size: 1.5rem;
		position: absolute;
	}

	h2{
		font-size: 1.5rem;
		margin-left: 0;
	}

	h2:not(:first-of-type) {
		margin-top: 5mm;
	}

	h3{
		font-size: 1.2rem;
		margin-top: 0;
		margin-bottom: 0;
	}

	h4{
		font-size: 0.9rem;
	}

	h2 + h4 {
		margin-top: 0mm;
		top: 0;
	}

	h2, h3, h4{
		margin-top: 0mm;
		top: 0;
	}

	p{
		font-size: 0.9rem;
		text-indent: 0;
	}

	.page-divider {
		position: fixed;
		top: 0;
		left: 50%;
		width: 1px;
		height: 100%;
		background-color: black;
		transform: translateX(-50%);
		pointer-events: none;
		opacity: 0.2;
	}
}