.hero-video{
	position:relative;
}

.hero-video div.wrapper {
	position: absolute;
	width: 100%;
	height:100%;
}

.hero-video div.wrapper:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.2);
	z-index: 10;
}
.hero-video div.poster{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-position:center;
	background-size:cover;
}
.hero-video div.video {
	width: 100%;
	position: absolute;
	overflow: hidden;
	height: 100%;
}
.hero-video iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index:2;
	transition: opacity 1s ease-in-out;

}

/* Initially hide the iframe and use opacity transition */
.hero-video iframe.hidden-video {
	opacity: 0;
}

.hero-video div.info-wrapper{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	display:flex;
	align-items:flex-end;
	justify-content:center;
	z-index:20;
}

.hero-video div.info {
	margin-bottom: 70px;
	text-align: center;
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	z-index: 3;
	padding: 0 1rem;
}

.hero-video div.info h2{
	text-shadow: 0 1px 3px rgba(0,0,0,0.25);
	font-weight:400;
	color:#fff;
}

.hero-video div.info h1 em{
	font-weight:700;
}

@media screen and (min-width:1400px){
	.hero-video div.info h1{
		font-size:3vw;
	}
}

@media screen and (max-width:1000px){
	.hero-video div.wrapper,
	.hero-video div.video {
	 }
}

@media screen and (max-width:720px){
	.hero-video div.wrapper,
	.hero-video div.video {
	 }
}

