/* Page transition */
#page-transition {
	position: relative;
	display: block;
	z-index: 99999;
}

.overlay {
	position: fixed;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--wp--preset--color--black);
	z-index: 1;
}

.preloader {
	position: fixed;
	top: 50%;
	left: 50%;
	color: var(--wp--preset--color--primary);
	z-index: 2;
	transform: translate(-50%, -50%);
	width: 200px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}



/* Preloader con Texto */
.preloader.text {
	font-family: var(--wp--preset--font-family--primary), Arial;
	width: 100px;
	height: 100px;
	position: fixed;
	transform: translateY(-50%) translateX(-50%);
	top: 50%;
	left: 50%;
	background-size: contain;
	background-repeat: no-repeat;
	font-size: 40px;
	text-align: center;
	text-transform: uppercase;
}

.preloader.logo-svg-animation {
	
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;

	svg {
		width: 100px;
	}
	

}

/*  Animation mask on preloader text */

.animated-text {
	opacity: 0;
	animation: fade-in 2s ease-in-out infinite;
}

@keyframes fade-in {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.5;
	}

	100% {
		opacity: 1;
	}
}