@font-face {
	font-family: 'Alan Sans';
	src: url('/font/Alan_Sans/static/AlanSans-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Alan Sans';
	src: url('/font/Alan_Sans/static/AlanSans-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

:root {
	--coul-txt: black;
	--coul-fond: white;
	--coul-acc: #ffc39d;
}

* {
	box-sizing: border-box;
}
html, body {
	margin: 0;
	padding: 0;
	width: 100%;
}
body {
	color: var(--coul-txt);
	background-color: var(--coul-fond);
	text-align: center;
	font-family: "Alan Sans", sans-serif;
}
header {
	border-bottom: solid 3px var(--coul-txt);
}
main {
	width: 630px;
	margin: 0 auto;
	padding: 0 15px;
}
footer {
	border-top: solid 3px var(--coul-txt);
}

h1 {
	font-size: 2rem;
}
h2 {
	text-align: center;
}
h3 {
	margin-bottom: 10px;
}
p {
	font-size: 1.2rem;
}
a,
a:hover,
a:active,
a:visited {
	color: var(--coul-txt);
}
div.deco {
	opacity: 0.5;
	z-index: -1;
}
div.deco img {
	position: fixed;
	top: calc(50vh - 32px);
	left: calc(50vw - 32px);
	animation-duration: 16s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

@keyframes img1 {
	0% { opacity: 0; transform: translate(50vw, 50vh) rotate(0); }
	5% { opacity: 1; }
	95% { opacity: 1; }
	100% { opacity: 0; transform: translate(-50vw, -50vh) rotate(3turn); }
}
#img1 {
	animation-name: img1;
	animation-delay: -14s;
}

@keyframes img2 {
	0% { opacity: 0; transform: translate(100vw, -40vh) rotate(0); }
	5% { opacity: 1; }
	95% { opacity: 1; }
	100% { opacity: 0; transform: translate(-60vw, 50vh) rotate(-2turn); }
}
#img2 {
	animation-name: img2;
	animation-delay: -6s;
}

@keyframes img3 {
	0% { opacity: 0; transform: translate(20vw, 100vh) rotate(0); }
	5% { opacity: 1; }
	95% { opacity: 1; }
	100% { opacity: 0; transform: translate(-20vw, -200vh) rotate(6turn); }
}
#img3 {
	animation-name: img3;
	animation-delay: -2s;
}

@keyframes img4 {
	0% { opacity: 0; transform: translate(-40vw, 50vh) rotate(0); }
	5% { opacity: 1; }
	95% { opacity: 1; }
	100% { opacity: 0; transform: translate(90vw, -20vh) rotate(-1turn); }
}
#img4 {
	animation-name: img4;
	animation-delay: -8s;
}

@keyframes img5 {
	0% { opacity: 0; transform: translate(-120vw, -110vh) rotate(0); }
	5% { opacity: 1; }
	95% { opacity: 1; }
	100% { opacity: 0; transform: translate(90vw, -100vh) rotate(-4turn); }
}
#img5 {
	animation-name: img5;
}

@media screen and (max-width: 639px) {
	main {
		width: auto;
	}
}

@media (prefers-color-scheme: dark) {
	:root {
		--coul-txt: #fef3eb;
		--coul-fond: #0e151b;
		--coul-acc: #4f332d;
	}
}
