header{
    height: 85px;
    background-color: var(--purple-color);
    text-align: center;
    font-size: 14px;
    width: 100%;
}
.container-header{
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 30px;
}
header a{
    color: #fff;
    font-weight: 700;
    transition: 0.3s color;
    line-height: 1.2;
    margin: 0 10px;
}
header ul{
    display: flex;
    gap: 30px;
    height: 100%;
}
header li{
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
header li::after{
    align-items: end;
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--purple-lighter-color-hover);
    transition: 0.4s;
}
header li:hover::after{
    width: 100%;
}
header a{
    height: 100%;
    display: flex;
    align-items: center;
}

header a:hover{
    color: var(--purple-lighter-color-hover);
}
header img {
    width: 170px;
    height: auto;
    object-fit: contain;
}
nav{
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
}




.hamburger {
    display: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 20px;
    margin-bottom: 5px;
}
.hamburger .bar {
    height: 4px;
    background-color: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s;
}

.hamburger:hover .bar{
    background-color: var(#ccc);
}

.hamburger.open .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}
@media(max-width: 1500px){
    .container-header{
        justify-content: space-around;
    }
}

@media (max-width: 1060px) {
    .container-header{
        justify-content: space-between;
        padding: 0 50px;
    }
    .hamburger {
        display: block;
    }

    #nav-ul {
        display: none;
        transform: translateY(-100%);
        animation: unset;
    }

    #nav-ul.active {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        background-color: var(--purple-color);
        top: 85px;
        right: 0;
        height: auto;
        transform: translateX(0);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
        border-radius: 0px 0px 0px 15px;
        gap: 0;
    }
  
    #nav-ul.active li::after{
        width: 0;
        height: 4px;
        background-color: var(--purple-lighter-color-hover);
        transition: 0.4s;
        transform: translateX(-50%);
        left: 50%;
    }
    #nav-ul.active li:hover::after{
        width: 100%;
    }

    #nav-ul.active li:last-child {
        margin-right: 0;
        margin-left: 0;
    }
    #nav-ul.active li{
        height: 65px;
        width: 200px;
        text-align: center;
        transition: 0.2s background-color;
        cursor: pointer;
    }
    #nav-ul.active li a{
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #nav-ul.active li:hover{
        background-color: var(--purple-color-hover);
    }
    .nav-right li::after{
        display: none;
    }
    .nav-left{
        display: flex;
    }
    nav{
        display: flex;
        justify-content: space-between;
    }
}