/* Homepage specific styling goes here. Excluded on all subpages */
/* For most builds, this stylesheet should be wiped and started fresh */

/* PRELOADER */
.preloader-outer {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 9;
	width: 100%;
	height: 100vh;
	background-color: white;
	transition: opacity 600ms ease-out;
}

.preloader-outer.active {
	visibility: visible !important;
}

.preloader-outer.preloader-remove {
	opacity: 0;
	pointer-events: none;
}

.preloader-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.preloader-inner p {
	margin-bottom: 15px;
}

.preloader-inner p:last-of-type {
	margin: 0;
}

.preloader-part {
	display: none;
	margin: 20px;
}

.preloader-part-left.active {
	display: block;
	-webkit-animation: fadeInRight 800ms ease-out;
	animation: fadeInRight 800ms ease-out;
}

.preloader-part-right.active {
	display: block;
	-webkit-animation: fadeInLeft 500ms ease-out;
	animation: fadeInLeft 500ms ease-out;
}

/* HERO */
.hero {
	width: 100%;
	position: relative;
}

.hero-inner {
	position: relative;
	width: 100%;
}

.hero-video-trigger {
	cursor: pointer;
}

.hero-video-embed {
	height: 0;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.hero-img {
	width: 100%;
	display: block;
	position: relative;
}

.hero-img video,
.hero-img img {
	width: 100%;
	display: block;
}

.hero-content {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	padding: 30px 20px;
	color: var(--color-white);
	width: 100%;
}

.hero h1 {
	line-height: 1;
	font-size: 7vw;
	color: var(--color-primary);
	padding: 20px var(--gutter-size) 5px;
	text-align: center;
}

.hero-bottom {
	display: flex;
	align-items: center;
	margin-top: 30px;
}

.hero-play {
	width: 64px;
	min-width: 64px;
	height: 64px;
	color: var(--color-white);
	margin-right: 15px;
	font-size: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: var(--color-secondary);
}

.hero-play:hover {
	color: var(--color-white);
}

.hero-content-text strong {
	display: block;
}

.hero-content-text {
	font-weight: 700;
	display: block;
	font-size: 16px;
}

@media screen and (min-width: 768px) {
	.hero h1 {
		font-size: 60px;
		color: var(--color-white);
		padding: 0;
		text-align: left;
	}

	.hero-content {
		top: 50%;
		bottom: auto;
		transform: translateY(-50%);
		left: 30px;
		max-width: 520px;
		padding: 30px 20px;
	}

	.hero-content-text strong {
		font-size: 20px;
	}

	.hero-content-text {
		font-size: 17px;
	}
}

@media screen and (min-width: 1025px) {
	.hero-content {
		left: 60px;
	}
}
