.sub-nav {
    position: fixed;
    top: calc(15px + 65px);
    left: 3.5%;
    width: 93%;
    height: 6px;
    border-radius: 10px;
    border-bottom: 1px solid rgb(34, 185, 255);
    box-shadow: 0px 5px 20px 1px rgb(59, 151, 255);
    z-index: 2;
}

.navBar {
    position: fixed;
    top: 15px;
    left: 2.5%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 95%;
    height: 70px;
    z-index: 2;
    background-color: rgba(155, 155, 155, 0.459);
    backdrop-filter: blur(10px);
    color: black;
    border-radius: 10px;
    border: 1px solid white;
    border-bottom: none;
    box-shadow: 0px 0px 20px 1px rgba(0, 0, 0, 0.233);
}

.logo {
    padding: 0 15px;
}

.logo a {
    text-decoration: none;
    color: black;
    transition: 200ms;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
}

.logo a:hover {
    color: white;
}

.nav-links-desktop {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links-desktop a {
    padding: 5px 12px;
    border-radius: 10px;
}

.nav-links-desktop li {
    padding: 0 15px;
}

.nav-links-desktop a,
.nav-links-mobile a {
    color: black;
    text-decoration: none;
    transition: 300ms;
    font-size: 1.1rem;
}

.nav-links-desktop,
.nav-links-mobile a {
    background-color: rgba(0, 0, 0, 0.158);
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.178);
    color: white;
    padding: 12px;
    border-radius: 12px;
}

.nav-links-desktop a:hover,
.nav-links-mobile a:hover {
    color: black;
    background-color: white;
    box-shadow: 0px 0px 5px 2px white;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    align-items: center;
    top: calc(0px - 1px);
    right: calc(-5% - 3px);
    width: 60%;
    height: fit-content;
    overflow-y: auto;

    background-color: rgb(204, 204, 204);

    border: 1px solid white;
    box-shadow: 0px 0px 20px 1px rgba(0, 0, 0, 0.363);
    border-radius: 10px;
    font-size: 1.8rem;
    transform: translateX(100%); /* Começa fora da tela */
    transition: transform 0.4s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(-5vw); /* Desliza para dentro da tela */

}


.nav-links-mobile {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

.nav-links-mobile li {
    width: 80%;
    padding: 50px 0;
    border-bottom: 1px solid white;
}

.nav-links-mobile li:last-child {
    border: none;
}

.hamburger,
.close {
    padding: 0 15px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    transition: 200ms;
    display: none;

    font-size: 1.6rem;
}

.close {
    display: block;
    position: absolute;
    top: 0px;
    align-self: end;
    margin-top: 20px;
    margin-right: 20px;
}

.hamburger:hover,
.close:hover {
    color:white;
}

/* Ativa o scroll do menu mobile */
@media screen and (max-height: 620px) {
    .mobile-menu.active {
        height: calc(80vh - 30px);
    }
    
    /* CLASSE JS - deixa o tamanho do menu estável quando ele é fechado */
    .fix-hight-menu-out {
        height: calc(80vh - 30px);
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        width: 80%;
    }

    .nav-links-desktop {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 360px) {
    .mobile-menu {
        width: calc(100% + 3px);
    }
}

/* CLASSES JAVASCRIPT */
.flex {
    display: flex;
}

.scroll-block {
    overflow:hidden;
}