.page {
    min-height: 100vh;
    background: transparent;
}


body {
    background: transparent;
}


.error404-main {
    background: transparent;
}


.error404 {
    padding-top: 20px;
    padding-bottom: 120px;
}


.error404__container {
    width: min(1742px, 100% - 40px);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    grid-gap: 0;
}


.error404__media {
    margin: 0;
    width: 592px;
    min-width: 592px;
    height: 854px;
    overflow: hidden;
}


.error404__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}


.error404__content {
    flex: 1;
    padding-top: 130px;
    padding-left: 1px;
}


.error404__title,
.error404__title *,
.error404__title p {
    margin: 0;
    font-family: var(--font-family) !important;
    font-weight: 400 !important;
    font-size: 100px !important;
    line-height: 110% !important;
    letter-spacing: 0 !important;
    color: #3b70cd !important;
}


.error404__title strong,
.error404__title * strong,
.error404__title p strong {
    font-weight: 400 !important;
    color: #969696 !important;
}


.error404__subtitle,
.error404__subtitle *,
.error404__subtitle p {
    margin: 40px 0 0;
    max-width: 1149px;
    font-family: var(--font-family) !important;
    font-weight: 400 !important;
    font-size: 38px !important;
    line-height: 120% !important;
    letter-spacing: 0 !important;
    color: #000000 !important;
}


.error404__content .pill-btn {
    margin-top: 80px;
}


@media (max-width: 1480px) {
    .error404__container {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 40px;
    }

    .error404__media {
        width: min(592px, 100%);
        min-width: 0;
        height: auto;
        aspect-ratio: 592 / 854;
    }

    .error404__content {
        padding: 0;
    }

    .error404__title,
    .error404__title *,
    .error404__title p {
        font-size: 76px !important;
    }

    .error404__subtitle,
    .error404__subtitle *,
    .error404__subtitle p {
        font-size: 30px !important;
    }
}


@media (max-width: 860px) {
    .error404 {
        padding-top: 0;
        padding-bottom: 90px;
    }

    .error404__title,
    .error404__title *,
    .error404__title p {
        font-size: 46px !important;
    }

    .error404__subtitle,
    .error404__subtitle *,
    .error404__subtitle p {
        margin-top: 24px;
        font-size: 22px !important;
    }

    .error404__content .pill-btn {
        margin-top: 40px;
        width: min(455px, 100%);
    }
}
