.banners-small {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.banners-small__left {
    width: 100%;
    background: linear-gradient(0.88turn,var(--first-gradient-color) 0%,var(--secondary-gradient-color) 100%);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.banners-small__right {
    width: 100%;
    display: flex;
    gap: 1.5rem;
}

.banners-small__right .banners-small__item {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.banner-small__big-text {
    font-size: 4rem;
    font-weight: 600;
}

.banner-small__img {
    width: 50%;
    position: relative;
}

.banner-small__small-text {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.banner-small__content {
    color: var(--secondary-text-color);
    width: 50%;
    padding: 3rem 1.5rem;
}

.banner-small__img img {
    position: absolute;
    width: 10%;
    height: 10%;
    left: 15px;
    bottom: 15px;
    transition: all 0.3s;
}

.banner-small__link {
    border-radius: 30px;
    font-size: 1.6rem;
    padding: 1rem 2.5rem;
    color: var(--main-text-color);
    background: var(--main-background-color);
    transition: color 0.3s, background-color 0.3s;
    display: block;
    width: fit-content;
}

.banner-small__link:hover {
    color: var(--secondary-text-color);
    background: var(--secondary-background-color);
}

.banners-small__bg-image {
    position: absolute;
    left: 0;
    top: 0;
    height: 120%;
    z-index: 2;
}

@media (max-width: 1199px) {
    .banners-small{
        flex-direction: column;
    }
    .banners-small__right {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 650px) {
    .banners-small__right .banners-small__item {
        width: calc(50vw - 2rem);
        height: calc(50vw - 7.5rem);
    }
    .banners-small__image {
        height: 100%;
        width: 100%;
    }
}

@media (max-width: 450px) {
    .banner-small__img {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 1;
        height: 100%;
    }
    .banner-small__content {
        position: relative;
        z-index: 2;
        width: 100%;
    }
    .banners-small__left {
        position: relative;
    }
    .banners-small__bg-image {
        display: none;
    }
}