
#brands {
    position: relative;
}
#brands {
    box-sizing: border-box;
    padding: 8em 5em;
}
@media screen and (max-width: 1024px) {
    #brands  {
        padding: 8em 20px;
    }
}
#brands header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    gap: 10px;
}
#brands header h3,
#brands header p {
    text-align: center;
}
#brands header h3 {
    font-family: 'aesthetic-font';
    font-size: 45px;
    font-weight: 400;
    color: var(--color__2);
}
#brands header p {
    font-family: 'content-font';
    font-size: 16px;
    color: #000;
}

/**** Grid ****/
#brands main {
    position: relative;
    margin-top: 4em;
}
#brands main {
    display: grid;
    grid-template-columns: 15em 15em 15em 15em;
    align-items: center;
    justify-items: center;
    justify-content: space-evenly;
    grid-row-gap: 5em;
}
@media screen and (max-width: 1024px) {
    #brands main  {
        grid-template-columns: 50% 50%;
        grid-row-gap: 5em;
    }
}
#brands main div {
    display: flex;
    justify-content: center;
    align-items: center;
}
#brands main div img {
    cursor: not-allowed;
}
#brands main div img  {
    max-width: 90%;
    height: auto;
}
@media screen and (max-width: 1024px) {
    #brands main div img  {
        max-width: 65%;
    }
}
#brand_4 img {
    width: 70% !important;
}
#brand_5 img {
    width: 60% !important;
}
#brand_8 img {
    width: 50% !important;
}

/**** Silhouette ****/
#brands .silhouette {
    position: absolute;
    top: 20px;
    right: 2.5em;
    z-index: -1;
}
#brands .silhouette {
    height: 165%;
    opacity: 0.1;
}
@media screen and (max-width: 1024px) {
    #brands .silhouette {
        display: none;
    }
}