header{
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw; /* Usa 100% da largura da viewport */
    max-width: 100vw; /* Garante que o header ocupe toda a largura */
    padding: 15px;  /* Ajuste o padding para evitar grandes espaçamentos */
    z-index: 99;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .5s;
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (min-width: 1400px) {
    header{
        max-width: 1320px;
    }
}

@media only screen and (max-width: 1200px) {
    header{
        max-width: 1140px;
    }
}

@media only screen and (max-width: 956px) {
    .logo{
        max-height: 30px !important;
    }

    header{
        max-width: 956px;
        display: flex;
        flex-direction: column;
        left: 0;
        transform: translateX(-0%);
    }

    .navigation{
        margin-top: 10px;
    }

    .navigation a{
        text-align: center;
        font-size: 18px !important;
        display: flex;
        align-items: center;
    }
    
    .navigation a:nth-child(5){
        display: none;
    }
    
    .navigation a:nth-child(6){
        display: none;
    }
    
    .navigation a::after{
        transform: scaleX(0) translateY(15px) !important;
    }
    .navigation a:hover::after{
        transform: scaleX(1) translateY(15px) !important;
    }
}

.logo{
    max-height: 35px;
}

.navigation{
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.navigation a{
    position: relative;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.navigation a::after{
    content: ' ';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #1da6f6;
    left: 0;
    border-radius: 5px;
    transform: scaleX(0) translateY(27px);
    transition: transform .5s;
}

.navigation a:hover::after{
    transform-origin: left;
    transform: scaleX(1) translateY(27px);
}