@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik-Variable/Rubik-Variable.woff2') format('woff2');
    font-weight: 100 1000;
    font-optical-sizing: auto;
    font-stretch: 0% 200%;
    font-style: normal;
    font-display: swap;
}

.bottom-buttons-autocredit__wrapper * {
    box-sizing: border-box;
}

.bottom-buttons-autocredit__wrapper {
    --bottom-buttons-autocredit-container-max-width: 1140px;

    /* семейства шрифтов начало */
    --font-family-rubik: "Rubik";
    /* семейства шрифтов конец */

    /* цвета фонов начало */
    --bottom-buttons-autocredit-background-color-white: #ffffff;
    /* цвета фонов конец */

    font-family: var(--font-family-rubik);
    font-weight: 300;
    line-height: normal;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 48px;
}

.bottom-buttons-autocredit__container {
    display: grid;
    /* grid-template-columns: 345px 345px 345px; */
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "bottom-buttons-autocredit__col-1 bottom-buttons-autocredit__col-2 bottom-buttons-autocredit__col-3";
    gap: 40px;
    max-width: var(--bottom-buttons-autocredit-container-max-width);
    margin: 0 auto;
    box-sizing: border-box;
    justify-content: center;
    padding-inline: 20px;
}


.bottom-buttons-autocredit__col-1 {
    grid-area: bottom-buttons-autocredit__col-1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 345px;
    width: 100%;
    height: auto;
}

.bottom-buttons-autocredit__col-1 img {
    width: 100%;
}

.bottom-buttons-autocredit__col-2 {
    grid-area: bottom-buttons-autocredit__col-2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 345px;
    width: 100%;
    height: auto;
}

.bottom-buttons-autocredit__col-2 img {
    width: 100%;
}

.bottom-buttons-autocredit__col-3 {
    grid-area: bottom-buttons-autocredit__col-3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 345px;
    width: 100%;
    height: auto;
}

.bottom-buttons-autocredit__col-3 img {
    width: 100%;
}

.bottom-buttons-autocredit__item {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transition: 0.2s all linear;
    position: relative;
}

.bottom-buttons-autocredit__item:hover {
    transform: scale(1.05);
}

/* медиа-запросы начало */
@media (max-width: 640px) {
    .bottom-buttons-autocredit__container {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .bottom-buttons-autocredit__container {
        gap: 10px;
    }
}

@media (max-width: 400px) {
    .bottom-buttons-autocredit__container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas:
            "bottom-buttons-autocredit__col-1"
            "bottom-buttons-autocredit__col-2"
            "bottom-buttons-autocredit__col-3";
        gap: 20px;        
    }

}

/* медиа-запросы конец */