* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


#__res__ {
	display: none;
}


html {
	font-family: 'Lato';
	font-size: 18px;
	line-height: 24px;
	font-weight: 400;
	color: var(--text);
}
h1, h2, h3 {
	font-family: 'Newake';
	line-height: 1em;
	letter-spacing: 0.01em;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-weight: normal;
}
h1 {
	font-size: 50px;
}
h2 {
	font-size: 30px;
	margin: 2em 0 0 0;
}
h3 {
	font-size: 20px;
	margin: 1.5em 0 0 0;
}
strong {
	font-weight: 700;
}
p {
	margin: 1.66em 0;
	line-height: 1.66em;
}
ul, ol {
	margin: 1.5em 0 1.5em 0.5em;
}
li {
	line-height: 1.5em;
	margin: 0.75em 0;
	list-style: none;
	border-left: 3px solid var(--color1);
	padding-left: 0.75em;
}
a {
	color: var(--color1);
}
header {
	background-color: var(--color3);
	color: var(--backgroundAlt);
	padding: 0 2em;
	display: flex;
	flex-direction: column;
}
@media (max-width: 600px) {
	header {
		padding: 0 1em;
	}
}
main {
	padding: 2em;
}
.header {
	padding: calc(1em - 6px) 0 1em;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	width: 100%;
}
body.page .header {
	border-bottom: 1px solid var(--backgroundAlt);
}
.logo {
	flex-shrink: 0;
}
.logo svg {
	display: block;
	height: 60px;
	fill: var(--backgroundAlt);
}
nav {
	display: flex;
	align-items: end;
	justify-content: end;
	flex-wrap: wrap;
	gap: 0.75em;
	font-size: 0.8em;
}
nav a {
	color: var(--backgroundAlt);
	text-decoration: none;
	border: 1px solid;
	border-radius: 0.5em;
	padding: 0 0.5em;
	opacity: 0.7;
}
nav a:hover {
	opacity: 1;
}
@media (max-width: 500px) {
	nav {
		gap: 2px;
	}
}

.suite {
	text-align: center;
	margin: 2em 0;
}
.suite a {
	display: inline-block;
	text-decoration: none;
	background-color: var(--color1);
	color: var(--background);
	padding: 0.5em 1em;
	border-radius: 20px;
}


/* Info */
.info {
	margin: 3em 2em;
}
.info .content {
	margin: 0 auto;
	width: 100%;
	max-width: 900px;
	padding: 2em;
	background-color: var(--background);
	border-radius: 20px;
	color: var(--color1);
}
.info .content > *:first-child {
	margin-top: 0;
}
.info .content > *:last-child {
	margin-bottom: 0;
}
.info h2 {
	font-size: 50px;
}
@media (max-width: 600px) {
	.info {
		margin: 3em 1em;
	}
	.info .content {
		padding: 1em;
	}
}


/* Élèves */
.eleves {
	margin: 3em 2em;
}
@media (max-width: 600px) {
	.eleves {
		margin: 3em 1em;
	}
}
.eleves .content {
	display: grid;
	grid-auto-flow: row;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}
.vignette {
	height: 500px;
	background-color: var(--color1);
	color: var(--backgroundAlt);
	border-radius: 20px;
	padding: 20px;
	text-decoration: none;
	display: block;
}
.vignette h2 {
	font-size: 40px;
	line-height: 1em;
	margin: 20px 0 0 0;
}
@media (max-width: 1920px) {
	.eleves .content {
		grid-template-columns: repeat(5, 1fr);
	}
	.eleves .vignette:nth-child(n + 6) {
		display: none;
	}
}
@media (max-width: 1600px) {
	.eleves .content {
		grid-template-columns: repeat(4, 1fr);
	}
	.eleves .vignette:nth-child(n + 5) {
		display: none;
	}
}
@media (max-width: 1300px) {
	.eleves .content {
		grid-template-columns: repeat(3, 1fr);
	}
	.eleves .vignette:nth-child(n + 4) {
		display: block;
	}
}
@media (max-width: 1000px) {
	.eleves .content {
		grid-template-columns: repeat(2, 1fr);
	}
	.eleves .vignette {
		display: block;
	}
}
@media (max-width: 700px) {
	.eleves .content {
		grid-template-columns: repeat(1, 1fr);
	}
	.vignette h2 {
		font-size: 36px;
	}
	.vignette {
		height: 300px;
	}
	.eleves .vignette:nth-child(n + 5) {
		display: none;
	}
}
.vignette.style1 {
	background-color: var(--color1);
	color: hsl(216, 56%, 90%);
}
.vignette.style2 {
	background-color: var(--backgroundAlt);
	color: var(--color1);
}
.vignette.style3 {
	background-color: var(--color2);
	color: hsl(216, 55%, 94%);
}
.vignette.style4 {
	background-color: var(--backgroundAlt);
	color: var(--color2text);
}
.vignette.style5 {
	background-color: var(--color3);
	color: hsl(216, 56%, 90%);
}
.vignette.style6 {
	background-color: var(--backgroundAlt);
	color: var(--color3text);
}
.vignette.style7 {
	background-color: var(--color4);
	color: hsl(35, 58%, 88%);
}
.vignette.style8 {
	background-color: hsl(35, 58%, 88%);
	color: var(--color4text);
}



/* Intervenants */
.intervenants {
	margin: 3em 2em;
}
@media (max-width: 600px) {
	.intervenants {
		margin: 3em 1em;
	}
}
.intervenants .content {
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-flow: row;
	gap: 2em;
}
@media (max-width: 1900px) {
	.intervenants .content {
		grid-template-columns: repeat(3, 1fr);
	}
	.intervenants .billet:nth-child(n + 4) {
		display: none;
	}
}
@media (max-width: 1300px) {
	.intervenants .content {
		grid-template-columns: repeat(2, 1fr);
	}
	.intervenants .billet:nth-child(n + 4) {
		display: block;
	}
}
@media (max-width: 700px) {
	.intervenants .content {
		grid-template-columns: repeat(1, 1fr);
	}
}
.billet {
	background-color: white;
	padding: 1em 1em 1.5em 1em;
	border: 1px solid var(--text);
}
.billet img {
	width: 100%;
	display: block;
}
.billet h2 {
	margin-top: 1.5em;
}
.billet p {
	font-size: 14px;
	line-height: 1.5em;
}
.billet a.button {
	background-color: var(--color1);
	color: var(--background);
	padding: 0.5em 0.75em;
	border-radius: 0.5em;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
}


.introduction {
	margin: 0 auto;
	width: 100%;
	max-height: 100%;
	max-width: 1600px;
	padding: 4em 0;
	display: flex;
	gap: 4em;
	align-items: center;
}
.introduction .image {
	height: 100%;
	flex-grow: 1;
}
.introduction img {
	flex-shrink: 1;
	height: 100%;
	max-height: 75dvh;
}
.auteurs {
	font-size: 14px;
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}
.auteurs a {
	color: inherit;
}
.auteur {
	display: flex;
	gap: 0.5em;
	align-items: center;
	font-size: 14px;
	/*line-height: 1.3em;*/
}
.auteur .photo {
	width: 60px;
	height: 60px;
	border-radius: 50%;
}
.auteur .nom {
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 4px;
}
.auteur .titre,
.auteur .diplome {
	font-size: 11px;
	line-height: 13px;
}
@media (max-width: 1300px) {
	.introduction img {
		max-height: 60dvh;
	}
}
@media (max-width: 1200px) {
	.introduction img {
		max-height: 50dvh;
	}
}
@media (max-width: 1000px) {
	.introduction {
		flex-direction: column;
	}
	.introduction img {
		width: 100%;
		height: auto;
		max-height: unset;
	}
}
header p {
	margin-bottom: 0;
}
header h1 {
	margin: 0;
}

main > div {
	margin: 0 auto;
	width: 100%;
	max-width: 960px;
}

footer {
	background-color: #eee;
	color: rgba(0,0,0,0.6);
	font-size: 0.8em;
	padding: 3rem 1rem;
}
footer > div {
	margin: 0 auto;
	width: 100%;
	max-width: 960px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}
footer .logos {
	display: flex;
	gap: 2rem;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
}
footer .logos img {
	height: 60px;
	opacity: 0.5;
}
@media (max-width: 600px) {
	footer .logos {
		gap: 1rem;
	}
	footer .logos img {
		height: 40px;
	}
}
