nav {
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.08) 100%);;
    height: 5rem;
    display: flex;
    flex-direction: column;
}

.nav-up,
.nav-down {
    padding: 0 6rem;
    height: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== NAV-UP ===== */

.logo {
    height: 2.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.logo:hover {
    filter: drop-shadow(0 0 1rem var(--black-75));
}

.logo img {
    height: 100%;
}
.search-bar {
    width: 25rem;
    display: flex;
    position: relative;
}
.search-bar input {
    line-height: 2.2rem;
    width: 25rem;
    border: solid black 1px;
    border-radius: 0.65rem;
    background-color: var(--black-50);
    padding: 0 0.3rem;
    font-size: 1.1rem;
    color: white;
    &&::placeholder{
        color: var(--white-50);
    }
}
.search-bar input:disabled{
    background-color: var(--white-25);
    border-color:  var(--black-25);
    &&::placeholder{
        color: var(--black-25);
    }
}
#search_results{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    top: 2.2rem;
    width: 24.5rem;
    padding: 0.25rem 0 0.25rem 0.25rem;
    background-color: var(--black-25);
    max-height: 20rem;
    overflow-y: scroll;
    z-index: 2;
    border-radius: 0.3rem;
}
#search_results:empty{
    display: none;
}

#search_results::-webkit-scrollbar{
    width: 0.5rem;
}
#search_results::-webkit-scrollbar-thumb{
    background-color: var(--black-50);
    border-radius: 0.25rem;
}
#search_results a{
    display: flex;
    align-items: center;
    height: 3.3rem;
    width: 100%;
    text-decoration: none;
    color: black;
    gap: 0.5rem;
    border-radius: 0.25rem;
}
#search_results a:hover{
    background-color: var(--black-25);
}
#search_results a div{
    height: 3rem;
    width: 3rem;
    background-color: var(--black-25);
    border-radius: 0.25rem;
    border: 2px solid var(--black-50);
    overflow: hidden;
}
#search_results a div img{
    height: 100%;
}
#search_results a span{
    font-size: 1.75rem;
    color: rgb(0, 0, 0);
    text-transform: capitalize;
    font-family: cursive;
    text-shadow: 0.0rem 0.0rem 0.1rem var(--white-50);
}

.nav-user {
    line-height: 1.8rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-user a {
    padding: 0 0.25rem;
    text-decoration: none;
    color: rgb(245, 245, 245);
    border-radius: 0.25rem;
    background-color: var(--black-25);
    transition: all 0.2s;
}
.nav-user a:hover {
    color: white;
    background-color: var(--black-50);
}
.nav-user-logado {
    position: relative;
}
.nav-user-info{
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.nav-user-img{
    height: 2rem;
    width: 2rem;
    overflow: hidden;
    border: solid black 1px;
    border-radius: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.nav-user-img img{
    height: 100%;
}
.nav-user-menu {
    position: absolute;
    top: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(-10px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 0 0.5rem var(--black-25);
}
.nav-user-menu a {
    padding: 0.25rem;
    text-decoration: none;
    color: black;
    border-radius: none;
    background-color: var(--white-75);
    text-align: center;
}
.nav-user-logado:hover i {
    transform: rotate(180deg);
    transition: all 0.3s;
}
.nav-user-logado:hover .nav-user-menu, .nav-user-menu:hover {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
}
/* ===== NAV-DOWN ===== */

.nav-down ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.nav-down ul li {
    background-color: var(--white-50);
    width: 20%;
    text-align: center; 
    border-right: 1px solid black;
}
.nav-down ul li:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}
.nav-down ul li:last-child {
    border-right: none;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}
.nav-down ul li a {
    display: block;
    text-decoration: none;
    color: black;
    line-height: 2.4rem;
    width: 100%;
}
.dropdown {
    position: relative;
    display: inline-block;
    transition: all 1s;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white-50);
    width: 100%;
    box-shadow: 0 0.5rem 1rem 0 rgba(0,0,0,0.2);
    z-index: 1;
    max-height: 20rem;
    overflow-y: auto;
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}
.dropdown-content a {
    display: block;
    color: black;
    line-height: 2.4rem;
    width: 100%;
    text-decoration: none;
}
.dropdown-content a:hover {
    background-color: var(--black-25);
    font-weight: bolder;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content::-webkit-scrollbar{
    width: 0.5rem;
}
.dropdown-content::-webkit-scrollbar-thumb{
    background-color: var(--black-50);
    border-radius: 0.25rem;
}