body {
	margin: 0;
	padding: 0;
}

.splash-screen {
	position: absolute;
	z-index: 1000;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	font-family: Helvetica, 'sans-serif';
	background-color: #f2f3f8;
	color: #5e6278;
	line-height: 1;
	font-size: 16px;
	font-weight: 400;
}

.splash-screen span {
	color: #5e6278;
	transition: none !important;
	text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

.splash-screen img {
	margin-left: calc(100vw - 100%);
	margin-bottom: 30px;
	height: 30px !important;
}

[data-theme='dark'] .line {
	border-right-color: #92929f;
}

[data-theme='dark'] .splash-screen {
	background-color: #151521;
	color: #92929f;
}

[data-theme='dark'] .splash-screen span {
	color: #92929f;
}

/* Logo */
[data-theme='dark'] .rdpq-dark-theme {
	display: block;
}

[data-theme='dark'] .rdpq-light-theme {
	display: none;
}

[data-theme='light'] .rdpq-dark-theme {
	display: none;
}

[data-theme='light'] .rdpq-light-theme {
	display: block;
}

/* Display the right loading block */
html[lang='en'] .loading,
html[lang='fr'] .loading-fr,
html[lang='es'] .loading-es {
	display: block;
}

/* hide loading block */
html[lang='en'] .loading-fr,
html[lang='en'] .loading-es {
	display: none;
}
html[lang='fr'] .loading,
html[lang='fr'] .loading-es {
	display: none;
}
html[lang='es'] .loading,
html[lang='es'] .loading-fr {
	display: none;
}

.line {
	position: relative;
	width: 5.3em;
	margin: 0 auto;
	border-right: 2px solid #5e6278;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	transform: translateY(-50%);
}

.line-fr {
	width: 12em;
}

.line-es {
	width: 6.5em;
}

.writing-animation {
	animation: writing 2s steps(40) infinite normal both, blinkCursor 500ms steps(40) infinite normal;
}

.writing-animation-fr {
	animation: writing-fr 2s steps(40) infinite normal both,
		blinkCursor 500ms steps(40) infinite normal;
}

.writing-animation-es {
	animation: writing-es 2s steps(40) infinite normal both,
		blinkCursor 500ms steps(40) infinite normal;
}

@keyframes writing {
	from {
		width: 0;
	}
	to {
		width: 5.3em;
	}
}

@keyframes writing-fr {
	from {
		width: 0;
	}
	to {
		width: 12em;
	}
}

@keyframes writing-es {
	from {
		width: 0;
	}
	to {
		width: 6.5em;
	}
}

@keyframes blinkCursor {
	from {
		border-right-color: currentColor;
	}

	to {
		border-right-color: transparent;
	}
}

/* Using system param */
@media (prefers-color-scheme: dark) {
	[data-theme='system'] .line {
		border-right-color: #92929f;
	}

	[data-theme='system'] .splash-screen {
		background-color: #151521;
		color: #92929f;
	}

	[data-theme='system'] .splash-screen span {
		color: #92929f;
	}

	/* Logo */
	[data-theme='system'] .rdpq-dark-theme {
		display: block;
	}

	[data-theme='system'] .rdpq-light-theme {
		display: none;
	}

	[data-theme='light'] .rdpq-dark-theme {
		display: none;
	}

	[data-theme='light'] .rdpq-light-theme {
		display: block;
	}
}

@media (prefers-color-scheme: light) {
	[data-theme='system'] .rdpq-dark-theme {
		display: none;
	}

	[data-theme='system'] .rdpq-light-theme {
		display: block;
	}
}
