.error-block {
    padding: 40px 50px 661px;
    position: relative;
    overflow: hidden;
}

.error-block-content {
    gap: 59px;
}

.error-background {
    position: absolute;
    width: 1222px;
    height: 1222px;
    border-radius: 1222px;
    background: #E2E5E0;
    left: 50%;
    transform: translateX(-50%);
    top: -56px;
    z-index: 0;
}

.error-code {
    position: absolute;
    font-size: 387px;
    font-style: normal;
    font-weight: 500;
    line-height: 488px;
    background: linear-gradient(180deg, #26352E 24.85%, #7E9083 80.88%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    left: 50%;
    transform: translateX(-50%);
    top: 218px;
}

.error-img {
    width: 1191px;
    height: 763px;
    background-image: url("image/error.webp");
    background-size: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 420px;
}

.error-container {
    z-index: 10;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.error-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.error-title {
    color: var(--Black, #1C2320);
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
}

.error-text {
    color: var(--Grey-600, #757575);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.error-btn-group {
    display: flex;
    align-items: center;
    gap: 13px;
}

.error-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 191px;
    height: 40px;
    border-radius: 6px;
    background: var(--Primary, #AE5A33);
    box-shadow: 0 1px 0 0 #7E4529;
    color: var(--White, #FFF);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 142.857% */
}

.error-btn.blue {
    background: var(--Secondary, #26352E);
    box-shadow: 0 1px 0 0 #46564C;
}

@media (min-width: 990px) and (max-width: 1200px) {
    .error-block {
        padding: 30px 30px 649px;
    }

    .error-block-content {
        gap: 61px;
    }

    .error-background {
        width: 926px;
        height: 926px;
        border-radius: 926px;
    }

    .error-code {
        font-size: 386px;
        top: 214px;
    }

    .error-img {
        top: 416px;
    }

    .error-container {
        gap: 27px;
    }

    .error-title {
        font-size: 42px;
    }
}

@media (max-width: 989px) {
    .error-block {
        padding: 20px 20px 409px;
    }

    .error-block-content {
        gap: 40px;
    }

    .error-background {
        display: none;
    }

    .error-code {
        position: absolute;
        font-size: 200px;
        line-height: 254px;
        top: 314px;
    }

    .error-img {
        width: 619px;
        height: 397px;
        top: 419px;
    }

    .error-text-container {
        gap: 7px;
    }

    .error-title {
        font-size: 30px;
    }

    .error-text {
        font-size: 16px;
        width: 276px;
    }

    .error-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .error-btn {
        width: 100%;
        max-width: 315px;
        height: 52px;
        font-size: 18px;
    }
}