.header #menuIcon {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    cursor: pointer;
}


.header #menuIcon span:first-child,
.header #menuIcon span:last-child {
    background-color: var(--color-text-dark);
}

.header #menuIcon span:first-child,
.header #menuIcon span:last-child {
    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;
}


/* Menu */

/* Alterar tema */
.header.rolado + .nav-mobile{
    background-color: #FFF !important;
}
.header.rolado + .nav-mobile .nav-list  .nav-item  .nav-link{
    color: #000;
}

.nav-mobile{
    background-color: var(--color-theme-dark);
}

.nav-mobile {
    margin-top: 50px;
    min-height: calc(100% - 50px);
    /* background-color: var(--color-theme-light); */
    transform: translateX(50rem);
    width: 60%;
    position: fixed;
    right: 0;
    transition: transform .5s ease-in-out;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    z-index: 2;
}

.nav-mobile.active {
    transform: translateX(0rem);
    
    /* transition: transform .5s ease-in; */
}

.nav-mobile .nav-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.nav-mobile .nav-list .nav-item .nav-link {
    color: var(--color-text-dark);
}

/* 
.nav-mobile .nav-list{
    flex-direction: row;
} */

.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: #1930FF;
}

.nav-mobile .nav-list .nav-link:hover::after {
    transform: scaleX(1);
}

/* Redes sociais */
.nav-mobile .list-socials {
    display: flex;
    justify-content: center;
    margin: auto;
    align-items: center;
    /* gap: .6rem; */
    gap: 0;
    width: 50%;
    /* height: 50%; */
    position: fixed;
    bottom: 0;
    left: calc(100% / 4);
    /* background-color: blue; */
}

.nav .list-socials {
    /* width: 100%; */
    /* height: 10rem; */
    /* background-color: blue; */
}

.nav-mobile .list-socials li {
    /* width: 0%; */
    height: 50%;
    /* background-color: rebeccapurple; */
}

.nav-mobile .list-socials li a {
    width: 90%;
    /* height: 50%; */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .4rem;
    /* background-color: red; */
}

.nav-mobile .list-socials li a img {
    /* width: 4rem;
    height: 4rem; */
    width: 4rem;
    /* font-size: 2rem;
    color: var(--color-text-light); */
}

.nav-mobile .list-socials li a #iconFacebook{
    font-size: 2.4rem;
    color: #1F7BF2;
}


/* Medium */
@media (min-width: 768px) {

    /* Menu */
    .nav-mobile {
        width: 40%;
    }
}

@media (min-width: 1200px) {

    .header #menuIcon {
        display: none;
    }

    .nav-mobile .list-socials {
        display: none;
    }

    .nav-mobile {
        display: none;
        /* transform: translateX(0);
        min-height: 50px;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        position: sticky;
        top: 0; */
    }

    
}