header {
    background-color: #27b9b2;
    min-height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed; /* Fixa o header no topo */
    width: 100%; /* Garante que o header ocupe toda a largura */
    top: 0; /* Posiciona o header no topo */
    z-index: 1000; /* Mantém o header acima de outros elementos */
}

#headerLogo {
    max-width: 300px;
    margin-left: 30px;
}

#navigation {
    list-style: none;
    display: flex;
    gap: 5vw;
    margin-right: 6vw;
    font-size: 1.5em;
    color: var(--logoblue);
}

.navButton {
    cursor: pointer;
    transition: ease .3s;
}

.navButton a {
    text-decoration: none;
    color: var(--logoblue);
}

.button-header {
    display: block;
    margin: 0 auto;
    background: linear-gradient(to right, #ffffff3d, #197a76) ;
    border-radius: 20px 0px 20px 0px;
    height: 38px;
    width: 20vh;
    text-align: center;
    cursor: pointer;
    color: rgb(255, 255, 255);
    font-weight: bold;
    line-height: 18px;
    border: none;
    box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.39);
}


button:hover {
    opacity: 0.8;
}

button:active {
    opacity: 0.6;
}

.button-header.dark-mode {
    background:#282828; /* Fundo mais escuro */
    box-shadow: 0px 5px 0px 0px rgb(4, 158, 163);
    color: rgb(255, 255, 255);
}

.button-header.dark-mode:hover {
    background-color: #444; /* Cor ao passar o mouse */
    border-color: var(--white); /* Borda ao passar o mouse */
}

.activeNavigation {
    border-bottom: 2px solid var(--logoblue);
}



@media (max-width: 1200px) {
    header {
        flex-direction: column;
    }
    #headerLogo {
        max-width: 250px;
        margin-top: 1em;
        margin-left: 0;
    }
    #navigation {
        font-size: 1em;
        width: 100%;
        margin-right: 0;
        gap: 0;
    }
    .navButton {
        display: none;
    }
}

/* Adicionando um espaçamento no corpo para compensar a altura do header */
body {
    padding-top: 10vh; /* Ajuste conforme a altura do seu header */
}
