@media only screen and (min-width: 1000px) {
    .main-content>footer,
    .main-content>.section-in-the-media,
    .main-content>.section-hero.hero-404 {
        max-width: 100%;
        margin: 0px auto;
    }
}

.section-hero.hero-404 {
    padding-bottom: 28px;
}

.section-hero {
    background: #1b1a25;
}

.error-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-hero.hero-404 .hero-content {
    justify-content: center;
    display: flex;
}

.hero-left {
    margin-top: 13px;
    max-width: 685px;
}

.hero-content img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.section-hero.hero-404 .hero-left h1 {
    font-size: 63px;
    line-height: 50px;
    margin-top: 58px;
    margin-bottom: 12px;
    color: #ffffff;
}

.section-hero.hero-404 .hero-left h2 {
    color: #fff;
    font-size: 33px;
    line-height: 50px;
    margin-bottom: 20px;
}

.section-hero.hero-404 .hero-left p {
    margin-bottom: 2px;
    color: #bcbfc8;
    max-width: 600px;
    margin-top: 0;
    font-size: 14px;
    line-height: 26px;
}

.section-hero.hero-404 .hero-left a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

@media only screen and (max-width: 600px) {
    .hero-content .hero-image {
        position: absolute;
        top: 96px;
        right: 2px;
        width: 129px;
        max-width: 310px;
    }

    .page-wrap .hero-left h1 {
        font-size: 33px;
        margin-left: 0px;
        margin-top: 0;
        margin-bottom: 0px;
        width: min-content;
        min-width: min-content;
    }

    .section-hero.hero-404 .hero-left h2 {
        max-width: 250px;
        line-height: 45px;
        margin-bottom: 20px;
        font-size: 33px;
    }

    .main-content>.hero-404 {
        margin-bottom: 0px
    }

    .main-content>.section-in-the-media {
        padding-top: 40px;
        margin-top: 0px
    }
}

@media only screen and (max-width: 1000px) and (min-width: 600px) {
    .section-hero.hero-404 {
        padding-bottom: 28px;
        padding-top: 42px;
    }

    .main-content>.hero-404 {
        margin-bottom: 0px
    }

    .main-content>.section-in-the-media {
        padding-top: 40px;
        margin-top: 0px
    }
}
