.pjs {
    position: fixed;
    inset: 0;
    padding: 50px;
    z-index: 99999;
    display: none;
    color: #FFF;
    background-color: rgba(0,0,0,.8);
}

.pjs-noscroll {
    overflow: hidden !important;
}

.pjs-close {
    position: absolute;
    top: 0;
    right: 0;
    display:block;
    padding: 20px;
}

.pjs.pjs-active {
    display:block;
    opacity: 0;
    transition: opacity .25s;
}

.pjs.pjs-active.pjs-open {
    opacity: 1;
}

.pjs.pjs-active .pjs-content {
    transform: scale(0.8);
    top: 50px;
    transition: transform .25s, top .25s;
}

.pjs.pjs-active.pjs-open .pjs-content {
    transform: scale(1);
    top: 0px;
}

.pjs-content {
    position: relative;
    max-width:1400px;
    margin: 0 auto;
}

.pjs-content-center {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pjs-iframe {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.pjs-iframe.pjs-iframe-fit-screen {
    padding-top: calc(100vh - 100px);
}

.pjs-iframe>iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
