_partners.scss 1.63 KB
.partners {
    padding-top: 60px;

    @media (min-width: 1200px) {
        padding-top: 100px;
    }

    &__title {
        margin-bottom: 60px;
    }

    &__inner {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-gap: 20px;
    }

    &__swiper {
        // padding-bottom: 60px;
        overflow: visible;
        @media (min-width: 1200px) {
            padding-bottom: 0;
        }

        .swiper-scrollbar {
            display: none;
            width: 200px;
            height: 4px;
            left: 0;
            right: 0;
            bottom: 3px;
            margin: 0 auto;
            background-color: #F2F2F3;

            @media (min-width: 1200px) {
                display: none;
            }
        }

        .swiper-scrollbar-drag {
            top: -3px;
            height: 10px;
            background-color: $blue;
            cursor: pointer;
        }
    }
}

.partners-item {
    background-color: #FFFFFF;
    box-shadow: 0px 2px 12px rgba(6, 15, 26, 0.04);
    border-radius: 10px;
    padding: 20px;
    transition: .3s;

    img {
        height: 95px;
        width: 100%;
        object-fit: contain;
        filter: grayscale(1);
        transition: .3s;
    }

    &:hover {
        box-shadow: 0px 2px 20px rgba(6, 15, 26, 0.04), 0px 2px 12px rgba(6, 15, 26, 0.04);
        img {
            filter: grayscale(0);
        }
    }

    &:nth-child(7),
    &:nth-child(8),
    &:nth-child(9),
    &:nth-child(10),
    &:nth-child(11),
    &:nth-child(12) {
        transform: translateX(-50%);
        @media (min-width: 1200px) {
            transform: translateX(0);
        }
    }
}