:root {
	--primary-color: #000000;
	--secondary-color: #ffffff;
}

* {
	animation: fadeIn 0.5s forwards;
}

svg path {
	fill: var(--secondary-color);
}

.multiple-text-span {
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0.5rem;

}

html {
	font-family: sans-serif;
	animation: none !important;
}

h1 {
	position: relative;
}

h1::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 0;
	background: var(--secondary-color);
	z-index: -1;
	animation: underline 0.5s forwards 0.4s;
}

section * {
	text-align: center;
}

.key-text {
	background:url('../img/grayscale-illustration.webp');
	background-size: auto 200%;
	background-clip: text;
	text-fill-color: transparent;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: shine 8s linear infinite;
}

.key-text:nth-child(1) {
	animation: shine 8s linear infinite backwards;
}

button {
	background: var(--secondary-color);
	color: var(--primary-color);
	border: none;
	border-radius: 5em;
	padding: 0.5rem 1rem;
	cursor: pointer;
	transition: all 0.3s;
}

button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

button:hover {
	background: var(--primary-color);
	color: var(--secondary-color);
	outline: 2px solid var(--secondary-color);
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	color: var(--secondary-color);
	line-height: 1.5;
	letter-spacing: 0.1rem;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h2 {
	width: 85%;
	font-size: 1rem;
}

img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

body {
	width: 100%;
	height: 100dvh;
	max-height: 100dvh;
	background: var(--primary-color);
	overflow: hidden;
}

main {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

header {
	position: absolute;
	inset: 0 0;
	height: 5rem;
	width: 100%;
	display: flex;
	z-index: 2;
}

@keyframes shine {
	from {
		background-position: center 0;
	}
	to {
		background-position: center 200%;
	}
}

@keyframes underline {
	to {
		width: 100%;
	}
}

@keyframes fadeIn {
	from {
		filter: blur(10px) brightness(0);
		transform: translateY(1rem);
	}

	to {

	}
}

@media (prefers-color-scheme: light) {
	:root {
		--primary-color: #ffffff;
		--secondary-color: #000000;
	}

	header img {
		filter: brightness(0);
	}
}
