html:not(.home-loading-fx--done) {
	overflow-y: hidden;
	overflow-y: scroll;
}

html.home-loading-fx--done {
	overflow-y: scroll;
}
#home-loading-fx {
	top: 0;
	left: 0;
	width: 100%;
	height: 100dvh;
	background-color: rgba(255, 255, 255, 1);
	z-index: 9999;
	display: flex;
	justify-content: center;
	overflow: hidden;
	position: fixed;
}

#home-loading-fx.home-loading-fx--relative {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	bottom: auto;
	height: 100vh;
	height: 100dvh;
	z-index: 1;
}

#home-loading-fx .home-loading-fx-layer {
	--home-loading-fx-layer-w: 560px;
	--home-loading-fx-layer-h: 350px;
	width: var(--home-loading-fx-layer-w);
	height: var(--home-loading-fx-layer-h);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	overflow: hidden;
	opacity: 1;
	clip-path: inset(0 100% 0 0);
	animation: home-loading-fx-reveal cubic-bezier(0.87, 0, 0.13, 1) forwards;
	--home-loading-fx-layer-duration: 0.7s;
	animation-duration: var(--home-loading-fx-layer-duration);
}

#home-loading-fx .home-loading-fx-layer.layer-6 {
	animation-delay: 0s;
}
#home-loading-fx .home-loading-fx-layer.layer-5 {
	animation-delay: calc(
		var(--home-loading-fx-layer-duration) -
			var(--home-loading-fx-layer-duration) * 0.2
	);
}
#home-loading-fx .home-loading-fx-layer.layer-4 {
	animation-delay: calc(
		var(--home-loading-fx-layer-duration) * 2 -
			var(--home-loading-fx-layer-duration) * 0.6
	);
}
#home-loading-fx .home-loading-fx-layer.layer-3 {
	animation-delay: calc(
		var(--home-loading-fx-layer-duration) * 3 -
			var(--home-loading-fx-layer-duration) * 1.3
	);
}
#home-loading-fx .home-loading-fx-layer.layer-2 {
	animation-delay: calc(
		var(--home-loading-fx-layer-duration) * 4 -
			var(--home-loading-fx-layer-duration) * 2
	);
}
#home-loading-fx .home-loading-fx-layer.layer-1 {
	--home-loading-fx-layer-1-delay: calc(
		var(--home-loading-fx-layer-duration) * 5 -
			var(--home-loading-fx-layer-duration) * 2.5
	);
	animation-name: home-loading-fx-reveal, home-loading-fx-expand;
	animation-duration: var(--home-loading-fx-layer-duration), 1.4s;
	animation-delay:
		var(--home-loading-fx-layer-1-delay),
		calc(
			var(--home-loading-fx-layer-1-delay) +
				var(--home-loading-fx-layer-duration)
		);
	animation-timing-function:
		cubic-bezier(0.87, 0, 0.13, 1), cubic-bezier(0.87, 0, 0.13, 1);
	animation-fill-mode: forwards, forwards;
}

#home-loading-fx .home-loading-fx-layer .home-loading-fx-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	max-width: none;
	max-height: none;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center;
}

@keyframes home-loading-fx-reveal {
	from {
		clip-path: inset(0 100% 0 0);
	}
	to {
		clip-path: inset(0 0 0 0);
	}
}

@keyframes home-loading-fx-expand {
	from {
		width: var(--home-loading-fx-layer-w);
		height: var(--home-loading-fx-layer-h);
		left: 50%;
		top: calc(50% - (var(--home-loading-fx-layer-h) / 2));
		transform: translateX(-50%);
	}
	15% {
		width: var(--home-loading-fx-layer-w);
		height: var(--home-loading-fx-layer-h);
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}
	to {
		width: 100vw;
		height: 100vh;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}
}

#home-loading-fx .home-loading-fx-layer.layer-1 .reveal-wrap {
	position: relative;
	overflow: hidden;
}

#home-loading-fx .home-loading-fx-layer.layer-1 .reveal-wrap > * {
	transform: translate3d(0, 105%, 0);
	will-change: transform;
	transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#home-loading-fx.home-loading-fx--content-in
	.home-loading-fx-layer.layer-1
	.logo-wrap
	> * {
	transform: translate3d(0, 0, 0);
	transition-delay: 0s;
}

#home-loading-fx.home-loading-fx--content-in
	.home-loading-fx-layer.layer-1
	.text-wrap
	> * {
	transform: translate3d(0, 0, 0);
	transition-delay: 0.18s;
}

#home-loading-fx .home-loading-fx-layer.layer-1 a.pulsante {
	opacity: 0;
	transform: translate3d(0, 12px, 0);
	transition:
		opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#home-loading-fx.home-loading-fx--content-in
	.home-loading-fx-layer.layer-1
	a.pulsante {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
	#home-loading-fx .home-loading-fx-layer {
		animation: none;
		height: var(--home-loading-fx-layer-h);
		opacity: 1;
		clip-path: inset(0 0 0 0);
	}
	#home-loading-fx .home-loading-fx-layer.layer-1 {
		width: 100vw;
		height: 100vh;
		left: 0;
		top: 0;
		transform: translate(0, 0);
	}
	#home-loading-fx .home-loading-fx-layer.layer-1 .logo,
	#home-loading-fx .home-loading-fx-layer.layer-1 p.times,
	#home-loading-fx .home-loading-fx-layer.layer-1 a.pulsante {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media (max-width: 768px) {
	#home-loading-fx .home-loading-fx-layer {
		--home-loading-fx-layer-w: calc(100% - 44px);
		--home-loading-fx-layer-h: 60vw;
	}
}
@media (max-width: 549px) {
	.hero .logo {
		flex-wrap: wrap;
		gap: 15px;
	}
	.hero .logo > img:first-child {
		width: 100%;
	}
	#home-loading-fx .home-loading-fx-layer.layer-1 .reveal-wrap.text-wrap {
		width: 63vw;
	}
	.hero div .payoff {
		font-size: 7vw;
	}
}

@media (max-width: 320px) {
}
