:root {
	--spacing__base: clamp( 15px, calc( 8.75px + 1.953125vw ), 40px );
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body, input {
	font-family: 'Geist', Arial, sans-serif;
	font-size: 1em;
}

body {
	margin: 0;
	padding: var( --spacing__base );
	font-family: 'Geist', Arial, sans-serif;
	font-size: clamp( 16px, calc( 15px + 0.25vw ), 18px );
	line-height: 1.5;
	color: #FFF;
	background-color: #080808;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	min-height: 100dvh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

small,
.small,
.inf-rgpd {
	font-size: clamp( 13px, calc( 12px + 0.25vw ), 15px );
}

canvas[id*="mosaic-canvas"] {
	position: absolute;
	z-index: -1;
	inset: 0;
	max-width: 100% !important;
	margin: 0;
	animation: mosaic_appear 400ms ease-in-out 1;
}

.content-box {
	position: relative;
	max-width: 600px;
	margin: auto;
	padding: var( --spacing__base );
	background: rgba( 255, 255, 255, 0.1 );
	box-shadow: 0 0 0 1px rgba( 255, 255, 255, 0.2 );
	border-radius: 10px;
	backdrop-filter: blur( 10px );
}

.content-box a:has(>svg) {
	display: inline-flex;
	gap: .5em;
	align-items: center;
}

.content-box svg {
	fill: currentColor;
}


h1 {
	margin: 0 0 .5em 0;
	font-weight: 300;
	letter-spacing: -0.03125em;
	font-size: clamp( 24px, calc( 20px + 1vw ), 32px );
}

p {
	margin: 0 0 1.25em;

	&:last-child {
		margin-bottom: 0;
	}
}

a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: .156em;

	&:hover {
		text-decoration: none;
	}
}

.font-size-m {
	line-height: 1.4;
	font-size: clamp( 16px, calc( 15.5px + 0.15625vw ), 18px );
	letter-spacing: -0.015625em;
}

.center {
	text-align: center;
}

.uppercase {
	text-transform: uppercase;
}

.inf-content {
	position: relative;
	margin: 1.25em 0;
}

input[type="email"] {
	width: 100%;
	color: #FFF;
	background-color: rgba( 255, 255, 255, 0.1 );
	height: 44px;
	padding: 12px 16px;
	font-size: 1rem;
	border: 1.5px solid transparent;
	border-radius: 10px;
	outline: none;
	transition:
		background-color 160ms ease-in-out,
		box-shadow 160ms ease-in-out;
}
input[type="email"]:hover {
	background-color: rgba( 255, 255, 255, 0.15 );
	box-shadow: 0 0 0 1.5px rgba( 255, 255, 255, 0.4 );
}
input[type="email"]:focus {
	box-shadow: 0 0 0 1.5px rgba( 255, 255, 255, 0.8 );
	background-color: rgba( 255, 255, 255, 0.1 );
}
input[type="email"]::placeholder {
	color: rgba( 255, 255, 255, 0.5 );
}

.inf-input {
	margin: 1.25em 0;
}

.inf-submit {
	position: absolute;
	top: 0;
	right: 0;
}

.inf-submit input[type="submit"] {
	margin-top: 0 !important;
}

.button,
input[type="submit"] {
	appearance: none;
	display: inline-flex;
	height: 44px;
	padding: .5em 1em;
	color: #FFF;
	cursor: pointer;
	font-size: 1rem;
	text-decoration: none;
	background-color: #A0002E;
	border: none;
	border-radius: 10px;
	transition: background-color 160ms ease-in-out;
}

.button:hover,
input[type="submit"]:hover {
	background-color: #680021;
}

.inf-rgpd {
	opacity: .8;
}

.site-footer {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .5em;
}

.site-footer p {
	margin: 0;
}

.site-footer ul {
	display: flex;
	gap: .25em;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-footer li {
	display: flex;
	gap: .25em;
}

.site-footer li:not(:last-child)::after {
	content: "|";
}

.site-footer a {
	display: block;
	padding: 0 0.25em;
	text-decoration: none;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}
