.header-video {
    height: 90vh;
    padding: 0;
}

.header-video video,
.header-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.wrapper {
    position: relative;
}

.text-container {
    position: absolute;
    max-width: 582px;
    width: 100%;
    left: calc((100vw - 1188px) / 2);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.text-container .titel {
    font-family: Paytoneone;
    font-size: 42px;
    line-height: 52px;
    text-transform: uppercase;
    font-weight: 400;
    color: #ffffff;
    margin-top: 12px;
    margin-bottom: 25px;
}

.text-container .titel strong {
    font-family: Paytoneone;
}

@media screen and (max-width: 1200px) {
    .text-container {
        width: calc(100% - 50px);
        left: 50px;
    }
}

@media screen and (max-width: 1180px) and (orientation: portrait),
screen and (max-width: 1024px) {
    .header-video {
        height: 717px;
    }

    .text-container .titel {
        font-size: 26px;
        line-height: 34px;
        margin-top: 8px;
    }
}

@media screen and (max-width: 817px) {
    .header-video {
        height: 550px;
    }

    .text-container {
        width: calc(100% - 15px);
        left: 15px;
    }
}


