:root {
	--bleu_fonce: hsl(233, 50%, 24%);
	--bleu_fonce_active: hsl(233, 40%, 45%);
	--bleu_fonce_alpha: hsla(233, 50%, 20%, 0.6);
}
@font-face {
	font-family: 'Inter';
	font-weight: 100 900;
	font-style: normal;
	font-named-instance: 'Regular';
	src: url("fonts/InterVariable.woff2") format("woff2");
}
* {
	margin: 0;
	padding: 0;
}
html {
	font-family: Inter, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-style: normal;
	color: black;
}
body {
	transition-delay: 1s;
	background-color: hsl(176, 50%, 80%);
}
p {
	margin: 1em 0;
	line-height: 1.5em;
}
ul {
	margin: 1em 0 1em 2em;
}
li {
	margin: 0.5em 0;
}
h1 {
	font-weight: 700;
	font-size: 2.5em;
	margin: 1em 0;
}
h2 {
	font-weight: 600;
	font-size: 2em;
	margin: 2em 0 1rem 0;
}


.fullPage {
	width: 100%;
	min-height: 100dvh;
}
.hidden {
	display: none !important;
}
#app {
	position: relative;
	width: 100%;
}
#background {
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	background-image: url(casier-vert-fade.webp);
	/*background-attachment: fixed;*/
	background-repeat: repeat-x;
	background-size: contain;
	background-position: top center;
}


/* ACCUEIL */
.section-accueil {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	gap: 2em;
	/*background-image: url(casier-vert-fade.webp);
	background-attachment: fixed;
	background-repeat: repeat-x;
	background-size: contain;
	background-position: top center;*/
}
.section-accueil .logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1em;
	cursor: pointer;
	margin-top: 2em;
}
.section-accueil .cadenas {
	position: relative;
}
.section-accueil .cadenas img {
	display: block;
	width: 100%;
	max-width: 132px;
}
.section-accueil .cadran {
	position: absolute;
	bottom: 0;
	animation-duration: 7s;
	animation-name: cadran;
	animation-iteration-count: infinite;
}
.section-accueil .slogan {
	width: calc(100% - 4em);
	max-width: 380px;
}
.section-accueil .bandeau {
	background-color: var(--bleu_fonce);
	width: calc(100% - 2rem);
	color: white;
	padding: 1.25em 1rem;
	display: flex;
	justify-content: center;
	margin-bottom: 2em;
}
.section-accueil p {
	font-size: 1.5em;
	line-height: 1.15em;
	font-weight: 600;
	width: calc(100% - 2em);
	max-width: 480px;
	text-align: center;
}


/* INFOS */
.section-infos {
	background-color: white;
	color: var(--bleu_fonce);
	padding: 2em 1em;
}
.section-infos > div {
	margin: 0 auto;
	max-width: 800px;
}
.section-infos .bouton {
	background-color: var(--bleu_fonce);
	background-image: linear-gradient(var(--bleu_fonce), );
	color: white;
	font-weight: 800;
	width: max-content;
	margin: 2em auto;
	font-size: 1.5em;
	padding: 1em;
	border-radius: 0.5em;
}
.section-infos .bouton a {
	color: white;
	text-decoration: none;
}
.section-infos .entrerCombinaison {
	cursor: pointer;
	width: max-content;
	margin: 2em auto;
	font-weight: 800;
	border: 3px solid;
	padding: 1em;
	border-radius: 0.5em;
}
.partenaires {
	margin: 3em 0;
	display: flex;
	flex-wrap: wrap;
	gap: 3em;
	justify-content: center;
	align-items: center;
}
.partenaires img {
	width: 100%;
	max-width: 200px;
	display: block;
}


#form {
	position: fixed;
	top: -100%;
	width: 100%;
	height: 100%;
	background-color: var(--bleu_fonce_active);
	transition: top 0.5s, opacity 0.5s;
	opacity: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1em;
}
#form.visible {
	top: 0;
	opacity: 1;
}
#form > div {
	padding: 1em;
	box-sizing: border-box;
	width: 100%;
	max-width: 400px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1em;
}
#form .titre {
	color: white;
	font-size: 1.5em;
	font-weight: 600;
}
#form input {
	box-sizing: border-box;
	width: 100%;
	font-family: monospace;
	text-align: center;
	font-size: 2em;
	padding: 0.25em 0.5em;
	border-radius: 0.5rem;
	background: white;
	border: none;
	outline: none;
	letter-spacing: 0.2em;
	
}
#form .btns {
	display: flex;
	gap: 1em;
} 
#form .btn {
	width: fit-content;
	color: white;
	border: 3px solid;
	padding: 0.5em 1em;
	border-radius: 0.5rem;
	font-size: 1.25em;
	font-weight: 600;
	cursor: pointer;
	background: rgba(255,255,255,0.2);
}
#form .btn.cancel {
	font-weight: normal;
	opacity: 0.5;
	background: none;
}


.scrollButton {
	width: 2em;
	height: 2em;
	outline: 2px solid white;
	border-radius: 0.25em;
	position: absolute;
	bottom: 2em;
	left: calc(50% - 1em);
	background-color: var(--bleu_fonce_alpha);
	background-image: url(scroll-blanc.svg);
	background-repeat: no-repeat;
	background-position: center;
	transition-duration: 0.2s;
	opacity: 0.75;
	cursor: pointer;
}
.scrollButton:hover {
	width: 4em;
	left: calc(50% - 2em);
	opacity: 1;
	border-radius: 1em;
}
@media (max-width: 600px) {
	.scrollButton {
		display: none;
	}
}
