/* Brands section */
.brands-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40vh;
    
    background-color: #ffffff;

}

.brands-section h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    color: var(--hero-overlay-color);
    font-family: var(--regular-text);
    font-weight: 600;
    font-size: 2.8rem;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}



.brand-img-wrapper {
    margin-top: 20px;
        
}

.brand-card .brand-img-wrapper img {   
    margin-bottom: 20px;
    height: auto;
    width: 11em;

    max-width: 100%;
    inset: 0;
    margin: auto;
    
}



.brand-card-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 5rem;
}


.brand-card strong { 
    padding-top: 16px;
    text-align: center;
}


/* End of brands section */



/* fade in animations */
.brand-img-wrapper img, .brands-section h4 {
    animation: fade-in linear;
    animation-timeline: view();
    animation-range-start: -30vh;
    animation-range-end: 40vh;
}
@keyframes fade-in {
    from {scale: 0.3; opacity: 0.3;}
    to {scale: 1; opacity: 1;}
}

