.loader-container {
	align-items: center;
	display: flex;
	height: 100vh;
	justify-content: center;
	position: fixed;
	width: 100vw;
	z-index: 2050;
	top: 0;
	&.exit {
		-webkit-animation: fade-out 1s ease-out 0s both;
		animation: fade-out 1s ease-out 0s both;
	}
	&::before {
		content: "";
		background: white;
		display: block;
		height: 100%;
		left: 0;
		position: absolute;
		top: 0;
		width: 100%;
	}
}
.loader {
	transform: translate(-50%, -50%);
	position: absolute;
	bottom: unset;
	left: 50%;
	top: 50%;
	height: 120px;
	width: 120px;
	.loading-spinner {
		border-radius: 50%;
		width: 180px;
		height: 180px;
		border: 2px solid rgba($color: $ui-background-tertiary, $alpha: 0.2);
		border-top-color: $ui-background-tertiary;
		-webkit-animation: rotation 0.8s infinite
			cubic-bezier(0.6, 0.3, 0.3, 0.6);
		animation: rotation 0.8s infinite cubic-bezier(0.6, 0.3, 0.3, 0.6);
		position: absolute;
		bottom: unset;
		left: 50%;
		top: 50%;
	}
	.loading-logo {
		//background: transparent url("../../img/preload-icon.svg");
		background-position: center;
		background-size: contain;
		background-repeat: no-repeat;
		height: 100px;
		width: 100px;
		margin: auto;
		transform: translate(-50%, -50%);
		position: absolute;
		bottom: unset;
		left: calc(50% + 1px);
		top: 50%;
	}
}
@-webkit-keyframes rotation {
	0% {
		transform: translate(-50%, -50%) rotate(0);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}
@keyframes rotation {
	0% {
		transform: translate(-50%, -50%) rotate(0);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}
@-webkit-keyframes fade-out {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@keyframes fade-out {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
