*
{
	padding: 0;
	margin: 0;
	font-family: 'Poppins', sans-serif;
	color: var(--sombre);
}

body
{
	background: var(--grisfonce);
}

p
{
	margin: 20px 0;
	color: var(--rouge);
}

form
{
	text-align: right;
	background: var(--gris);
}

label
{
	display: inline-block;
	margin: 30px 10px 30px 50px;
	font-size: 1.25em;
	color: var(--blanc);
	vertical-align: middle;
}

input
{
	position: relative;
	width: 200px;
	padding: 5px 10px 3px 10px;
	font-size: 1em;
	border: none;
	border-bottom: solid 2px var(--sombre);
	outline: 0;
	vertical-align: middle;
	z-index: 4;
}

input:focus
{
	border-bottom: solid 2px var(--rouge);
}

input[type="submit"]
{
	width: 100px;
	height: 100px;
	margin-left: 100px;
	background: var(--vert) url('../img/off.png') center no-repeat;
	background-size: 100px;
}

section
{
	width: 1200px;
	margin: 100px auto;
}

section div
{
	display: inline-block;
	width: 300px;
	height: 300px;
	padding: 0;
	text-align: center;
	color: var(--blanc);
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto 220px;
	vertical-align: top;
}

section div:first-of-type
{
	background-color: var(--bleu);
	background-image: url('../img/header11.png');
}

section div:nth-of-type(2)
{
	background-color: var(--bleuclair);
	background-image: url('../img/header22.png');
}

section div:nth-of-type(3)
{
	background-color: var(--orange);
	background-image: url('../img/header33.png');
}

section div:nth-of-type(4)
{
	background-color: var(--violet);
	background-image: url('../img/header44.png');
}

section div:nth-of-type(5), section div:nth-of-type(6), section div:nth-of-type(7), section div:nth-of-type(8)
{
	height: 100px;
}

section div:nth-of-type(5)
{
	background: var(--bleu);
}

section div:nth-of-type(6)
{
	background: var(--bleuclair);
}

section div:nth-of-type(7)
{
	background: var(--orange);
}

section div:nth-of-type(8)
{
	background: var(--violet);
}

section div span
{
	display: block;
	font-size: 1.5em;
	font-weight: 600;
}

section img
{
	display: block;
	width: 400px;
	margin: 100px auto;
}

label[for="calcul"], #calcul
{
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 3;
}

noscript
{
	display: block;
	padding: 110px 100px;
	margin: 150px 0;
	color: var(--rouge);
	background: rgba(255, 255, 255, 0.9) url('../img/noavif/alerte.png') top 20px center no-repeat;
	background-size: 80px;
	@supports (background-image: url('../img/avif/alerte.avif'))
	{
		background-image: url('../img/avif/alerte.avif');
	}
	text-align: center;
	font-size: 2em;
}

footer
{
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--blanc);
	text-align: center;
}