body {
	height: 100vh;
	color: #333330;
	overflow: hidden;
	font-family: Arial;
}

body, h1, h2, h3, h4, h5, p {
	margin: 0;
	padding: 0;
}

[data-badge] {
	position: relative;
}
[data-badge]:after {
	z-index: 1;
	top: -1.1em;
	color: gold;
	right: -0.9em;
	font-weight: bold;
	text-align: center;
	border-radius: .5em;
	position: absolute;
	padding: 0.3em 0.6em;
	content: attr(data-badge);
	font-size: 1.2em;
	box-shadow: inset 0 0 0 100rem white, 0 0 0 .1em gold;
}

[data-estimated] {
	position: relative;
}
[data-estimated]:after {
	z-index: 1;
	top: -1.1em;
	color: white;
	right: -0.9em;
	text-align: center;
	border-radius: .5em;
	position: absolute;
	box-shadow: inset 0 0 0 100rem #014554;
	padding: 0.3em 0.6em;
	content: attr(data-estimated);
}

[background-blur-frame] {
	width: 100%;
	overflow: auto;
}

[background-blur] {
	font-size: 1vw;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	z-index: -2;
	display: flex;
	filter: blur(.3em);
}

[black-screen] {
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	position: fixed;
	background: rgba(0,0,0,0.2);
}

[page] {
	width: 50vw;
	display: flex;
	font-size: .5vw;
	margin: 1vw auto;
	overflow: visible;
	background: white;
	position: relative;
	height: calc(50vw / 21 * 29.7);
	box-shadow: 0 0 1vw rgba(0,0,0,0.5);
}

[button-print] {
	position: absolute;
	top: -1.5em;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	z-index: 2;
}

[button-print] button {
	width: 6%;
	display: flex;
	padding: 1%;
	margin: 0 1%;
	background: white;
	border-radius: 0.5em;
	border: 0.1em solid gray;
	box-shadow: .1em 0.1em 0.2em gray;
	max-width: 5rem;
	min-width: 1rem;
}

[button-print] button:active {
	box-shadow: none;
}

[button-print] [normal-print]:active {
	background: #ddd;
}

[button-print] [eco-print]:active {
	background: #89f290;
}

[button-print] button img {
	width: 100%;
}

@media screen {
	[printable] {
		display: none!important;
	}
}

@media print {
	@page {
		margin: 0;
		padding: 0;
	}
	[page] {
		width: 21cm!important;
		height: 29.7cm!important;
		box-shadow: none!important;
		font-size: .21cm!important;
	}
	[background-blur], [black-screen], [button-print] {
		display: none!important;
	}
	a {
		text-decoration: none;
		color: rgb(0,0,238);
	}
}

@media (max-aspect-ratio: 3/2) {
	[page] {
		margin: 0;
		width: 100%;
		display: flex;
		font-size: 1vw;
		height: calc(100vw / 21 * 29.7);
	}
	[background-blur], [black-screen] {
		display: none;
	}
	[button-print] {
		top: .5em;
	}
}

@media (max-aspect-ratio: 2/3) {
	[background-blur-frame] {
		display: flex;
		align-items: center;
		background: rgba(0,0,0,0.2);
	}
	[button-print] {
		top: -2.5em;
	}
}

[pointer]:hover {
	cursor: pointer;
}

[map] {
	width: 30em;
	height: 30em;
	display: none;
	position: absolute;
	border-radius: 10%;
	border: 0.5em dashed grey;
}

[phone] span {
	margin: 0 0.3em 0 0 !important;
	flex: none !important;
}
[phone] span:last-child {
	margin-left: none;
}

[cv] {
	display: flex;
	font-size: 1em;
	padding: 6em;
	flex-direction: column;
	justify-content: space-between;
}

[cv] section article span {
	font-size: 1.4em;
}

[cv] section h2 {
	font-size: 2.5em;
}

[cv] section h3 {
	font-size: 2em;
}

[cv] section h4 {
	font-size: 1.5em;
	margin: 0.2em 0;
	text-decoration-line: underline;
}

[cv] section h5 {
	font-size: 1.4em;
}

[cv] section [title] {
	margin: 1em 0;
}

[cv] [header] {
	display: flex;
	margin-bottom: 1em;
	flex-direction: row;
	justify-content: space-between;
}

[cv] [header] h1 {
	font-size: 3em;
}

[cv] [header] [address] {
	display: flex;
	margin: 1em 0;
	font-size: 1.5em;
	position: relative;
	flex-direction: column;
}

[cv] [header] [contact] {
	margin: 1em 0;
	font-size: 1.5em;
}

[cv] [header] [contact] p {
	display: flex;
	flex-direction: row;
}

[cv] [header] [contact] p *:nth-child(1) {
	margin-right: 0.5vw;
	flex: 1;
}
[cv] [header] [contact] p *:nth-child(2) {
	flex: 10;
}

[cv] [header] [infos] {
	flex: 1;
}

[cv] [header] [profil] {
	width: 15em;
	height: 15em;
	overflow: hidden;
	border-radius: 50%;
	box-shadow: inset 0 0 0 100rem #eee;
}
[cv] [header] [profil] img {
	width: 100%;
	height: 100%;
}

[cv] article {
	margin: 2em 0 2em 1em;
}

[cv] [experiences] article:nth-child(1n+1) {
	border-top: .2em solid grey;
}

[cv] [experiences] [dates] span:first-child::after {
	content: '-';
	margin: 0 0.5em;
}

[cv] [experiences] [title] {
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: space-between;
}

[cv] [experiences] h2 {
	display: inline-block;
}

[cv] [experiences] [address] {
	margin-left: 1em;
}

[cv] [experiences] [profil] {
	height: 3em;
	display: inline-block;
}

[cv] [experiences] [profil] img {
	height: 100%;
}

[cv] [experiences] [infos] {
	display: flex;
	flex-direction: column;
	margin: 1em 0;
}

[cv] [experiences] [infos] > div {
	display: flex;
	flex-direction: row;
}

[cv] [experiences] [infos] > div > *:nth-child(1) {
	flex: 1;
}
[cv] [experiences] [infos] > div > *:nth-child(2) {
	flex: 2;
	padding: 0 1em;
}

[cv] [skills] {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

[cv] [skills] p {
	margin: 0.2em;
	display: flex;
	color: #014554;
	border-radius: .6em;
	box-shadow: inset 0 0 0 100rem #ecf3f4;
	align-items: center;
	justify-content: space-between;
}

[cv] [skills] span {
	background: none;
	margin: 0.5em 1em;
	padding: 0;
	flex: 1;
}

[cv] [skills] [skills] p {
	flex-basis: 18%;
	margin: 0.8em;
}

[cv] [estimated] [skills] p {
	flex-basis: 32%;
	margin: 0.5em;
}

[cv] [estimated] [skills] span:nth-child(2) {
	text-align: center;
}

[cv] [estimated] [skills] span:nth-child(3) {
	color: gold;
	font-size: 2em;
	line-height: 0;
	text-align: right;
}