@import "../../resources/scss/util/variables";
@import "../../resources/scss/util/mixins";
.block-video {
text-align: center;
.overline {
color: var(--color);
}
}
.video-inner {
max-width: 60rem;
margin: 0 auto;
}
.video-item {
position: relative;
overflow: hidden;
display: block;
img {
display: block;
aspect-ratio: 16 / 9;
object-fit: cover;
transition: transform 0.3s ease-in-out;
width: 100%;
}
&:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba($black, 0.4);
z-index: 2;
}
.play-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 10;
}
}
This component is not currently used on any pages.