/* ABOUTME: Styles for the [sonder_hero_video] home page hero. */
/* ABOUTME: The hero keeps a 1240x900 shape up to 900px tall, the size the home page layout was built around. */

.sonder-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1240 / 900;
	max-height: 900px;
	overflow: hidden;
}

.sonder-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sonder-hero__heading {
	position: relative;
	margin: 0;
	padding: 0 20px;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 35px;
	font-weight: 400;
	line-height: 45px;
	text-align: center;
}

@media (min-width: 480px) {
	.sonder-hero__heading {
		font-size: 55px;
		line-height: 65px;
	}
}

@media (min-width: 1024px) {
	.sonder-hero__heading {
		font-size: 80px;
		line-height: 100px;
	}
}
