@import url(styles.css);
@import url(styles-aux-header.css);

.container {
    margin: 0 auto;
    display: flex;
    width: var(--CONTENT-WIDTH);
    max-width: 96vw;
    height: fit-content;
    position: relative;
}

.brands {
    background-color: var(--overlay_turquoise);
    margin: auto;
    display: flex;
    width: var(--CONTENT-WIDTH);
    height: fit-content;
    padding-bottom: 54px;
    padding-top: 10px;
    max-width: 75vw;
    position: relative;
    align-items: center;
    justify-content: space-around;
}

.brands h2 {
    font-family: "Poppins-Light";
    margin: auto;
    /*font-size: calc(1.5vw + 1.5vh);*/
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    color: white;
}

.separator h1 {
    font-size: 24px;
}

.content {
    height: 100%;
    flex-direction: column;
    display: flex;
}

.content img {
    width: 1042px;
    max-width: 75vw;

}

.profile-img {
    width: 220px;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    margin-top: 18px;
}

#logo {
    border-radius: 0;
}

.profile-img img {
    object-position: top;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.profile-text {
    height: fit-content;
    display: flex;
    font-family: "Poppins-light";
    flex: 1 1;
    font-size: 18px;
}

.image-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 70px;
    justify-content: space-around;
    margin-bottom: auto;
    margin-top: 0;
}

.image-item {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.image-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.1);
}



@media (max-width: 768px) {

    .brands {
        padding: 10px 35px 35px 35px;
    }

    .content img {
        width: calc(var(--CONTENT-WIDTH)-70px);

    }


    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-img {
        width: 250px;
        margin-right: 0;
    }

    .profile-img img {
        object-position: top;
        width: 100%;
        height: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }

    /* Font-size */
    .panels:hover p,
    .skill p,
    .img-list li p {
        font-size: 15px;
    }

    .panels h2,
    .skill h2 {
        font-size: 20px;

    }
}


@media (max-width: 480px) {

    .brands {
        padding: 10px 0px 54px 0px;
        background-color: whitesmoke;

    }

    .brands h2 {
        color: black;
        font-size: 24px;
    }

    .content img {
        max-width: 96vw;
    }
}