:root {
	--dark: hsl(248, 30%, 15%);
	--light: hsl(35, 33%, 80%);
	--lightAlt: hsl(35, 33%, 75%);
	--color1: hsl(257, 42%, 33%);
	--color1alt: hsl(257, 38%, 44%);
	--color2: hsl(360, 70%, 57%);
	--color3: hsl(36, 75%, 60%);
}
@font-face {
	font-family: 'Inter';
	font-weight: 100 900;
	font-display: swap;
	font-style: normal;
	font-feature-settings: 'liga' 1, 'calt' 1; /* Chrome */
	src: url("/style/font/InterVariable.woff2?v=4.1") format("woff2");
}
@font-face {
	font-family: 'Newake';
	font-display: swap;
	font-style: normal;
	font-feature-settings: 'liga' 1, 'calt' 1; /* Chrome */
	src: url("/style/font/Newake-Regular.woff2") format("woff2");
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


#__res__ {
	display: none;
}


.style1 {
	background-color: var(--light);
	color: var(--dark);
}
.style1 path {
	fill: var(--light);
}
.style1 .button,
.button.style1,
.style1 .alt {
	background: var(--dark);
	color: var(--light);
}

.style2 {
	background-color: var(--light);
	color: var(--color1)
}
.style2 path {
	fill: var(--light);
}
.style2 .button,
.button.style2,
.style2 .alt {
	background: var(--color1);
	color: var(--light);
}

.style3 {
	background-color: var(--light);
	color: var(--color2)
}
.style3 path {
	fill: var(--light);
}
.style3 .button,
.button.style3,
.style3 .alt {
	background: var(--color2);
	color: var(--light);
}

.style4 {
	background-color: var(--color1);
	color: var(--light)
}
.style4 path {
	fill: var(--color1);
}
.style4 .button,
.button.style4,
.style4 .alt {
	background: var(--light);
	color: var(--color1);
}

.style5 {
	background-color: var(--color1);
	color: var(--color2)
}
.style5 path {
	fill: var(--color1);
}
.style5 .button,
.button.style5,
.style5 .alt {
	background: var(--color2);
	color: var(--color1);
}

.style6 {
	background-color: var(--color1);
	color: var(--color3)
}
.style6 path {
	fill: var(--color1);
}
.style6 .button,
.button.style6,
.style6 .alt {
	background: var(--color3);
	color: var(--color1);
}

.style7 {
	background-color: var(--color2);
	color: var(--light)
}
.style7 path {
	fill: var(--color2);
}
.style7 .button,
.button.style7,
.style7 .alt {
	background: var(--light);
	color: var(--color2);
}

.style8 {
	background-color: var(--color2);
	color: var(--color1)
}
.style8 path {
	fill: var(--color2);
}
.style8 .button,
.button.style8,
.style8 .alt {
	background: var(--color1);
	color: var(--color2);
}

.style9 {
	background-color: var(--color2);
	color: var(--color3)
}
.style9 path {
	fill: var(--color2);
}
.style9 .button,
.button.style9,
.style9 .alt {
	background: var(--color3);
	color: var(--color2);
}

.style10 {
	background-color: black;
	color: var(--light)
}
.style10 path {
	fill: black;
}
.style10 .button,
.button.style10,
.style10 .alt {
	background: var(--light);
	color: black;
}

.style11 {
	background-color: black;
	color: var(--color1alt)
}
.style11 path {
	fill: black;
}
.style11 .button,
.button.style11,
.style11 .alt {
	background: var(--color1alt);
	color: black;
}
.style11 .contrast {
	color: var(--color3);
}

.style12 {
	background-color: black;
	color: var(--color2)
}
.style12 path {
	fill: black;
}
.style12 .button,
.button.style12,
.style12 .alt {
	background: var(--color2);
	color: black;
}

.style13 {
	background-color: black;
	color: var(--color3)
}
.style13 path {
	fill: black;
}
.style13 .button,
.button.style13,
.style13 .alt {
	background: var(--color3);
	color: black;
}


html {
	font-family: 'Inter';
	font-size: 18px;
	line-height: 24px;
	font-weight: 400;
	background: var(--dark);
	color: var(--light);
}
body {
	transition: background 0.5s;
}
h1, h2 {
	font-family: 'Newake';
	font-size: 50px;
	line-height: 1em;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-weight: normal;
}
@media (max-width: 640px) {
	h1, h2 {
		font-size: 42px;
	}
}
em {
	font-weight: 600;
	font-size: 1.25em;
	font-style: normal;
}
header, main, footer {
	width: 100%;
	margin: 0 auto;
}
main {
	transition: opacity 0.5s;
	/*padding: 20px 0;*/
	display: flex;
	flex-direction: column;
	align-items: center;
}
main > * {
	width: 100%;
	max-width: 640px;
}
@media (max-width: 640px) {
	main > * {
		max-width: unset;
	}
}
main.hidden {
	opacity: 0;
}
.noScroll {
	overflow: hidden;
}
footer {
	background-color: black;
	text-align: center;
	padding: 40px 20px;
}
body.noScroll footer {
	opacity: 0;
}


#logo svg {
	padding: 20px 20px 0;
}
#logo svg path {
	fill: var(--light);
}
#intro {
	margin: 20px 0 40px;
	padding: 0 20px;
}
#intro p {
	font-size: 20px;
	text-align: center;
}
#sujets {
	display: flex;
	flex-direction: column;
	gap: 20px;
	transition: opacity 0.5s;
	padding: 20px;
}
main section,
#fullscreen section {
	border-radius: 20px;
	padding: 20px;
	position: relative;
}
main section {
	cursor: pointer;
}
main section h2 {
	margin-top: 20px;
}
main section p {
	display: none;
}
.button {
	position: absolute;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	overflow: hidden;
	border: 0;
	box-sizing: content-box;
	transition: 0.5s;
	cursor: pointer;
}
.button svg {
	display: block;
}
.button.arrow {
	right: 20px;
	bottom: 20px;
}
#fullscreen section .button {
	position: unset;
	width: fit-content;
	height: 40px;
	border-radius: 20px;
	line-height: 40px;
	padding: 0 30px;
	font-weight: 600;
}
@media (hover: hover) and (pointer: fine) {
	/*main section:hover .button.arrow {
		border: 2px solid;
		right: 18px;
		bottom: 18px;
	}*/
}
@media (max-width: 640px) {
	/*#sujets {
		margin: 20px;
	}*/
	main section,
	#fullscreen section {
		height: 500px;
	}
}
@media (min-width: 641px) {
	/*#sujets {
		padding: 20px 0;
	}*/
	/*main,
	#fullscreen #main {
		max-width: 600px;
	}*/
	main section,
	#fullscreen section {
		height: 300px;
	}
}


#fullscreen {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
}
#fullscreen.fullsize {
	overflow-y: auto;
	scroll-snap-type: y mandatory;
}
#fullscreen section {
	transition-duration: 0.5s;
	scroll-snap-align: start;
	/*display: none;*/
	max-width: 600px;
	margin: 0 auto;
}
#fullscreen section:first-child {
	/*display: block;*/
}
#fullscreen.fullsize section {
	height: 100%;
	top: 0 !important;
	max-width: 600px;
	/*margin: 0;*/
	/*display: block;*/
	/*border-radius: 0;*/
}
#fullscreen section p {
	margin: 1rem 0;
}
#fullscreen section li {
	margin: 0.5em 0 0.5em 0;
	list-style: none;
	border-left: 4px solid;
	padding-left: 0.5em;
}
#fullscreen section .emoji {
	font-size: 3em;
	margin-top: 2rem;
	margin-bottom: 1rem;
}
#fullscreen section .statistique {
	margin: 1em 0;
}
#fullscreen section .statistique > div {
	min-width: fit-content !important;
	border: 1px solid;
	font-size: 0.8em;
	line-height: 1rem;
	margin: 3px 0;
	border-radius: 20px;
	padding: 2px 6px;
}
#fullscreen section .statistique > div:first-child {
	border: unset;
	text-align: unset;
	line-height: unset;
	margin: unset;
	font-weight: 600;
	border-radius: unset;
	padding: unset;
}
@media (max-height: 640px) {
	#fullscreen.fullsize {
		scroll-snap-type: none;
	}
	#fullscreen.fullsize section {
		height: auto;
		max-width: unset;
	}
}
@media (max-width: 640px) {
	#fullscreen.fullsize section {
		padding-left: 40px;
		padding-right: 40px;
		max-width: unset;
	}
}
@media (min-width: 641px) {
	#fullscreen.fullsize section {
		
	}
}
#fullscreen section h2 {
	margin: 20px 0 40px;
}
#fullscreen.fullsize section h2 {
	
}
#fullscreen section > *:not(h2) {
	transition-duration: 0.5s;
	opacity: 0;
}
#fullscreen.fullsize section > *:not(h2) {
	opacity: 1;
}
#fullscreen .button.close {
	left: 20px;
	opacity: 0;
}
#fullscreen .button.arrow {
	right: 20px;
}
#fullscreen.fullsize .button.close,
#fullscreen.fullsize .button.arrow {
	opacity: 1;
	top: calc(100% - 60px) !important;
	position: fixed;
}
#fullscreen.fullsize .button.arrow {
	transform: rotate(90deg);
}
@media (max-width: 640px) {
	#fullscreen section {
		margin: 0 20px;
	}
	#fullscreen.fullsize section {
		margin: 0;
		padding-left: 40px;
		padding-right: 40px;
		border-radius: 0;
	}
	#fullscreen .button.arrow {
		right: 40px;
	}
	#fullscreen .button.close {
		left: 40px;
	}
}
@media (min-width: 641px) {
	#fullscreen .button.arrow {
		right: calc(50% - 280px);
	}
	#fullscreen .button.close {
		left: calc(50% - 280px);
	}
}


section.vertical {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
}
section.center {
	align-items: center;
	text-align: center;
}
section.video {
	display: flex;
	justify-content: center;
}
section.video video {
	padding-bottom: 60px;
}
