html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.m_hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 80px;
}

.m_hero_video {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    display: block;
}

.m_hero_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.m_hero_container {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: calc(100% - 40px);
}

.m_hero_content {
    max-width: 760px;
    margin: 0 auto;

    color: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.m_hero_subheadline {
    display: block;
    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 18px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.m_hero_headline {
    margin: 0;

    text-transform: uppercase;

    font-size: clamp(48px, 7vw, 120px);
    line-height: 0.95;
    font-weight: 900;
}

.m_hero_headline span {
    color: #e62020;
}

.m_hero_logo {
    width: 100%;
}

.m_hero_logo svg {
    width: 80%;
}

.m_hero_text {
    margin-top: -30px;

    max-width: 620px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 17px;
    line-height: 1.6;
}

.m_hero_buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 16px;

    margin-top: 30px;
}

/* Tablet */

@media (max-width: 1200px) {
    .m_hero {
        min-height: 420px;
    }

    .m_hero_video {
        height: 100%;
min-height: 420px;
width: auto;
    }

    .m_hero_headline {
        font-size: clamp(48px, 6vw, 90px);
    }
}

/* Mobile */

@media screen and (max-width: 1199px) {
    .m_hero {
        margin-top: 71px;
    }
}

@media (max-width: 767px) {
    .m_hero {
        min-height: 420px;
    }

    .m_hero_video {
        height: 100%;
    }

    .m_hero_container {
        width: calc(100% - 40px);
    }

    .m_hero_content {
        max-width: 100%;
    }

    .m_hero_subheadline {
        font-size: 14px;
    }

    .m_hero_headline {
        font-size: clamp(42px, 12vw, 64px);
    }

    .m_hero_text {
        margin-top: 20px;
        font-size: 16px;
    }

    .m_hero_buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .m_hero {
        min-height: 360px;
    }

    .m_hero_headline {
        font-size: clamp(22px, 12vw, 64px);
    }
}