html {
  scroll-behavior: smooth;
}

/* NAVBAR DESIGN */

nav {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    position: fixed;
    top: 0;
    backdrop-filter: blur(20px);
    z-index: 1000;
    /* border: solid 1px yellow; */
}

nav ul {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 4rem;
}

nav .destaque {
    background-color: var(--cor-secundaria);
    height: 3rem;
    margin: 0 1rem;
    border-radius: var(--raio-curto);
}

nav .destaque a {
    color: white;
}

nav a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    color: black;
    transition: all 0.15s ease;
}

nav a:hover {
    transform: scale(1.1);
}

nav li:first-child {
    margin-right: auto;
}

.logo-topo {
    display: flex;
    align-items: center;
    height: 1.25rem;
}

.icon {
    height: 2.5rem;
}

.burger {
    display: none; /* Initially hidden */
}

/* SIDEBAR DESIGN */

.sidebar {
    display: none; /* Initially hidden */
    
    flex-direction: column;
    justify-content: flex-start;
    
    font-size: 1.25rem;
    
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 150px;
    z-index: 999;
    
    backdrop-filter: blur(10px);
    background-color: rgba(245, 245, 245, 0.95);
    -webkit-backdrop-filter: blur(10px);
    
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
    
    transition: all 0.3s ease;
}

.sidebar li {
        width: 100%;
        display: flex;
        justify-content: left;
        padding-left: 5%;
    }


/* CAPTURANDO A LARGURA DO DISPOSITIVO */

@media (max-width: 1200px) {
    .hideOnMobile {
        display: none;
    }
    
    nav ul {
        max-width: 100%;
    }
    
    .burger {
    display: block; /* Show burger icon on mobile */
    }
    
    .sidebar {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
    }
    
    
    .sidebar li {
        width: 100%;
        display: flex;
        justify-content: left;
        padding-left: 35%;
    }
    
    .icon {
        height: 2rem;
        align-items: center;
    }

}