.hf-background-video-wrapper {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hf-background-video-wrapper .vimeo-container {
    position: relative;
    width: 1440px;
    max-width: 100%;
    aspect-ratio: 16/9;
    /* padding-bottom: 56.25%;
    16:9 aspect ratio (9/16 = 0.5625) */
    /* height: 0; */
    overflow: hidden;
    border-radius: 50px;
    margin-left: auto;
    margin-right: auto;
}

.hf-background-video-wrapper .vimeo-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hf-background-video-wrapper .video-footer {
    height: 50px;
    width: 100%;
    position: absolute;
    bottom: 0;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    background: #000;
    z-index: 12;
}

.hf-background-video-wrapper .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 11;
    cursor: pointer;
    pointer-events: none;
    /* Allow hover events to pass through */
    background-color: rgba(0, 0, 0, .3);
}

.hf-background-video-wrapper .video-overlay .play-button {
    width: 80px;
    height: 80px;
    opacity: .6;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: opacity .4s;
    z-index: 12;
    pointer-events: auto;
}

.hf-background-video-wrapper .video-overlay:hover .play-button,
.hf-background-video-wrapper .video-overlay:hover .volume-button,
.hf-background-video-wrapper .video-overlay:hover .transcript {
    opacity: 1;
}

.hf-background-video-wrapper .caption {
    line-height: 1;
    width: 500px;
    max-width: 80%;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.hf-background-video-wrapper .transcript {
    width: 35px;
    position: absolute;
    bottom: 10%;
    right: 10px;
    opacity: .6;
    z-index: 12;
    transition: opacity .4s;
}

.hf-background-video-wrapper .volume-button {
    width: 50px;
    position: absolute;
    top: 6%;
    left: 6%;
    opacity: .6;
    z-index: 12;
    transition: opacity .4s;
    pointer-events: auto;
}

.hf-background-video-wrapper .volume-button .sound-off-icon,
.hf-background-video-wrapper .play-button .pause-icon {
    display: none;
}

@media (min-width:1440px) {
    .hf-background-video-wrapper .vimeo-container {
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    .hf-background-video-wrapper .video-footer {
        display: none;
    }

    .hf-background-video-wrapper .transcript {
        right: 70px;
        bottom: 7%
    }
}

@media (max-width: 991px) {
    .hf-background-video-wrapper .vimeo-container {
        border-radius: 50px;
    }

    /* .hf-background-video-wrapper .video-footer {
        display: none;
    } */

    .hf-background-video-wrapper .container {
        padding-left: 0;
        padding-right: 0;
    }

    .hf-background-video-wrapper .caption {
        display: none !important;
    }

    .hf-background-video-wrapper .volume-button {
        width: 40px;
    }

    .hf-background-video-wrapper .transcript {
        width: 30px;
    }

    .hf-background-video-wrapper .video-overlay .play-button {
        width: 70px;
    }
}

@media (max-width: 767px) {
    .hf-background-video-wrapper .volume-button {
        width: 35px;
    }

    .hf-background-video-wrapper .transcript {
        width: 25px;
    }

    .hf-background-video-wrapper .video-overlay .play-button {
        width: 50px;
    }
}