header {
    height: auto;
    /* z-index: 1000; */
    width: 100%;
}

/* * {
  outline: 1px solid red;
} */

/* HeaderMain - logo e menu */
.headerMain {
    display: flex;
    padding: 20px;
    background-color: #000;
    box-shadow: 0 4px 4px 4px #fff;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: #03031d 2 solid;
    width: 100%;
}

.headerMain>div {
    flex: 1;
    text-align: center;
}

.ListLink {
    flex: 3 1 300px;
    align-items: flex-start;
    display: flex;
    justify-content: end;
}

.ListLink ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 15px;
    margin: 0;
}

.ListLink ul li {
    padding: 10px 15px;
    background-color: #000;
    /* border-bottom: 1px solid white; */
    margin: 0 5px;
    position: relative;
}

/* .ListLink ul li::before,
.ListLink ul li::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    bottom: -3px;
    background-color: white;
} */

/* .ListLink ul li::after {
    left: 0;
}

.ListLink ul li::before {
    right: 0;
} */

.ListLink ul li a {
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.headerMain .ContainerLogo img {
    width: 300px;
    height: auto;
}

@media(max-width: 768px) {
    .headerMain {
        flex-direction: column;
        align-items: center;
    }

    .headerMain>div {
        width: 100%;
    }

    .headerMain .ContainerLogo {
        margin-bottom: 15px;
        width: 100%;
    }

    .headerMain .ContainerLogo img {
        width: 150px;
        height: auto;
    }

    .ListLink {
        flex: 1 1 100%;
    }

    .ListLink ul {
        gap: 5px;
        width: 100%;
    }

    .ListLink ul li {
        border-bottom: 1px solid #c6c6c6;
        background-color: transparent;
        margin: 0;
        padding: 8px 0;
        margin: 10px;

    }

    .ListLink ul:last-child li a {
        background-color: transparent;

        padding: 10px 30px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    /* .ListLink ul.LinkPrimary li:nth-child(-n+3) {
        width: 25%;
    }

    .ListLink ul.LinkPrimary li:nth-child(n+4) {
        width: 33%;
    } */

    .ListLink ul li::before,
    .ListLink ul li::after {
        display: none;
    }

    .headerTop {
        flex-direction: column;
    }

    .headerTop>div {
        text-align: center;
    }
}