/* Header layout */
header {
    /*structure*/
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 0.75rem 2rem;
    /*styling*/
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: var(--weight-bold);
    color: var(--dg-navier-900);
}

nav {
    margin: 0;
    padding: 0;
}

nav>ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    gap: 0rem;
}

nav>ul>li {
    position: relative;
    margin: 0;
    display: inline-block;
}

li>a:after {
    content: ' ↓';
}

/* Change this in order to change the Dropdown symbol */
li>a:only-child:after {
    content: '';
}

nav>ul>li>a {
    padding: 0.5rem 1rem;
    display: inline-block;
    text-decoration: none;
    color: var(--dg-navier-900);
    font-weight: var(--weight-medium);
}

nav>ul>li>a:hover {
    opacity: 0.7;
}

nav>ul>li>ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--dg-border-light);
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav>ul>li>ul>li {
    width: 100%;
    border-bottom: 1px solid var(--dg-border-light);
    list-style: none;
}

nav>ul>li>ul>li:last-child {
    border-bottom: none;
}

nav>ul>li>ul>li>a {
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
    color: var(--dg-navier-900);
}

nav>ul>li:hover>ul {
    display: block;
}

header nav a:hover {
    color: var(--dg-teal-500);
}