@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@160;200;300;400;500;600;700&display=swap');

:root {
	--jaune: #FAB233;
	--bleu: #000D33;
	--blanc: #FFFFFF;
	--rouge: #B11526;
	
	--noir: #000000;
	--ovh: #FFD893;
	
	--rose: #FD6C9E;
	--bleulib: #0080FF;
	--jaunepur: #FFCC00;
	--bleueuro: #003399;
	--bordeaux: #850606;
	--vert: #42B640;
	--violet: #440099;
	--pourpre: purple;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background-color: var(--rouge);
	scroll-behavior: smooth;
}

::selection {
	background-color: var(--ovh);
}

body {
	position: relative;
	margin: 0;
	width: 100%;
	align-content: center;
	font-family: 'Readex Pro', sans-serif;
	font-weight: 300;
	color: var(--noir);
	background: var(--blanc);
}

header {
	background: var(--bleu);
	text-align: center;
	position: fixed;
	top: 0;
	z-index: 999;
	width: 100%;
	box-shadow: 0 3px 20px 0 #0000003b;
}

main {
	padding: 7rem 2rem 22rem;
	overflow: hidden;
}

footer {
	position: absolute;
	bottom: 0;
	text-align: center;
	width: 100%;
	padding: 2rem 0;
	background: var(--rouge);
	color: var(--blanc);
}

footer p {
	font-weight: 600px;
}

nav {
	position: absolute;
	text-align: left;
	top: 100%;
	left: 0;
	background: var(--bleu);
	width: 100%;
	height: 100vh;
	box-shadow: 0 10px 10px 0 #0000003b;
	transform: scale(1,0);
	transform-origin: top;
	transition: transform 300ms ease-in-out;
}

nav ul {
	margin: 0 0 2em 0;
	padding: 0;
	list-style: none;
}

nav li {
	margin-bottom: 1em;
	margin-left: 2em;
}

nav a {
	color: var(--blanc);
	text-decoration: none;
	font-size: 1.2rem;
	text-transform: uppercase;
	opacity: 0;
	transition: opacity 150ms ease-in-out;
}

nav a.ouverte {
	color: var(--jaune);
}

nav a:hover {
	color: var(--ovh);
}

.bouton-menu {
	display: none;
	padding: 10vh;
}

.bouton-menu:checked ~ nav {
	transform: scale(1,1);
}

.bouton-menu:checked ~ nav a {
	opacity: 1;
	transition: opacity 300ms ease-in-out 250ms;
}

.label-menu {
	position: absolute;
	top: 0;
	left: 0;
	margin-left: 2em;
	height: 100%;
	display: flex;
	align-items: center;
}

.label-menu span,
.label-menu span::before,
.label-menu span::after {
	display: block;
	background: var(--blanc);
	height: 3px;
	width: 2em;
	border-radius: 3px;
	position: relative;
	transition: all 150ms ease-in-out;
}

.label-menu span::before,
.label-menu span::after {
	content:'';
	position: absolute;
}

.label-menu span::before {
	bottom: 9px;
}

.label-menu span::after {
	top: 9px;
}

.bouton-menu:checked ~ .label-menu span {
	height: 0;
}

.bouton-menu:checked ~ .label-menu span::before {
	transform: rotate(43deg);
	transform-origin: top left;
}

.bouton-menu:checked ~ .label-menu span::after {
	transform: rotate(-43deg);
	transform-origin: bottom left;
}

.logo {
	letter-spacing: 10px;
}

button {
	position: relative;
	z-index: 1;
	border: none;
	outline: none;
	padding: 10px 20px;
	border-radius: 50px;
	font-size: 1rem;
	color: var(--blanc);
	margin-bottom: 50px;
	background: var(--bleu);
	box-shadow: 0 3px 20px 0 #0000003b;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.1s ease-out;
}

button:hover {
	background-color: var(--blanc);
	color: var(--bleu);
	box-shadow: 0 0 0 3px var(--bleu);
}

a {
	color: inherit;
}

a:hover {
	color: var(--ovh);
}

.terminer {
	background-color: var(--rouge);
}

.terminer:hover {
	background-color: var(--blanc);
	color: var(--rouge);
	box-shadow: 0 0 0 3px var(--rouge);
}

.info {
	background-color: var(--blanc);
	color: var(--noir);
	margin: 0;
}

.info:hover {
	background-color: var(--blanc);
	color: var(--noir);
	box-shadow: 0 0 0 3px var(--jaune);
}

#accueil{
	text-align: center;
	padding-top: 10vh;
	padding-bottom: 5vh;
}

.banniere {
	display: flex;
	overflow: hidden;
	width: 100%;
	padding: 5px 0;
	position: absolute;
	background: var(--jaune);
	z-index: -1;
	transform: scale(1,1);
	transform-origin: top;
	transition: transform 500ms ease-in-out;
}

.defil {
	white-space: nowrap;
	animation: defilement 20s linear infinite;
}

@keyframes defilement {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(-100%, 0);
	}
}


progress {
	-webkit-appearance: none;
   appearance: none;
	width: 15rem;
	height: 10px;
}

progress::-webkit-progress-bar {
	background-color: var(--blanc);
	border-radius: 10px;
	box-shadow: 0 3px 20px 0 #0000003b;
}

progress::-webkit-progress-value {
	background-image: linear-gradient(to right, var(--bleu), var(--rouge));
	border-radius: 10px;
}

small {
	font-weight: 300;
}

div:target {
    padding-top: 7em;
    margin-top: -7em;
}

table {
	margin-left:auto;
	margin-right:auto;
}

.indenté {
	text-indent: 40px;
}

.sansmarge {
	margin: 0 -2em;
	padding: 0;
}

/*====================================================================*/
/*===============================TEST=================================*/
/*====================================================================*/

#q1,
#q2,
#q3,
#q4,
#q5,
#résultats {
	display: none;
}

.q b {
	-webkit-text-fill-color: transparent;
	text-shadow: 0px 0px #00000000;
}

.qéco {
	background: linear-gradient(to bottom, var(--rose), var(--bleulib));
	-webkit-background-clip: text;
}

.qsté {
	background: linear-gradient(to bottom, var(--noir), var(--jaunepur));
	-webkit-background-clip: text;
}

.qsouv {
	background: linear-gradient(to bottom, var(--bleueuro), var(--bordeaux));
	-webkit-background-clip: text;
}

.qpo {
	background: linear-gradient(to bottom, var(--violet), var(--vert));
	-webkit-background-clip: text;
}

.qid {
	background: linear-gradient(to bottom, var(--pourpre), var(--jaunepur));
	-webkit-background-clip: text;
}

/*====================================================================*/
/*===============================AXES=================================*/
/*====================================================================*/

.axes {
	padding-top: 1em;
	padding-bottom: 1em;
}

.axe-90vw {
	position: relative;
	padding: 0;
	margin:0 5vw;
	text-align: center
	align-content: center;
}

.nom-axe {
	margin-bottom: 0.2em;
	text-align: center;
	text-transform: uppercase;
}

.label-axe {
	margin: 0;
	width: 100%;
	height: 0.75em;
}

.gauche {
	float: left;
	margin-left: 2vw;
}

.droite {
	float: right;
	margin-right: 2vw;
}

.axe {
	position: relative;
	width: 100%;
	height: 4.5vw;
	border-radius: 4.5vw;
	background: var(--bleu);
	display:fixed;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
	padding-right: 4.5vw;
	box-shadow: 0 3px 20px 0 #0000003b;
}

.éco {
	background: linear-gradient(to right, var(--rose), var(--bleulib));
}

.sté {
	background: linear-gradient(to right, var(--jaunepur), var(--noir));
}

.souv {
	background: linear-gradient(to right, var(--bleueuro), var(--bordeaux));
}

.po {
	background: linear-gradient(to right, var(--vert), var(--violet));
}

.id {
	background: linear-gradient(to right, var(--pourpre), var(--jaunepur));
}

.pp {
	position: absolute;
	height: 100%;
	border-radius: 50%;
	border: 0.25vw solid var(--blanc);
	transition: all 0.2s;
}

.pp:hover {
	transform: scale(1.2);
	transform-origin: center;
	box-shadow: 0 0 2vw 0 rgba(0,0,0,0.5);
	z-index: 900;
}

.flèche {
	position: relative;
	color: var(--rouge);
	font-size: 4.5vw;
	font-weight: 700;
	text-align: center;
	margin: 0;
	padding: 0;
	transition: transform 0.2s;
}

.flèche:hover {
	transform: translate(0, -1vw);
	transform-origin: top;
}

/*====================================================================*/
/*==============================TABLEAU===============================*/
/*====================================================================*/

#proximité {
	margin: 0 auto;
	width: 35em;
	display: none;
	border: 1px solid transparent;
}

.div-écran {
	text-align: center;
	margin: 2em auto;
	padding: 0;
	width: 28em;
	border: 0.5em solid var(--rouge);
	border-radius: 5em;
}

caption {
	padding-top: 1.5em;
	padding-bottom: 0.5em;
	border: 0.5em solid var(--bleu);
	border-top-left-radius: 4em;
	border-top-right-radius: 4em;
	border-bottom: none;
}

.ppp {
	height: 3em;
	border-radius: 50%;
}

table {
	table-layout: fixed;
	text-align: left; 
	margin: 0.5em auto;
	border-collapse: collapse;
	border: 0.5em solid var(--bleu);
	border-top: none;
	border-radius: 4em;
}

td {
	padding: 0.5em 0;
}

tbody tr td:nth-child(1) {
	width: 5em;
	padding-left: 2em;
}

tbody tr td:nth-child(2) {
	width: 15em;
	padding-left: 2em;
}

tbody tr td:nth-child(3) {
	width: 5em;
	padding-right: 2em;
	text-align: right;
}

tfoot {
	background-color: var(--bleu);
	border-top: 2em solid transparent;
	border-bottom-left-radius: 4em;
	border-bottom-right-radius: 4em;
}

tfoot tr td {
	padding-bottom: 2em;
}

.div-capture {
	text-align: center;
}

.capture {
	max-height: 90vh;
	max-width: 500px;
	height: auto;
	width: auto;
	display: none;
	margin: auto;
}

/*====================================================================*/
/*==============================À=PROPOS==============================*/
/*====================================================================*/

.projet {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-bottom: 50px;
}

.présentation {
	width: 20em;
	margin: 2em auto; /* =body-margin */
	background: var(--blanc);
	text-align: center;
	border: 1em solid var(--blanc);
	border-radius: 2em;
	box-shadow: 0 3px 20px 0 #0000003b;
}

.nom {
	font-size: 1.5rem;
	font-weight: 400;
	margin: 60px 0 0;
}

.npp {
	height: 100px;
	border-radius: 50%;
	border: 5px solid var(--blanc);
}

.couverture {
	margin: 0;
	padding: 25px 0 0;
	height: 75px;
	width: 100%;
	border-top-left-radius: 1em;
	border-top-right-radius: 1em;
}

.ed {
	background: linear-gradient(to bottom right, var(--rouge), var(--jaune));
}

.mg {
	background: linear-gradient(to bottom left, var(--rouge), var(--jaune));
}

.cg {
	background: linear-gradient(to top right, var(--rouge), var(--jaune));
}

.mh {
	background: linear-gradient(to top left, var(--rouge), var(--jaune));
}

/*====================================================================*/
/*===============================MEDIA================================*/
/*====================================================================*/

.ordinateur {
	display: block;
}
.smartphone {
	display: none;
}

@media screen and (max-width: 500px) {
	.ordinateur {
		display: none;
	}
	.smartphone {
		display: block;
	}
	.pied small {
		font-size: 0.5rem;
	}
	.logo {
		letter-spacing: 3px;
	}
	.capture {
		max-width: 100%;
	}
}
	