/* Necessário porque antes precisava esperar carregar o tema para ter a fonte 'Roboto'. */
@font-face {
	font-family: RobotoIndex;
	font-style: normal;
	font-weight: 300;
	src:
		local('Roboto Light'),
		url('../themes/assets/fonts/Roboto-300.woff2') format('woff2'),
		url('../themes/assets/fonts/Roboto-300.woff') format('woff'),
		url('../themes/assets/fonts/Roboto-300.ttf') format('truetype');
}

.splash-loading {
	animation: splash-loading-opacity-animation 1s ease forwards;
	background-color: #fff;
	font-family: 'RobotoIndex', 'Helvetica', 'Arial', sans-serif;
	display: flex;
	height: 100%;
	opacity: 0;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 2000;
}
.splash-loading .splash-loading-container {
	animation: splash-loading-bg-gradient-animation 3s ease infinite;
	align-items: center;
	background: var(--background-gradient-ligth);
	background-size: 200% 200%;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: space-between;
	padding: 60px 0;
	width: 100%;
}
.splash-loading.close-animation {
	background-color: transparent;
}
.splash-loading.close-animation .splash-loading-container {
	animation: splash-loading-opacity-animation 1s ease reverse forwards;
}
.splash-loading .site-link {
	color: white;
	text-decoration: unset;
	top: 60px;
	font-size: 16px;
	font-weight: 400;
}
.splash-loading .loading-container {
	display: flex;
	align-items: center;
}
.splash-loading .loading-container .loading-text {
	color: var(--base-color);
	font-size: 20px;
	font-weight: 300;
}
.splash-loading .product-image {
	display: flex;
}
.splash-loading .product-image img {
	height: 100%;
	width: 100%;
}
.splash-loading .product-image-mobile {
	height: 59.55px;
	margin: 32px 0;
	width: 98px;
}

@keyframes splash-loading-bg-gradient-animation {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes splash-loading-opacity-animation {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
