#overlay {
	position: fixed;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.95);
	z-index: 99999;
	justify-content: center;
	align-items: center;
	visibility: visible;
}

.loader {
	width: 270px;
	height: 270px;
}

.spin {
	width: 250px;
	height: 250px;
	position: absolute;
	border: 10px solid var(--primary);
	border-radius: 50%;
	border-top: 10px solid transparent;
	animation: spin 1.5s infinite linear;
}

.loader img {
	padding: 15px;
	width: 240px;
}

@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}