.nav-item:hover {
    color: var(--bncc-blue);
}
.navbar-dark .navbar-nav .nav-link {
    color: black;
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--bncc-blue);
}
.navbar-collapse{
    margin-right: 40%;
}
.navbar-brand img {
    max-height: 40px; /* Adjust the value as needed */
}
.nav-button {
    display: none;
}
.nav-header {
    background-color: #f2f2f2;
}
.header-dark-mode {
    background-color: var(--full-dark);
}

/* VERSÃO MOBILE */
@media (max-width: 768px) {
    .nav-header {
        position: fixed;
        height: 4em;
        width: 100%;
        box-shadow: 3px 3px 10px #6c6c6c !important;
        margin: 0;
        padding: 0 !important;
        z-index: 5 !important;
    }
    .nav-button {
        position: relative;
        width: 3em;
        height: 3em;
        background: #fff;
        box-shadow: 
            -1px 1px 5px #9c9c9c,
            1px 1px 5px #9c9c9c,
            -1px 1px 5px #9c9c9c,
            1px 1px 5px #9c9c9c;
        border-radius: 0.5em;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        overflow: hidden;
    }
    .nav-button span {
        position: absolute;
        width: 1.5em;
        height: 0.1em;
        background: #6c6c6c;
        border-radius: 0.025em;
        transition: 0.5s;
    }
    .nav-button span:nth-child(1) {
        transform: translateY(-15px);
        width: 1.5em;
        text-align: center;
    }
    .nav-button.active span:nth-child(1) {
        width: 1.5em;
        transform: translateY(0) rotate(45deg);
        transition-delay: 0.125s;
    }
    .nav-button span:nth-child(2) {
        transform: translateY(15px);
        width: 1.5em;
        text-align: center;
    }
    .nav-button.active span:nth-child(2) {
        width: 1.5em;
        transform: translateY(0) rotate(315deg);
        transition-delay: 0.25s;
    }
    .nav-button.active span:nth-child(3) {
        transform: translateX(60px);
    }
    .menu-container {
        display: flex;
        position: absolute;
        top: 4em;
        width: 100%;
        left: 0;
        background-color: #f2f2f2;
        height: 1.5vh;
        visibility: hidden;
        box-shadow: 1px 1px 5px #6c6c6c;
    }
    .navbar {
        z-index: 3;
    }
    .navbar-nav {
        position: inherit;
        top: 1em;
        margin-left: 1em;
    }
    .nav-link {
        color: rgba(0, 0, 0, .65);
    }
    .open {
        width: 100%;
        height: 15em;
        margin: 0;
        padding: 0;
        padding-bottom: 20px;
        visibility: visible;
    }
    .button-theme {
        position: inherit;
        right: 0;
        width: 30vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 2vh;
    }
    .button-theme.div-dark {
        background-color: var(--full-dark) !important;
    }
    .button-dark-component p{
        width: 100%;
    }
    .button-theme.div-dark p {
        background-color: var(--full-dark) !important;
    }
    .button-dark-component, .button-dark-component p {
        background-color: var(--light-dark);
    }
    .button-dark {
        position: relative;
        background-color: var(--light-dark) !important;
        width: 10vw !important;
        height: 25px !important;
        border: 2px black solid;
        border-radius: 12px;
    }
    .btn-dark {
        position: absolute;
        background: black;
        left: 1px;
        width: 18px;
        height: 18px;
        border-radius: 10px;
        transition: all 0.3s linear;
    }
    .btn-dark-right {
        transform: translateX(calc(10vw - 25px));
    }
    .btn-dark-left {
        transform: translateX(calc(1px));
    }
}
.h-login {
    margin: 0 1vw 0 auto;
    height: 95%;
    width: 20vw;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

.h-login div:first-child {
    width: auto;
    height: 95%;
}

.login-btn {
    background-color: #E8B930;
    border: none;
    border-radius: 5px;
    padding: 2% 2vh
}

.h-login a {
    text-decoration: none;
}

.h-login--img {
    margin-left: 0.5vw;
    margin-top: 0.3em;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;    
}

.logged {
    margin-right: 1vw;
}

.user-logged {
    margin-right: 1vw;
}

.logged--img {
    width: 60%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.logout {
    color: #FFF;
    margin-left: auto;
}
.logout.div-dark {
    background-color: rgba(0, 0, 0, 0);
}
.logout:after {
    content: "\274c";
    font-size: 20px; 
}

@media (min-width: 768px) {
    .menu-container {
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .button-theme {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .button-theme.div-dark {
        background-color: var(--full-dark);
    }
    .button-theme p {
        margin-bottom: 0.3em;
    }
    .button-dark {
        background-color: var(--light-dark);
        width: 3em !important;
        height: 25px;
        display: flex;
        align-items: center;
        border: 2px black solid;
        border-radius: 12px;
    }
    .btn-dark {
        position: relative;
        background: black;
        display: flex;
        flex-direction: row;
        align-items: center;
        left: 1px;
        width: 18px;
        height: 18px;
        border-radius: 10px;
        transition: all 0.3s linear;
    }
    .btn-dark-right {
        transform: translateX(calc(3em - 25px));
    }
    .btn-dark-left {
        transform: translateX(calc(1px));
    }
}