.header {
    display: flex;
    width: 100%;
    height: 70px;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    position: fixed;
    z-index: 2;
    background-color: #00000057;
    /* background-color: ; */
}

.header .logo img {
    /* width: 100%; */
}

/* Menu */
/* Mobile */
.header #menuIcon {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    cursor: pointer;
}

.header #menuIcon span:first-child,
.header #menuIcon span:last-child {
    /* background-color: var(--text-black); */
    display: block;
    width: 2.5rem;
    height: 3px;
    border-radius: .2rem;
    /* background-color: var(--color-text); */
    transition: transform .4s ease-out;
}


#menuIcon.active span:first-child {
    transform: rotate(-45deg) translate(-7px);
    transition: transform .4s ease-out;
}

#menuIcon.active span:last-child {
    transform: rotate(45deg) translate(-6px);
    transition: transform .4s ease-out;
}


.nav-mobile {
    /* margin-top: 70px; */
    min-height: calc(100% - 70px);
    /* background-color: var(--color-theme-light); */
    /* transform: translateX(50rem); */
    transform: translateX(100%);
    width: 60%;
    position: fixed;
    top: 70px;
    right: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    z-index: 2;
    transition: transform 0.5s ease-in-out;
}


.nav-mobile.active {
    transform: translateX(0);

    /* transition: transform .5s ease-in; */
}

.nav-mobile .nav-list {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}


/* Dropdown */
/* Controla o menu dentro do item de nav */
.dropdown-wrapper {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    opacity: 0;
    visibility: hidden;
    background-color: #222;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    min-width: 150px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

/* .dropdown-wrapper:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
} */

/* Itens dentro do dropdown */
.dropdown-item {
    display: block;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
}

/* Hover para melhorar */
.dropdown-item:hover {
    background-color: #444;
}
/* 
.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

 */
 .dropdown-menu.active {
    display: block;
    opacity: 1;
    visibility: visible;
}


/* Mobile */
.dropdown-menu-mobile {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
}

.dropdown-menu-mobile.active {
    display: flex;
}

/* 
.nav-mobile .nav-list .nav-link{
    position: relative;
}

.nav-mobile .nav-list .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in;
    
}

.nav-mobile .nav-list .nav-link::after{
    background-color: var(--cor-primaria);
} */
/* @media (min-width: 992px) {
    .dropdown-wrapper:hover .dropdown-menu {
      display: block;
      opacity: 1;
      visibility: visible;
    }
  } */


@media (min-width: 1600px) {
    .header {
        height: 95px;
    }
}