/* Dentro de static/css/header.css */

#main-header {
    background-color: transparent;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease;
}

#main-header.scrolled {
    background-color: var(--cor-primaria); /* Usando a variável de cor */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--cor-branca);
    text-decoration: none;
}
.logo img {
    height: 45px;
    display: block;
}

.nav-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--cor-branca);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #cccccc;
}