.customer-example-iframe {
width: 480px;
height: 270px;
margin: 10px;
position: relative;
overflow: hidden;
}
.customer-video-thumbnail {
background-size: cover;
background-position: center;
cursor: pointer;
position: relative;
width: 100%;
height: 100%;
border-radius: 4px;
overflow: hidden;
}
.customer-video-header {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 3;
background: linear-gradient(rgba(43, 41, 45, .72), transparent);
padding: 16px;
display: flex;
align-items: flex-start;
}
.customer-video-logo {
flex-shrink: 0;
width: 40px;
height: 40px;
border-radius: 50%;
overflow: hidden;
background-color: #fff;
margin-right: 10px;
}
.customer-video-logo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.customer-video-text {
flex-grow: 1;
}
.customer-video-title {
color: white;
font-size: 14px;
font-weight: 700;
text-shadow: 0 1px 2px rgba(43, 41, 45, .55);
margin-bottom: -3px;
line-height: 1.2;
}
.customer-video-company {
color: white;
font-size: 13px;
text-decoration: none;
text-shadow: 0 1px 2px rgba(43, 41, 45, .55);
line-height: 1.2;
display: inline-block;
}
.customer-video-company:hover {
text-decoration: underline;
color: white;
}
.customer-video-play {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 60px;
height: 60px;
background-color: rgba(43, 41, 45, .55);
border-radius: 50%;
border: 2px solid white;
padding: 0;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
z-index: 2;
}
.customer-video-play:focus-visible {
outline: 3px solid #00E5FF;
outline-offset: 3px;
}
.customer-video-thumbnail:hover .customer-video-play {
transform: translate(-50%, -50%) scale(1.1);
}
.customer-video-player {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 4px;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
.customer-videos {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
@media (max-width: 768px) {
.customer-example-iframe {
width: 100%;
max-width: 480px;
margin: 10px auto;
}
}
