:root {
	--color-primary: #fff000;
	--color-secondary: #fff;
	--font-body: "Geist", "Helvetica Neue", Arial, sans-serif;
	--font-body-weight: 600;
	--font-ui-size: .8rem;
	--font-body-size: .8rem;
	--font-body-line-height: 1.2;
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media screen and (prefers-color-scheme: dark) {
	:root:not(.light) {
		--color-secondary: #1e1f1f;
	}
}

:root.dark {
	--color-secondary: #1e1f1f;
}

:root.light {
	--color-secondary: #fff;
}

html {
	font-size: 1.125rem;
}

@media (min-width: 2560px) and (min-height: 1400px) {
	:root {
		font-size: clamp(1.5rem, 0.55vw, 1.75rem);
	}
}

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

@font-face {
	font-family: "Geist";
	src: url("../../Geist-SemiBold.ttf") format("truetype");
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: "Climate Crisis";
	src: url("../../ClimateCrisis-Regular.ttf") format("truetype");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: var(--font-body-weight);
	background-color: var(--color-secondary);
	transition: background-color 0.5s ease;
}

.i18n-char {
	display: inline-block;
	opacity: 0;
	transform: translateY(-0.45em);
	animation: i18nLetterIn 240ms ease forwards;
}

@keyframes i18nLetterIn {
	from {
		opacity: 0;
		transform: translateY(-0.45em);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

footer {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	color: var(--frame-accent);
	border: 2px solid var(--frame-accent);
	font-size: var(--font-ui-size);
	flex-wrap: wrap;
	overflow: hidden;
}

footer > div:not(.footer-links) {
	display: flex;
	align-items: center;
	padding: 8px 24px;
	box-sizing: border-box;
	line-height: 1;
	min-height: calc(var(--font-ui-size) + 16px);
	overflow-wrap: anywhere;
}

.footer-links {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	margin-left: auto;
	padding: 0;
}

.footer-links > * {
	display: flex;
	align-items: center;
	padding: 8px 24px;
	box-sizing: border-box;
	line-height: 1;
	min-height: calc(var(--font-ui-size) + 16px);
	border-left: 2px solid var(--frame-accent);
	overflow-wrap: anywhere;
}

footer a {
	color: var(--frame-accent);
	text-decoration: none;
}

footer a:hover {
	background-color: var(--frame-accent);
	color: var(--footer-link-hover-color, var(--color-secondary));
}

@media (max-width: 900px) {
	footer > div:not(.footer-links) {
		width: 100%;
		justify-content: center;
		text-align: center;
		border-bottom: 2px solid var(--frame-accent);
		padding-inline: 1rem;
	}

	.footer-links {
		margin-left: 0;
	}
}

@media (max-width: 720px) {
	footer {
		flex-direction: column;
	}

	.footer-links {
		width: 100%;
		margin-left: 0;
	}

	footer > div:not(.footer-links) {
		justify-content: center;
		padding-inline: 1rem;
		text-align: center;
		border-bottom: 2px solid var(--frame-accent);
	}

	.footer-links > * {
		width: 100%;
		justify-content: center;
		border-left: none;
		border-top: 2px solid var(--frame-accent);
	}

	.footer-links > :first-child {
		border-top: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.i18n-char {
		animation: none;
		opacity: 1;
		transform: none;
	}
}
