.book {
    margin: 150px 0;
    z-index: 17;
    position: relative;
}

.book__img {
    position: relative;
    width: 412px;
    flex-shrink: 0;
}

.book__img-inner {
    width: 100%;
    position: relative;
    z-index: 1;
}

.book__text {
    position: relative;
    z-index: 1;
}

.book__bg {
    width: 1662px;
    position: absolute;
    right: -800px;
    top: -800px;
    z-index: -2;
}

.book_bg-grid {
    position: absolute;
    width: 818.84px;
    height: 818.84px;
    top: -90px;
    left: -305px;
    transform: rotate(-54.4deg);
    max-width: unset;
    max-height: unset;
    z-index: 0;
}

.book__block {
    display: flex;
    align-items: center;
    border-radius: 60px;
    background: #403c68;
    position: relative;
    border: 1px solid #262626;
    gap: 53px;
    overflow: hidden;
    padding: 60px 60px 60px 78px;
}

.book__img-bg {
    position: absolute;
    width: 100%;
    top: 0;
    left: 4px;
}

.book__img-bg img {
    max-width: 100%;
    width: 539px;
}

.book__img-roistat {
    position: absolute;
    top: 150px;
}

.book__btn {
    border-radius: 24px;
    background: #24223c;
}

.book__btn span {
    color: #fff;
    display: flex;
    align-items: center;
}

.book__btn span::after {
    content: "";
    margin-left: 10px;
    display: inline-block;
    background-image: url(../img/book-login.svg);
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
}

.book_text {
    flex: 1;
}

@media screen and (max-width: 1200px) {
    .book__block {
        padding: 30px 30px 40px 50px;
        gap: 50px;
    }

    .book_bg-grid {
        left: -416px;
    }

    .book__img {
        width: 400px;
    }
}

@media screen and (max-width: 1060px) {
    .book__block {
        display: grid;
        grid-template-columns: 1fr 1.3fr;
    }

    .book_bg-grid {
        right: 70%;
        left: unset;
    }
    .book__img {
        width: 100%;
    }
}

.book__title {
    font-size: 42px;
    line-height: 120%;
    color: #f5f4eb;
    font-weight: 700;
}

.book__desc {
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.01em;
    color: #f5f4eb;
    margin: 20px 0 40px 0;
}

.book__btn-mobile {
    display: none;
}

@media screen and (max-width: 1350px) {
    .book {
        margin: 130px 0;
        position: relative;
    }

    .book__block {
        overflow: hidden;
    }

    .book__block::before {
        border-radius: 33px;
        right: 0;
    }

    .book__block::after {
        left: 0;
    }

    .book__title {
        font-size: 30px;
    }

    .book__desc {
        font-size: 16px;
    }
}

@media screen and (max-width: 980px) {
    .book__block::before {
        display: none;
    }

    .book__block::after {
        display: none;
    }

    .book {
        margin: 120px 0;
    }

    .book__desc {
        font-size: 16px;
        margin: 20px 0 32px 0;
    }

    .book__img-roistat {
        top: 110px;
    }
}

@media screen and (max-width: 750px) {
    .book {
        margin: 60px 0;
    }

    .book__bg {
        width: 800px;
        right: -400px;
        top: -400px;
    }

    .book__block {
        padding: 24px;
        border-radius: 16px;
    }
    .book__block::before {
        border-radius: 17px;
    }

    .book__title {
        font-size: 30px;
        line-height: 120%;
        text-align: left;
    }

    .book__desc {
        text-align: left;
        margin: 24px 0 0 0;
    }

    .book .btn-with-gradiend {
        margin: 24px auto 0 auto;
    }

    .book__block {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .book__img-inner {
        max-width: 320px;
        margin: 0 auto;
    }

    .book__btn-desktop {
        display: none;
    }

    .book__btn-mobile {
        display: block;
    }

    .book__img {
        grid-row: 2;
    }
}

@media screen and (max-width: 581px) {
    .book__title {
        font-size: 24px;
    }

    .book__desc {
        font-size: 14px;
    }

    .book .content-block-container {
        padding: 0;
    }

    .book_bg-grid {
        display: none;
    }

    .book__block {
        border-radius: 0;
        padding: 20px;
    }
}

