html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Lexend Deca";
}

.error-wrapper {
    position: absolute;
    width: fit-content;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    z-index: 1;
    width: 675px;
    max-width: 90%;
}

.error-bg {
    position: relative;
    min-height: 100vh;
    z-index: 0;
}

.pol {
    position: absolute;
    border-radius: 50%;
}

.pol-1 {
    position: fixed;
    top: 0;
    right: 0;
}

.pol-2 {
    position: fixed;
    bottom: 0;
    left: 0;
}



.pol-3 {
    width: 106px;
    height: 106px;
    left: 158px;
    bottom: 301px;
    background: #e6e6e6;
}

.pol-4 {
    width: 53px;
    height: 53px;
    left: 171px;
    bottom: 313px;
    background: #fc9501;
}

.pol-5 {
    width: 53px;
    height: 53px;
    top: 197px;
    right: 199px;
    background: #e6e6e6;
}

.pol-6 {
    width: 15px;
    height: 15px;
    top: 285px;
    right: 260px;
    background: #fc9501;
}

.content-error {
    position: relative;
    height: fit-content;
    border: 1px dashed rgba(97, 97, 97, 0.5);
    border-radius: 18px;
    transform: skewY(5deg);
}

.error-group {
    transform: skewY(-5deg);
    padding: 70px 100px;
    text-align: center;
}

.error-img {
    width: 100%;
    margin-bottom: 48px;
}

.error-title {
    font-weight: 700;
    font-size: 49px;
    line-height: 56px;
    color: #BE1B0D;
    margin-bottom: 48px;
    text-align: center;
}

.error-des {
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    margin-bottom: 48px;
}

a.error-btn {
    width: 380px;
    max-width: 50%;
    height: 56px;
    left: 0px;
    top: 0px;
    background: #FC9501;
    border-radius: 45px;
    padding: 15px 165px;
    font-weight: 500;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none;
}

.error-btns-container {
    display: flex;
    justify-content: space-evenly;

}

a.catalog-error-btn {
    max-width: 50%;
    height: 56px;
    left: 0px;
    top: 0px;
    background: #FC9501;
    border-radius: 45px;
    padding: 5px 10%;
    font-weight: 500;
    font-size: 20px;
    line-height: 56px;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none;
}


@media (max-width: 1500px) {
    .error-group {
        padding: 70px 5%;
    }
    a.error-btn {
        padding: 15px 15%;
        border: 1px solid #fff;
    }

    a.catalog-error-btn {
        border: 1px solid #fff;
        padding: 2px 8%;
        font-size: 16px;
    }
    .error-title {
        margin-top: 0;
    }
    .error-img {
        padding-top: 20px;
    }
}
