/* Allow sticky to work and move beneath menu */
#main {
	overflow-x: clip !important;
}

.hero-animation-container {
	top: 0;
	--wave-opacity-var: 100%;
}

.e5ScrollCanvas {
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	background-size: cover;
	background-position: center;
	background-image: url('../images/hero-animation/0001.webp');
}

.hero-animation-canvas-container::before {
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 100'%3E%3Cpath d='m 1920 31 v 69 H 0 V 0 c 71 42 271 100 827 55 C 1486 1.3 1768 2.5 1920 31 Z' fill='%23fff'/%3E%3C/svg%3E");
	content: '';
	display: inline-block;
	width: calc(100% + 10px);
	position: absolute;
	top: 0;
	left: -5px;
	height: calc(100% + 1px);
	background-repeat: no-repeat;
	background-position: center bottom;
	opacity: var(--wave-opacity-var);
}

.hero-animation-sticky-container {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 99;
	overflow: hidden;
}

.hero-animation-inner-container {
	position: absolute;
	bottom: 20%;
	right: 10%;
}

@media screen and (max-aspect-ratio: 1/1) {
	.hero-animation-inner-container {
		position: absolute;
		top: 170px;
		left: 20px;
		bottom: unset;
		right: unset;
	}
}

.hero-animation-inner-container .hero-headline-text {
	font-size: 65px;
	font-weight: bold;
	line-height: 1.3;
	margin-bottom: .5em;
	color: #ffffff;
	text-shadow: 0px 3px 10px #00000066;
	text-transform: uppercase;
	display: block;
}

@media screen and (max-width: 1399px) {
	.hero-animation-inner-container .hero-headline-text {
		font-size: 3.5em;
	}
}

@media screen and (max-width: 549px) {
	.hero-animation-inner-container .hero-headline-text {
		font-size: 2.5em;
	}
}