.brands-section {
    padding: 24rem 0 0;
}

@media screen and (max-width: 575px) {
    .brands-section {
        padding-top: 11rem;
        padding-bottom: 3rem;
    }
}

.brands__box {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media screen and (max-width: 575px) {
    .brands__box {
        display: block;
    }
}

.brands__box-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #F9F9F9;
    box-shadow: 0 0 24px 0 rgba(171, 171, 171, 0.1);
    width: 27rem;
    height: 11.5rem;
    transition: 420ms;
    margin-bottom: 4rem;
}

@media screen and (max-width: 575px) {
    .brands__box-item {
        width: 27rem;
        height: 11rem;
        margin: 0 auto 2rem;
    }
}

.brands__box-item:hover {
    transform: scale(1.05);
}

.brands__box-item picture {
    max-height: 85%;
    max-width: 85%;
}

@media screen and (max-width: 575px) {
    .brands__box-item picture {
        max-height: 60%;
        max-width: 65%;
    }
}

.brands__box-item.mini picture {
    max-height: 60%;
    max-width: 60%;
}