.hero-video div.wrapper {
	position: relative;
	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.15);
	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;
}

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

.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 {
	 }
}

/* sliding title */

/* ==========================================================================
   Homepage animated hero title
   ========================================================================== */

h1.hero-title{
	display:grid;
	grid-template-columns:max-content max-content;
	align-items:baseline;
	justify-content:center;
	column-gap:.35em;
}

h1.hero-title .hero-title-word-placeholder{
	display:block;
	overflow:hidden;
	height:1em;
	width:var(--hero-title-word-width, auto);
	text-align:right;
	padding-right:.1em;
	margin-right:-.1em;
	box-sizing:content-box;
}

h1.hero-title .hero-title-word {
	display: block;
	white-space: nowrap;
	transform: translateY(0);
	opacity: 1;
	transition: transform .3s ease, opacity .3s ease;
	font-style: italic;
	font-weight: 600;
}

h1.hero-title .hero-title-word.is-leaving{
	transform:translateY(-100%);
	opacity:0;
}

h1.hero-title .hero-title-word.is-entering{
	transform:translateY(100%);
	opacity:0;
}

h1.hero-title .hero-title-fixed{
	display:block;
}

@media screen and (max-width:500px){

	h1.hero-title{
		display:none;
	}

}



