html, body {
    min-height: 100%;
}

* {
    margin: 0;
    padding: 0;
    font-family: Arial;
    font-size: 13px;
    line-height: 19px;
}

.container {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    background: white;
    padding: 25px 40px;
    width: 306px;
    height: 218px;
}

.background {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .background video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
    }