@charset "UTF-8";
/* CSS Document */

.home-hero {
	height: 80vh;
	min-height: 500px;
	position: relative;
	overflow: hidden;
}

.home-hero .video-wrap {
	width: 100vw;
	height: 100%;
}

.home-hero .video-wrap video {
	background-color: var(--shd-dark);
	width: 100%;
	height: 100%;
}

.home-hero .video-wrap::after {
	content: "";
	display: block;
	position: absolute;
	width: 0;
    height: 0;
	bottom: 0;
    border-bottom: 200px solid var(--white);
    border-left: 100vw solid transparent;
}

.home-hero .content {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	align-content: end;
}

.home-hero .content .boxed {
	justify-content: center;
}

.home-hero #searchbar {
	background-color: var(--shd-light);
	padding: 30px;
	border-radius: var(--big-radius);
	margin-bottom: 40px;
}

.home-hero #searchbar form {
	display: grid;
	grid-template-columns: 200px 200px auto;
	align-items: end;
	gap: 20px;
}



.hero {
	position: relative;
}

.hero .image-wrap {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: top 20% center;
	overflow: hidden;
}

.hero .image-wrap::after {
	content: "";
	display: block;
	position: absolute;
	width: 0;
    height: 0;
	bottom: 0;
    border-bottom: 200px solid var(--white);
    border-left: 100vw solid transparent;
}

.hero .image-wrap .overlay {
	background-image: linear-gradient(90deg, rgba(28, 80, 124, 0.9) 0%, rgba(28, 80, 124, 0) 100%);
	width: 100%;
	height: 100%;
}

.hero .content {
	position: relative;
	padding: 180px 0;
	color: var(--white);
}

.hero .content p {
	font-style: italic;
}


@media screen and (max-width: 1180px) and (orientation: portrait),
screen and (max-width: 1024px){ /* original breakpoint 1024px */

}

@media screen and (max-width: 768px) {
	.home-hero .content .boxed {
		justify-content: unset;
		width: 100%;
    	box-sizing: border-box;
	}
	
	.home-hero #searchbar form {
		grid-template-columns: 1fr;
	}
	
	.home-hero #searchbar form .button {
		justify-self: start;
	}
	
	.home-hero .video-wrap::after, .hero .image-wrap::after {
		border-bottom: 100px solid var(--white);
	}
}