.loading {
	position: fixed;
	top: 0;
	right: 0;
	width: 100vw;
	max-width: calc(100vw - 60px);
	z-index: 100000000000000000000;
	height: 100%;
	border-top-left-radius: calc(var(--border-radius) * 3);
	border-bottom-left-radius: calc(var(--border-radius) * 3);
	background-color: rgb(158 158 158 / 27%);
    transition: background 0.8s, max-width 0.8s;
    backdrop-filter: blur(15px);
}

.loader {
	border: 16px solid transparent;
	border-radius: 50%;
	border-top: 16px solid var(--primary-color);
	width: 120px;
	height: 120px;
	-webkit-animation: spin 0.8s linear infinite;
	/* Safari */
	animation: spin 0.5s linear infinite;
	margin: 25% auto;
}

/* Safari */
@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.progress {
	position: fixed;
	top: 0;
	right: 0;
	width: 92vw;
	max-width: calc(100vw - 200px);
	min-width: calc(100vw - 280px);
	z-index: 100000000000000000000;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	background-color: rgb(158 158 158 / 27%);
    transition: background 0.8s;
    backdrop-filter: blur(15px);
}

.progress div {
	margin-top: -10vh;
}

@media (max-width:767px) {
	.loading {
		min-width: calc(100vw - 58px);
	}
}