<template>
	<div class="fullscreen-loader">
		<div class="spinner"></div>
	</div>
</template>

<style scoped>
.fullscreen-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	/* zatmavene */
	/* background-color: rgba(0, 0, 0, 0.8); */
	/* rozmazane */
	background-color: rgba(255, 255, 255, 0.1); /* jemne priehľadné alebo aj 0 */
	backdrop-filter: blur(8px); /* rozmazanie pozadia */
	-webkit-backdrop-filter: blur(8px); /* podpora pre Safari */
}

.spinner {
	width: 60px;
	height: 60px;
	border: 6px solid #fff;
	border-top: 6px solid #3498db;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
</style>
