.video-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1000;
    width: calc(100vw - 4rem);
    max-height: calc(100vh - 4rem);
    display: none;
    opacity: 0;
    transition: opacity .5s ease;
}

.video-popup--open, .video-popup--open + .video-popup__bg {
    opacity: 1;
}

.video-popup__close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 3rem;
    height: 3rem;
    background-color: #000;
    color: #FFF;
    display: block;
    z-index: 1030;
    border-radius: 50%;
    cursor: pointer;
    line-height: 3rem;
    text-align: center;
    font-size: 32px;
    font-size: 2rem;
    transition: background-color .3s ease, color .3s ease;
}

.video-popup__close:before {
    display: inline-block;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\f00d';
    font-weight: 600;
    font-family: Font Awesome\ 5 Free;
}

.video-popup__close:hover, .video-popup__close:active, .video-popup__close:focus {
    background-color: #FFF;
    color: #000;
}

.video-popup__embed {
    border: 1rem solid #000;
    background-color: #000;
    position: relative;
    padding-top: 56.25%;
    width: 100%;
}

.video-popup__embed::before {
    content: 'Wird geladen';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 32px;
    font-size: 2rem;
    color: #FFF;
    z-index: 1010;
}

.video-popup__embed iframe,
.video-popup__embed embed,
.video-popup__embed .wp-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1020;
}

.video-popup__embed .wp-video-shortcode {
    width: 100%;
    height: 100%;
    display: block;
}

.video-popup__bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    cursor: pointer;
    display: none;
    z-index: 990;
    opacity: 0;
    transition: opacity .5s ease;
}
