
.sub-barra-nav {
    margin-top: 10px;
    width: 100%;
    height: 50px;
    background: var(--cor-principal-1);
    display: flex;
    transition: top 0.3s ease-in-out; /* Suaviza o movimento */
}

.sticky {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    margin-top: 0;
    z-index: 1000;
}

.sub-barra-nav-hamburger {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.hamburger-icon {
    cursor: pointer;
    /* display: none; */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    margin-left: 20px;
}

/* .hamburger-text{
    display: none;
} */

.hamburger-icon {
    display: flex;
}
.hamburger-text {
    display: inline;
}

.line {
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sub-barra-nav-hamburger.active .line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.sub-barra-nav-hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.sub-barra-nav-hamburger.active .line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.sub-barra-nav-search {
    display: flex;
    justify-content: end;
    width: 50%;
    padding: 8px;
    align-items: center; 
    
}

.sub-barra-nav-search i {

    font-size: 18px;
    margin-right: -22px;
    z-index: 11;
    color: var(--cor-principal-1);
}

.sub-barra-nav-search input {
    height: 100%;
    border-radius: 24px;
    padding-left: 28px;
    border: none;

}

.sub-barra-nav-search input:focus {
    outline: none;
}

@media screen and (max-width: 768px) {
    .sub-barra-nav{
        height: 40px;
    }
    .hamburger-icon {
        display: flex;
    }
    .hamburger-text {
        display: inline;
    }
    
}