/* ---------- CSS Reset adapté de https://www.joshwcomeau.com/css/custom-css-reset/ ---------- */
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* 2. Remove default margin */
* {
	margin: 0;
}

body {
	/* 4. Add accessible line-height */
	line-height: 1.5;
	/* 5. Improve text rendering */
	-webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
	hyphens: auto;
}

/* 9. Improve line wrapping */
p {
	text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}

/* ---------------------------------------- Mise en page ---------------------------------------- */
html {
	font-family:
		system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial,
		"Helvetica Neue", sans-serif;
}

body {
	max-width: 80rem;
	margin: auto;
	background: #222;
	color: #fff;
}

header,
footer,
section {
	padding: 2rem 16px;
}

header h1 {
	font-size: 100%;
}
header img {
	float: left;
	height: 4.5rem; /* 3 * line-height */
	margin-right: 0.5rem;
	image-rendering: pixelated;
}

section > * + * {
	margin-top: 1rem;
}

footer {
	text-align: center;
}

/* ------------------------------------------ Éléments ------------------------------------------ */
ul {
	padding: 0;
	list-style: square;
	list-style-position: inside;
}
@media (min-width: calc(80rem + 2 * 16px - 1px)) {
	ul {
		list-style-position: initial;
	}
}
li + li {
	margin-top: 0.25rem;
}
ul.is-large li + li {
	margin-top: 1rem;
}

h2::before {
	content: "";
	display: block;
	height: 0.5em;
	width: 0.5em;
	background: #fff;
}

a {
	color: inherit;
}
a:hover {
	filter: brightness(0.8);
}
