:root {
	--parallax-hero-min-height: 300px;
	--header-height: 70px;
}

/* Parallax hero styles */
.parallax-hero {
	scroll-snap-align: start; /* Ensure snapping at the start of each section */
}

.parallax-hero .text-credits {
	font-size: small;
	position: absolute;
	bottom: 10px;
	left: 10px;
	color: #fff;
}

.parallax-hero--inner {
	position: relative;
	overflow: hidden;
	min-height: var(--parallax-hero-min-height);
}

.parallax-hero--inner .parallax-el {
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	width: 100%;
	height: 100%;
}

.parallax-hero--inner .parallax-el.type-image-foreground {
	position: absolute;
	width: auto;
	height: auto;
}

.parallax-hero--inner .parallax-el.type-text .text--inner {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
}

.parallax-hero--inner .parallax-el.type-text.boxed > div {
	background: #fff;
	height: auto;
	padding: 1rem 2rem;
	max-width: 50%;
}

.parallax-hero--inner .parallax-el.type-text.title {
	background: rgba(0, 0, 0, 0.5);
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
}

.parallax-hero--inner .parallax-el.type-text h2,
.parallax-hero--inner .parallax-el.type-text h3 {
	margin-top: 0;
}

.parallax-hero--inner.full-height,
.parallax-hero--inner .full-height {
	height: calc(100vh - var(--header-height));
}
.parallax-hero--inner .cover {
	background-size: cover;
}
.parallax-hero--inner .fixed {
	background-attachment: fixed;
	background-position: center; /* Is probably overwritten by injected styles */
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
