.webpresso_video_player {
    position: relative;
}

.webpresso_video_player.edit-mode .webpresso_video_player-thumbnail-wrapper {
    position: relative;
}

.webpresso_video_player.webpresso_video_player-popup,
.webpresso_video_player.webpresso_video_player-popup .webpresso_video_player-thumbnail-wrapper {
    position: relative;
}

.webpresso_video_player .webpresso_video_player-thumbnail-wrapper {
    position: absolute;
    cursor: pointer;
    z-index: 1;
    width: 100%;
}

.webpresso_video_player .webpresso_video_player-thumbnail {
    width: 100%;
    position: relative;
}

.webpresso_video_player .webpresso_video_player-thumbnail-wrapper::before {
    z-index: 1;
    content: '';
    background-image: url('./play-button.svg');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.8;
    display: block;
    width: 96px;
    height: 96px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    pointer-events: none;
    scale: 1;
    transition: all 0.4s ease-in-out;
}

.webpresso_video_player:hover .webpresso_video_player-thumbnail-wrapper::before {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.webpresso_video_player iframe {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.webpresso_video_player video {
    display: block;
    cursor: pointer;
    max-width: 100%;
}
