header {
    position: relative;
    background: url("../video/background.jpeg") no-repeat;
    background-position: center;

    background-size: cover;
    height: 100vh;
    min-height: 25rem;
    width: 100%;
    /* overflow-y: scroll; */
}

header video {
    position: fixed !important;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

header .container {
    position: relative;
    z-index: 2;
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url("../video/background.jpeg") no-repeat;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

@media (pointer: coarse) and (hover: none) {
    header {
        background: url("../video/background.jpeg") no-repeat;
        background-size: cover;
        width: 100%;
        height: 100vh;
        background-position: center;
    }
    header video {
        display: none;
    }
}
