@import url("00_main.css");

#hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	max-height: 100vh;
	padding: 10rem 0 5rem 0;
	background-color: var(--colore-3);
	background: url("/img/hero.mp4");
	background-repeat: no-repeat;
	background-position: center top;
}

.video-container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.video-container video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	z-index: -1;
}
.video-container .content {
	position: relative;
	z-index: 1;
	text-align: center;
	color: white;
}

#hero h1 {
	color: white;
	font-size: 13vw;
	font-weight: bold;
	padding: auto;
}
#hero p {
	color: white;
	padding: 1rem;
	font-size: 2.5rem;
	font-weight: bold;
	margin: 1rem;
	z-index: 2;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 30px;
}
#hero a {
	color: white;
	font-size: 3rem;
	font-weight: bold;
	margin: 0 0 30px 0;
}

@media (max-width: 768px) {
	#hero h1 {
		font-size: 17vw;
	}
	#hero p {
		font-size: 1.5rem;
		padding: 1rem;
	}
}
