:root {
	--preload-primary: #f5f3ef;
	--preload-auxiliary: #942627;
	--preload-font-color: #000;
}

.preload__wrap {
	display: flex;
	flex-direction: column;
	letter-spacing: 1px;
	background-color: var(--preload-primary);
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	z-index: 9999;
	transition: all 0.3s ease-in;
	opacity: 1;
	pointer-events: none;
}

.preload__wrap.is-hide {
	opacity: 0;
}

.preload__container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	user-select: none;
	-webkit-user-select: none;
	flex-grow: 1;
}

.preload__name {
	font-size: 30px;
	color: var(--preload-font-color);
	letter-spacing: 5px;
	font-weight: bold;
	margin-bottom: 30px;
}

.preload__title {
	color: var(--preload-font-color);
	font-size: 14px;
	margin: 30px 0 20px 0;
}

.preload__sub-title {
	color: var(--preload-font-color);
	font-size: 12px;
}

.preload__footer {
	text-align: center;
	padding: 10px 0 20px 0;
}

.preload__footer a {
	font-size: 12px;
	color: #ababab;
	text-decoration: none;
}

.preload__loading {
	height: 30px;
	width: 30px;
	border-radius: 30px;
	border: 7px solid currentColor;
	border-bottom-color: #fff !important;
	position: relative;
	animation:
		r 1s infinite cubic-bezier(0.17, 0.67, 0.83, 0.67),
		bc 2s infinite ease-in;
	transform: rotate(0deg);
}

@keyframes r {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes bc {
	0% {
		color: var(--preload-auxiliary);
	}

	25% {
		color: var(--preload-auxiliary);
	}

	50% {
		color: var(--preload-auxiliary);
	}

	75% {
		color: var(--preload-auxiliary);
	}

	100% {
		color: var(--preload-auxiliary);
	}
}
