/* THE SPLASH — the thin client's picture, under it the arrows and the stage of the start (src/window/splash.js). In a file
   of its own, in the page's head with the palette: the two are all the first paint waits for, the rest of the stylesheets
   stand after the splash in the body and hold back only what comes after them. */
#splash {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	background: var(--oes-window-bg);
	transition: opacity 120ms;
}

#splash[hidden] {
	display: none;
}

#splash.leaving {
	opacity: 0;
}

#splash img {
	max-width: 80vw;
	height: auto;
	border-radius: 4px;
}

#splash .arrows {
	display: flex;
	gap: 0.5rem;
}

#splash .arrows i {
	width: 0.75rem;
	height: 0.75rem;
	border-top: 3px solid var(--oes-splash-arrow);
	border-right: 3px solid var(--oes-splash-arrow);
	transform: rotate(45deg);
	opacity: 0.2;
	animation: splash-arrow 900ms infinite;
}

#splash .arrows i:nth-child(2) {
	animation-delay: 150ms;
}

#splash .arrows i:nth-child(3) {
	animation-delay: 300ms;
}

@keyframes splash-arrow {
	30% {
		opacity: 1;
	}

	60% {
		opacity: 0.2;
	}
}

#splash .stage {
	min-height: 1.5em;
	font: 0.875rem var(--oes-font-ui);
	color: var(--oes-muted);
}
