.not-found {
    padding: 140px 0 158px;
    background: linear-gradient(180deg, rgba(241, 244, 255, 0) 0%, #F1F4FF 100%);
}
.not-found__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/*.not-found__text-big {*/
/*    font-size: 300px;*/
/*    font-weight: 900;*/
/*    line-height: 360px;*/
/*    text-align: left;*/
/*    -webkit-text-stroke: 5px #41637E63;*/
/*    -webkit-text-fill-color: #D7E6F8;*/
/*    text-shadow: 20px 20px 20px 0 #00000026;*/
/*}*/
.not-found__img {
    margin-bottom: 54px;
    width: 660px;
    height: 266px;
    margin-left: 31px;
}
.not-found__img img {
    object-fit: cover;
    height: 100%;
}
.not-found__title {
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    color: #41637E;
    margin-bottom: 39px;
    text-transform: uppercase;
}
.not-found__subtext,
.not-found__text {
    font-size: 22px;
    font-weight: 500;
    line-height: 26.4px;
    color: #41637E;
    text-align: center;
}
.not-found__text {
    margin: 0;
}
.not-found__subtext {
    margin: 25px 0 56px;
}
.not-found__list {
    display: flex;
    gap: 31px;
    margin-left: 37px;
    flex-wrap: wrap;
}
.not-found__list a {
    padding: 10px 32px;
    color: var(--blue);
    font-family: var(--inter);
    font-size: var(--s16);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    border-radius: 12px;
    border: 1px solid var(--blue);
    background: var(--elis);
    white-space: nowrap;
    text-align: center;
}
.not-found__list a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .not-found {
        padding: 37px 0 69px;
    }
    .not-found__img {
        margin-bottom: 19px;
        width: 300px;
        height: 122px;
        margin-left: 0;
    }
    .not-found__list {
        flex-direction: column;
        gap: 25px;
        margin-left: 0;
        align-items: center;
    }
    .not-found__list a:nth-child(1) {order:1;}
    .not-found__list a:nth-child(2) {order:3;}
    .not-found__list a:nth-child(3) {order:2;}

    .not-found__title {
        font-size: 26px;
        line-height: 31.2px;
        margin-bottom: 20px;
    }
    .not-found__subtext, .not-found__text {
        font-size: 14px;
        line-height: 16.8px;
    }
    .not-found__subtext {
        margin: 20px 0 34px;
    }
    .not-found__list a {
        padding: 11px 32px 10px;
    }
}
@media (max-width: 390px) and (min-width: 389px) {
    .not-found__img {
        margin-left: 21px;
    }
}



