.main-themes .title {
    margin-bottom: 60px;
}

.main-themes {
    margin: 100px 0;
    position: relative;
}

.main-themes__grid {
    margin: 60px auto 0 auto;
    display: -ms-grid;
    display: grid !important;
    -ms-grid-columns: 1fr 60px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.main-themes__block {
    border-radius: 60px;
    border: 6px solid #595589;
    background: #24223c;
    padding: 40px;
    min-height: 100%;
    position: relative;
}

.main-themes__icon-wrap {
    position: relative;
}

.main-themes__icon-bg {
    width: 130px;
    position: absolute;
    z-index: -1;
    left: -35px;
    top: -35px;
}

.main-themes__icon {
    border: 0.983333px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0px 15.7333px 31.4667px rgba(0, 0, 52, 0.04),
        0px 7.86667px 15.7333px rgba(0, 0, 52, 0.04),
        0px 3.93333px 7.86667px rgba(0, 0, 52, 0.04);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-themes__icon img {
    display: flex;
    -ms-grid-row-align: center;
    align-self: center;
    -ms-grid-column-align: center;
    justify-self: center;
    width: 34px;
}

.main-themes__title {
    color: #7be6e6;
    font-size: 28px;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 24px;
    max-width: 505px;
}

.main-themes__desc {
    color: #f5f4eb;
    font-size: 20px;
    font-weight: 400;
    line-height: 150%; /* 30px */
    max-width: 505px;
}

.main-themes__wrap {
    overflow: visible;
}


.btn__main-themes {
    margin-top: 60px;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (max-width: 1350px) {
    .main-themes .title {
        margin-bottom: 40px;
    }

    .main-themes__grid {
        margin: 40px auto 0 auto;
        gap: 24px;
    }

    .main-themes__block {
        padding: 32px;
    }
    .main-themes__title {
        font-size: 24px;
    }
    .main-themes__desc {
        font-size: 16px;
    }
}

@media screen and (max-width: 980px) {
    .main-themes .title {
        margin-bottom: 32px;
    }

    .main-themes {
        margin: 20px 0;
    }

    .main-themes__grid {
        gap: 16px;
    }

    .main-themes__block {
        padding: 24px;
    }

    .main-themes__icon img {
        width: 24px;
    }

    .main-themes__title {
        font-size: 20px;
        width: 308px;
    }

    .main-themes__desc {
        font-size: 15px;
    }

    .main-themes__wrap {
        width: calc(100% + 40px);
        margin: 50px -20px 0 -20px;
        padding: 0 20px;
    }

    .btn__main-themes {
        margin-top: 32px;
    }

    .main-themes__block {
        border-radius: 40px;
    }
}

@media screen and (max-width: 750px) {
    .main-themes .title {
        margin-bottom: 24px;
        text-align: left;
    }

    .main-themes__grid {
        display: block;
        overflow-x: initial;
        width: initial;

        padding: initial;
        margin: 32px -20px 0 -20px;
    }

    .main-themes__wrap {
        width: initial;
        margin: initial;
        padding: initial;
        overflow: initial;
    }

    .main-themes__block {
        border-radius: 20px;
        width: initial;
        margin: 0 20px;
        max-width: initial;
    }

    .main-themes__title {
        font-size: 20px;
    }

    .main-themes__icon {
        width: 44px;
        height: 44px;
    }

    .main-themes .splide__list {
        margin: 40px 0 0 0 !important;
        display: flex !important;
        flex-wrap: nowrap;
        max-width: initial;
        width: 100%;
        gap: initial;
    }

    .main-themes__title {
        font-size: 18px;
        margin-bottom: 16px;
        width: 100%;
    }

    .main-themes__desc {
        font-size: 13px;
    }

    .splide__slide {
        width: calc(100% + -16px) !important;
        margin-right: 16px !important;
    }


    .main-themes__block {
        padding: 16px;
        margin: 0;
        border-radius: 24px;
        border: 3px solid #595589;
    }
}


