.vimeo-embed {
    padding-left: 0px !important;
    padding-right: 0px !important;
    max-height: 636px;
    overflow: hidden;
    position: relative;
}

.vimeo-embed .vimeo-main-player {
    padding:56.25% 0 0 0;
}
.vimeo-embed .video-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index:29;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    cursor: pointer;
}

.vimeo-embed .video-overlay svg {
    pointer-events: none;
}

.vimeo-embed .video-overlay::before {
    background: linear-gradient(73.75deg, #245251 9.73%, rgba(46, 135, 130, 0.08) 74.99%);
    mix-blend-mode: multiply;
    opacity: 0.8;
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.embed-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(48, 42, 44, 0.8);
    z-index:9999;
    visibility: hidden;
    display: none;
    transition: visibility 0.3s ease-in-out;
    transition-delay:0.01s;
}

.embed-overlay.visible {
    visibility: show;
    display: block;
}

.embed-overlay .embed-overlay-content {
    background: #fff;
    padding: 10px;
    max-width: 75vw;
    min-width: 75vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.embed-overlay-content svg {
    position: absolute;
    top: -50px;
    right: -50px;
    cursor: pointer;

}

@media screen and (max-width: 767px) {
    .vimeo-embed .vimeo-main-player {
        padding: 90% 0 0 0 !important;
    }

    .vimeo-embed .vimeo-main-player iframe {
        transform: scale(2);
    }
}