/* 
 * Copyright (c) 2025 vinici.us.com. All Rights Reserved.
 * Licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
 * To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode.
 */

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 1;
	visibility: visible;
	cursor: wait;
	transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
	pointer-events: all;
}

#preloader.fade-out {
	opacity: 0;
	visibility: hidden;
}

.loader-text {
	color: #000;
	font-size: 1.5rem;
	font-family: sans-serif;
}

.loader-text span {
	display: inline-block;
	animation: bounce 1.4s ease-in-out infinite both;
}

.loader-text span:nth-child(1) {
	animation-delay: -0.32s;
}

.loader-text span:nth-child(2) {
	animation-delay: -0.16s;
}

.loader-text span:nth-child(3) {
	animation-delay: 0s;
}

@keyframes bounce {
	0%,
	80%,
	100% {
		transform: scale(0);
	}

	40% {
		transform: scale(1);
	}
}
