.is_overlay{display: block; width: 100%; height: 100%;}

#trailer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    object-fit: fill;
}

#trailer > video {
    position: absolute;
    top: 0;
    left: 0;
/*    object-fit: cover;*/
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    opacity: 0.30;
/*    max-width: 1920px;*/ /* video width */
/*    max-height: 1080px;*/ /* video height */
}

/*
.video-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
*/

/*.video-container video {*/
    /* Make video to at least 100% wide and tall */
/*    min-width: 100%;
    min-height: 100%;

    opacity: 0.40;*/

    /* Setting width & height to auto prevents the browser from stretching or squishing the video */
/*    width: auto;
    height: auto;*/

    /* Center the video */
/*    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
*/

<style type="text/css">
    #content {
                width: 500px; /* Ширина слоя */
                margin: 0 auto 50px; /* Выравнивание по центру */
                }

    #footer {
                position: fixed; /* Фиксированное положение */
                left: 0; bottom: 0; /* Левый нижний угол */
                padding: 10px; /* Поля вокруг текста */
                background: #585858; /* Цвет фона */
                color: #fff; /* Цвет текста */
                width: 100%; /* Ширина слоя */
            }

    .fig {
        text-align: center; /* Выравнивание по центру */ 
    }
</style>


<style>
    #wrap { width: 600px; height: 390px; padding: 0; overflow: hidden; }
    #frame { width: 800px; height: 520px; border: 1px solid black; }
    #frame {
        -ms-zoom: 0.75;
        -moz-transform: scale(0.75);
        -moz-transform-origin: 0 0;
        -o-transform: scale(0.75);
        -o-transform-origin: 0 0;
        -webkit-transform: scale(0.75);
        -webkit-transform-origin: 0 0;
    }
</style>
