#preloader {
	position: fixed;
	inset: 0;
	display: flex;
	pointer-events: none;
	justify-content: center;
	align-items: center;
	height: 100vh;
	margin: auto;
	align-self: center;
	opacity: 1;
	transition: opacity 2s 0.5s;
}

#root[rendered='true'] + #preloader {
	opacity: 0;
}

#preloader article {
	padding: 20px;
	display: flex;
	gap: 30px;
	text-align: center;
}

#preloader p {
	font-family: sans-serif;
	font-size: 10px;
	text-transform: uppercase;
	color: grey;
	margin-bottom: 15px;
	min-width: 70px;
}

@keyframes rect {
	0% {
		stroke-dashoffset: 0px;
	}
	50% {
		stroke-dashoffset: -132px;
	}
	100% {
		stroke-dashoffset: -264px;
	}
}

@keyframes blink {
	0%,
	20%,
	80%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

#preloader rect,
#preloader path {
	stroke-dasharray: 132px;
	animation: rect infinite 2s;
}

#preloader ellipse {
	animation: blink infinite 1.6s;
}

#preloader ellipse:nth-child(6) {
	animation-delay: 0.3s;
}
#preloader ellipse:nth-child(5) {
	animation-delay: 0.6s;
}
#preloader ellipse:nth-child(4) {
	animation-delay: 0.9s;
}
#preloader ellipse:nth-child(3) {
	animation-delay: 1.2s;
}
#preloader ellipse:nth-child(2) {
	animation-delay: 1.5s;
}
#preloader ellipse:nth-child(1) {
	animation-delay: 1.8s;
}