.brands-container {

    display: grid;
    grid-template-columns: repeat(auto-fit, 275px);
    grid-auto-rows: 215px;
    gap: 3px;
    justify-content: center;
    padding: 3px 0 0 0;
    margin-left: -7px;
    margin-right: 0;
    background-color: #f1f8ff;
    margin-bottom: 50px;
}

.brands-container .brand-brick {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 275px;
    height: 215px;
    background-color: #FFFFFF;
}

.brands-container .brand-brick img {
    max-width: 170px;
    max-height: 70px;
    transition-duration: 0.3s;
}
.brands-container .brand-brick:hover img {
    transform: scale(1.01);
}
.brands-container .brand-brick div {
    position: absolute;
    bottom: 20px;
    text-decoration: none;
    color: #000000;
    font-size: 15px;
    justify-self: flex-end;
}
