/* ============================
      MODULE 6 — CAR BRANDS
   ============================ */

.brands-wrapper {
    background: #ffffff;
    padding: 40px 20px 40px;
    text-align: center;
}

.brands-container {
    max-width: 1300px;
    margin: auto;
}

/* Slider */
.brands-slider {
    overflow: hidden;
    width: 100%;
    height: 120px;
    margin-top: 60px;
}

.brands-track {
    display: flex;
    width: calc(200px * 20);
    animation: brandScroll 40s linear infinite;
}

.brand-item {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    width: 110px;
    opacity: .8;
    transition: .25s;
}

.brand-item img:hover {
    opacity: 1;
}

@keyframes brandScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}