/* header {
    margin-bottom: 1rem;
} */

.logo {
    display: flex;
    align-items: center;
}

header nav div .img-logo {
    width: 5rem;
    height: 5rem;
}



.menu-links {
    color: var(--font-color-menu);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.menu-links:hover {
    opacity: 0.9;
    text-decoration: underline;
}

header nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: var(--primary-bg);
    height: 80px;
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li {
    margin-left: 32px;
    font-size: 1rem;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu div {
    width: 32px;
    height: 2px;
    margin: 8px;
    transition: 0.3s;
    background-color: var(--secundary-bg);
}

/* Para Smartphones */
@media screen and (min-width: 320px) and (max-width: 359px) {
    .nav-list {
        top: 12vh;
    }
}

@media screen and (min-width: 360px) and (max-width: 413px) {
    .nav-list {
        top: 9vh;
    }
}

@media screen and (min-width:414px) and (max-width: 767px) {
    .nav-list {
        top: 8vh;
    }
}


/* Para Tablets */
@media screen and (min-width: 768px) and (max-width: 999px) {
    .nav-list {
        top: 6vh;
    }
}

@media screen and (max-width: 999px) {
    body {
        overflow-x: hidden;
    }

    header {
        margin-bottom: 1rem;
    }

    nav {
        height: 80px;
    }

    .img-logo {

        width: 3rem;
        height: 3rem;
    }

    .nav-list {
        position: absolute;
        right: 0;
        height: 94vh;
        width: 50vw;
        background: var(--primary-bg);
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        display: none;
    }

    .nav-list li {
        margin-left: 0;
        opacity: 0;
    }

    .mobile-menu {
        display: block;
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0px);

        }
    }

}

.nav-list.active {
    display: flex;
    transform: translateX(0);
    z-index: 10;
}

.mobile-menu.active .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
    opacity: 0;
}

.mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-5px, -7px);
}