.header {
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow: hidden;
    background-color: #141519
}

@media only screen and (max-width: 575.98px) {
    .header {
        min-height: 600px;
    }

    .header.header--blog-post {
        min-height: 600px !important;
    }
}

.header:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 2;
}

@media only screen and (max-width: 800px) {
    .header--blog-post {
        height: 550px;
        -webkit-box-align: center;
        align-items: center;
        padding-bottom: 0
    }

    .header--blog-post .header-content {
        padding: 0 40px
    }
}

@media only screen and (max-width: 425px) {
    .header--blog-post .header-content {
        padding: 0
    }
}

.header--blog-post:before {
    background: rgba(0, 0, 0, .7)
}

@media only screen and (max-height: 500px) {
    .header {
        height: 500px;
        min-height: -webkit-max-content;
        min-height: -moz-max-content;
        min-height: max-content;
        max-height: 500px
    }
}

.header-content {
    margin: 270px 0 0 200px;
    max-width: 800px;
    width: 100%;
    position: relative
}

.header-content__separator {
    width: 83px;
    height: 2px;
    border-radius: 1px;
    background-color: #4990e2;
    margin-bottom: 40px
}

.header-content__title {
    margin-bottom: 40px
}

.header-content--reverse, .header-content--main {
    max-width: 800px
}

.header-content--reverse .header-content__title, .header-content--main .header-content__title {
    margin-bottom: 0;
    font-weight: 400;
    font-family: "open sans", serif
}

.header-content--reverse .header-content__description, .header-content--main .header-content__description {
    font-weight: 700
}

.header-content--reverse .header-content__title, .header-content--reverse .header-content__description, .header-content--main .header-content__title, .header-content--main .header-content__description {
    font-size: 56px;
    line-height: 64px
}

@media only screen and (max-width: 900px) {
    .header-content--reverse .header-content__title, .header-content--reverse .header-content__description, .header-content--main .header-content__title, .header-content--main .header-content__description {
        font-size: 46px;
        line-height: 60px
    }
}

@media only screen and (max-width: 768px) {
    .header-content--reverse .header-content__title, .header-content--reverse .header-content__description, .header-content--main .header-content__title, .header-content--main .header-content__description {
        font-size: 36px;
        line-height: 48px
    }
}

@media only screen and (max-width: 425px) {
    .header-content--reverse .header-content__title, .header-content--reverse .header-content__description, .header-content--main .header-content__title, .header-content--main .header-content__description {
        font-size: 26px;
        line-height: 36px
    }
}

@media only screen and (max-width: 900px) {
    .header-content {
        margin-left: 130px
    }
}

@media only screen and (max-width: 768px) {
    .header-content {
        margin: 200px auto 0
    }
}

@media only screen and (max-height: 650px) {
    .header-content {
        margin-top: 100px
    }
}

@media only screen and (max-width: 900px) {
    .header-title {
        font-size: 34px;
        line-height: 44px
    }

    .header-title--big {
        font-size: 40px;
        line-height: 46px
    }
}

@media only screen and (max-width: 768px) {
    .header-title {
        font-size: 28px;
        line-height: 38px
    }

    .header-title--big {
        font-size: 32px;
        line-height: 38px
    }
}

@media only screen and (max-width: 425px) {
    .header-title {
        font-size: 22px;
        line-height: 30px
    }

    .header-title--big {
        font-size: 24px;
        line-height: 30px
    }
}

.header-description {
    display: block;
    color: #fff;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 40px
}

@media only screen and (max-width: 900px) {
    .header-description {
        font-size: 26px;
        line-height: 34px
    }
}

@media only screen and (max-width: 768px) {
    .header-description {
        font-size: 24px;
        line-height: 32px
    }
}

@media only screen and (max-width: 425px) {
    .header-description {
        font-size: 20px;
        line-height: 28px
    }
}


.header-content--main .header-content__title, .header-content .header-content__title {
    text-transform: none;
}

.header-content--main .header-content__description, .header-content .header-content__description {
    font-size: 24px;
    line-height: 160%;
    color: #EDECF1;
    padding-top: 25px;
}

.header-content--main, .header-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

header .wrap, #intro .wrap {
    height: 100%;
}

.header-content {
    max-width: 960px;
}

.header--blog-post {
    padding-bottom: 0;
}

.header-content--main .header-content__title, .header-content .header-content__title {
    color: #fff;
}


/* Header video modifications */
.header video {
    position: absolute;
    z-index: 1;
    width: 100vw;
    height: 100vh;
}

.home .header::before {
    z-index: 2
}

header .wrap {
    z-index: 3;
    position: relative
}

.header video[poster] {
    object-fit: cover;
}

.home .header::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.47) 100%);
}

@media only screen and (max-width: 767.98px) {
    .header-content--main .header-content__title {
        line-height: 55px;
        font-size: 40px;
    }
}

@media only screen and (max-width: 575.98px) {
    .header-content--main .header-content__title {
        line-height: 41px;
        font-size: 30px;
        width: 95%;
    }

    .header-content--main .header-content__description {
        font-size: 18px;
    }

    .header-content .header-content__title, .casestudieshellopage .header-content .header-content__title {
        font-size: 36px;
        line-height: 49px;
    }

    .header-content .header-content__description {
        font-size: 18px;
        line-height: 29px;
    }
}

@media only screen and (max-width: 399.98px) {
    .header-content--main .header-content__title {
        font-size: 29px;
        width: 100%;
    }
}