:root {
	--backgroundColor: hsl(28, 30%, 94%);
	--darkBackgroundColor: hsl(28, 30%, 88%);
	--text: rgba(0,0,0,0.85);
	--noteText: hsl(28, 20%, 25%);
	--noteBackground: hsl(28, 30%, 90%);
	--noteBorder: hsl(28, 15%, 68%);
	
	--color1: hsl(241, 50%, 52%);
	--color2: hsl(196, 77%, 60%);
	--color3: hsl(0, 90%, 62%);
	
	--linkBorder: hsla(241, 50%, 52%, 0.5);
	--linkBackground: hsla(241, 50%, 52%, 0.05)
}
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 200;
	src: url('/style/webfonts/poppins-v21-latin-200.woff2') format('woff2');
}
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	src: url('/style/webfonts/poppins-v21-latin-regular.woff2') format('woff2'), url('/style/webfonts/poppins-v21-latin-regular.woff') format('woff');
}
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	src: url('/style/webfonts/poppins-v21-latin-700.woff2') format('woff2'), url('/style/webfonts/poppins-v21-latin-700.woff') format('woff');
}
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 900;
	src: url('/style/webfonts/poppins-v21-latin-900.woff2') format('woff2'), url('/style/webfonts/poppins-v21-latin-900.woff') format('woff');
}
* {
	margin: 0;
	padding: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	border: none;
}
html {
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	color: var(--text);
	background-color: white;
}
body {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
	padding-bottom: 1.5em;
	position: fixed;
	width: 100%;
	top: 0;
	bottom: 0;
	overflow: hidden;
}
.hidden {
	display: none !important;
}
.print {
	display: none;
}
img.radius {
	border-radius: 1em;
}
h1, h2, h3 {
	margin: 2em 0 1em;
	line-height: 1.2em;
	letter-spacing: -0.02em;
	font-weight: 700;
}
h1 {
	font-size: 3em;
}
h2 {
	font-size: 2em;
}
h3 {
	font-size: 1.5em;
}
p {
	margin: 1em 0;
	line-height: 1.7em;
}
a {
	color: inherit;
}
ul, ol {
	margin: 1em 0;
}
li {
	list-style: none;
	margin: 0.5em 0;
	line-height: 1.7em;
	display: flex;
}
li:before {
	content: "\2B24";
	margin-right: 1em;
	color: var(--color1);
}
hr {
	border: 1px solid;
	margin: 2em 0;
}
.block {
	position: relative;
}
.page {
	display: flex;
	gap: 1.5em;
	padding: 0 1.5em;
	height: calc(100% - 4.5em);
}


/* ----- HEADER ----- */
header {
	background-color: hsl(0, 0%, 15%);
	color: white;
	font-weight: 700;
	height: 3em;
	padding: 0 1.5em;
	flex-shrink: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
header img {
	display: block;
	filter: invert(100%);
	cursor: pointer;
}
header > div {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 1.5em;
}
header a {
	text-decoration: none;
}
header .titre {
	flex-grow: 1;
}

/* ----- NAV ----- */
nav {
	position: fixed;
	top: 3em;
	padding: 0 1.5em;
	left: -100%;
	width: calc(100% - 3em);
	height: calc(100% - 3em);
	background-color: hsl(0, 0%, 15%);
	color: white;
	overflow-y: auto;
	transition-duration: 0.5s;
}
nav.visible {
	left: 0;
}
nav > * {
	padding: 1em;
	width: calc(100% - 2em);
	border-bottom: 1px solid rgba(255,255,255,0.3);
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
	cursor: pointer;
}
nav > *:last-child {
	border: none;
}
nav .logo {
	display: block;
	margin-top: 2em;
}
nav .logo img {
	display: inline-block;
	filter: invert(100%);
}
@media (min-width: 601px) {
	nav .logo {
		display: none;
	}
}

/* ----- ASIDE ----- */
aside {
	background-color: hsl(333, 80%, 55%);
	color: white;
	border-radius: 1em;
	width: 280px;
	height: 100%;
	flex-shrink: 0;
	overflow: hidden;
	overflow-y: auto;
}
aside > * {
	padding: 1em;
	border-bottom: 1px solid rgba(255,255,255,0.3);
	text-align: center;
	line-height: 1.3em;
	cursor: pointer;
	transition-duration: 0.6s;
	background-image: url(aside.svg);
	background-repeat: repeat-y;
	background-position: -6px;
}
aside > *:hover {
	background-color: hsl(333, 80%, 70%);
}
aside > *:first-child {
	margin-top: 1em;
}
aside > *:last-child {
	margin-bottom: 1em;
}
aside > *.active {
	background-position: 0px;
}
@media (max-width: 900px) {
	aside {
		display: none;
	}
}

/* ----- MAIN ----- */
/* ----- MAIN: PRESENTATION ----- */
main {
	background-color: var(--backgroundColor);
	flex-grow: 1;
	border-radius: 1em;
	padding: 1.5em;
	position: relative;
	cursor: default;
}
main.presentation {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
main.presentation > * {
	text-align: center;
}
/* ----- MAIN: TEXT ----- */
main.text {
	overflow: auto;
	padding: 0 1.5em;
}
main.text > div {
	margin: 6rem auto;
	width: 100%;
	max-width: 900px;
}
main.text h2 {
	color: var(--color1);
	padding: 1em 0.5em 0.25em 0.5em;
	margin: 1em -0.5em;
	border-bottom: 2px solid var(--color1);
	position: sticky;
	top: 0;
	background-color: var(--backgroundColor);
}
main.text > div > p:not(.link):focus,
main.text > div > .block > p:not(.link):focus,
main.text > div li:focus,
main.text > div > .block li:focus {
	background-color: var(--darkBackgroundColor);
	border-radius: 0.75em;
	padding: 0.5em 1em;
	margin: -0.5em -1em;
}
main.text a,
main.text .goTo {
	color: var(--color1);
	text-decoration: underline;
	cursor: pointer;
}
main.text p.link {
	padding: 0.5em 1em 0.5em 2.5em;
	background-image: url(link.svg);
	background-repeat: no-repeat;
	background-position: 0.5em center;
	border: 1px solid var(--linkBorder);
	border-radius: 1em;
	background-color: var(--linkBackground);
}
main.text > div > img,
main.text > div > a > img,
main.text > div > div.block > img,
main.text > div > div.block > a > img {
	display: block;
	width: 100%;
	border-radius: 1em;
	margin: 1.5em 0;
}
main.text section {
	background-color: var(--noteBackground);
	border-top: 3px solid var(--noteBorder);
	border-bottom: 3px solid var(--noteBorder);
	padding: 1em;
	margin: 2em -1em;
}
main.text section > *:first-child {
	margin-top: 0;
}
main.text section > *:last-child {
	margin-bottom: 0;
}
main.text .images {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	margin: 2em 0;
}
main.text .images > img {
	display: block;
	width: 100%;
	max-width: calc(50% - 0.75em);
	border-radius: 1em;
}
main.text .images a {
	display: block;
	max-width: calc(50% - 0.75em);
}
main.text .images a img {
	display: block;
	width: 100%;
	border-radius: 1em;
}
@media (max-width: 800px) {
	main.text .images img {
		max-width: unset;
	}
}
main.text .flex {
	display: flex;
	gap: 1.5em;
	flex-basis: 100%;
	margin: 1.5em 0;
}
main.text .flex > * {
	text-align: center;
}
main.text .table {
	display: flex;
	gap: 1.5em;
	margin: 2em 0;
}
main.text .table.link {
	background-image: url(tableLink.svg);
	background-repeat: repeat-x;
	background-position: center center;
}
main.text .table > * {
	flex-basis: 100%;
	border: 1px solid var(--noteBorder);
	border-radius: 0.75em;
	padding: 1em;
	text-align: center;
	color: var(--noteText);
	background-color: var(--noteBackground);
	font-size: 0.9em;
}
main.text .table > * > * {
	line-height: 1.3em;
	margin: 0.5em 0;
}
main.text .table > * > *:first-child {
	margin-top: 0;
}
main.text .table > * > *:last-child {
	/*margin-bottom: 0;*/
}
main img.medium {
	width: 100%;
	max-width: 50%;
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (max-width: 600px) {
	body {
		gap: unset;
		padding: unset;
		overflow: auto;
	}
	header {
		width: 100%;
		position: fixed;
		z-index: 1;
	}
	header .logo {
		display: none;
	}
	.page {
		gap: unset;
		padding: unset;
		height: auto;
		overflow: auto;
	}
	main {
		border-radius: unset;
		overflow: auto;
	}
	h1 {
		font-size: 2.2em;
	}
	main.text > div {
		margin: 4rem 0 3rem 0;
	}
	main.text h2 {
		padding-top: 2em;
	}
	main.text .table {
		flex-direction: column;
		gap: 1em;
	}
	main.text .table.link {
		background-image: url(tableLinkMobile.svg);
		background-repeat: repeat-y;
	}
}

/* CUSTOM */
.outils {
	display: flex;
	flex-direction: column;
	gap: 1em;
}
.outils > * {
	display: flex;
	background: white;
	text-decoration: none;
	color: black !important;
	border-radius: 1em;
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.2);
	box-sizing: border-box;
}
.outils > * > * {
	/*width: 50%;*/
}
.outils > * img {
	width: 400px;
	height: 300px;
}
.outils > * > *:last-child {
	padding: 1em;
}
.outils h3 {
	margin: 0.5em 0 1em 0 !important;
}
.outils p {
	line-height: 1.5em;
}
.outils .prix {
	border: 1px solid;
	text-transform: uppercase;
	font-size: 0.9em;
	font-weight: 600;
	display: inline-block;
	padding: 0.2em 0.5em;
	border-radius: 0.5em;
	margin: 0 0.1em 0.2em 0;
	line-height: 1.3em;
}
@media (max-width: 600px) {
	.outils > * {
		flex-direction: column;
	}
}
@media (max-width: 1200px) {
	.outils > * {
		flex-direction: column;
	}
	.outils > * img {
		width: 100%;
		height: unset;
	}
}
