/*БАННЕР*/
.banner {
    height: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.banner-img {
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.banner-sliders {
    height: 500px;
    display: flex;
    transition: transform 1.5s ease;
}

.img-banner {
    height: 100%;
    width: 100vw;
    object-fit: cover;
}

.button-banner,
.button-news,
.button-partners {
    width: 180px;
    height: 160px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-banner:hover{
    background: none;
    border: none;
}

.button-banner svg:hover path{
    fill: var(--colorRed);
    transition: 0.8s;
}

.banner-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.banner-decor-content{
    display: flex;
    align-items: center;
}

.banner-decor {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 столбца */
    grid-template-rows: 1fr 1fr; /* 2 строки */
    gap: 40px; /* Отступы между ячейками сетки */
    width: 431px;
}

.diemond {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Позиционирование ромбов в форме большого ромба */
.top {
    grid-column: 1 / 3; /* Занимает оба столбца */
    grid-row: 1; /* Первая строка */
}

.right {
    grid-column: 2; /* Второй столбец */
    grid-row: 1 / 3; /* Занимает обе строки */
}

.bottom {
    grid-column: 1 / 3; /* Занимает оба столбца */
    grid-row: 2; /* Вторая строка */
}

.left {
    grid-column: 1; /* Первый столбец */
    grid-row: 1 / 3; /* Занимает обе строки */
}

.chosen{
    fill: var(--colorRed);
}

.text-banner{
    background-color: var(--colorRed);
    height: 260px;
    padding: 0 40px;
    max-width: 34%;
    align-items: center;
    z-index: 1;
    
}

#text_banner_0{
    display: flex;
}

.indicators-banner{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/*МЕДИА*/
@media screen and (max-width: 1600px) {
    .banner {
        height: 470px;
        width: 100%;
    }

    .banner-img {
        height: 470px;
        width: 100%;
    }

    .button-banner,
    .button-news,
    .button-partners {
        width: 120px;
        height: 120px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10;
    }

    .button-banner svg{
        width: 70px;
        height: 90px;
    }

    .banner-decor {
        gap: 30px; /* Отступы между ячейками сетки */
        width: 421px;
    }

    .text-banner{
        height: 260px;
        max-width: 42%;
        padding: 0 30px;
    }
}


@media screen and (max-width: 1300px) {
    .banner {
        height: 380px;
        width: 100%;
    }

    .banner-img {
        height: 380px;
    }

    .button-banner,
    .button-news,
    .button-partners {
        width: 80px;
        height: 80px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10;
    }

    .button-banner svg{
        width: 60px;
        height: 80px;
    }

    .banner-decor {
        gap: 30px; /* Отступы между ячейками сетки */
        width: 345px;
    }

    .text-banner{
        height: 210px;
        max-width: 46%;
        padding: 0 40px 0 20px;
    }

    .diemond svg{
        width: 210px;
        height: 210px;
    }
}

@media screen and (max-width: 1000px) {
    .banner {
        margin: 20px 0;
        height: 320px;
        width: 100%;
    }

    .banner-content{
        margin: 0 52px;
    }

    .banner-img {
        height: 320px;
    }

    .button-banner,
    .button-news,
    .button-partners {
        display: none;
    }

    .button-banner svg{
        width: 60px;
        height: 80px;
    }

    .banner-decor {
        gap: 10px; /* Отступы между ячейками сетки */
        width: 196px;
    }

    .text-banner{
        height: 124px;
        padding: 0 20px 0 10px;
    }

    .diemond svg{
        width: 124px;
        height: 124px;

    }
}

@media screen and (max-width: 660px) {
    .banner {
        margin: 20px 0;
        height: 280px;
        width: 100%;
    }

    .banner-content{
        margin: 0 36px 0 26px;
    }

    .banner-img {
        height: 280px;
    }

    .button-banner,
    .button-news,
    .button-partners {
        display: none;
    }

    .button-banner svg{
        width: 60px;
        height: 80px;
    }

    .banner-decor {
        gap: 10px; /* Отступы между ячейками сетки */
        width: 44px;
    }

    .text-banner{
        height: 130px;
        padding: 0 30px;
        max-width: 100%;
        margin-right: 30px;
    }

    .diemond svg{
        width: 100px;
        height: 100px;

    }

    .indicators-banner {
        gap: 40px;
    }

    .banner-indicator{
        height: 10px;
        width: 10px;
    }
}

@media screen and (max-width: 480px) {
    .banner {
        margin: 20px 0;
        height: 280px;
        width: 100%;
    }
    
    .banner-content{
        margin: 0 16px 0 6px;
    }

    .banner-img {
        height: 280px;
    }

    .button-banner,
    .button-news,
    .button-partners {
        display: none;
    }

    .button-banner svg{
        width: 60px;
        height: 80px;
    }

    .banner-decor {
        gap: 10px; /* Отступы между ячейками сетки */
        width: 24px;
    }

    .text-banner{
        height: 140px;
        padding: 0 30px;
        max-width: 100%;
        margin-right: 20px;
    }

    .diemond svg{
        width: 90px;
        height: 90px;

    }

    .indicators-banner {
        gap: 40px;
    }

    .banner-indicator{
        height: 10px;
        width: 10px;
    }
}