nav .mobile-nav-toggle {
    display: none;
}

header {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: var(--box-radius);
    /* overflow: hidden; */
    left: var(--margin-from-edge);
    right: var(--margin-from-edge);
    top: 10px;
    z-index: 1000;
    backdrop-filter: blur(10px) saturate(200%); /* Edit for glass*/
    -webkit-backdrop-filter: blur(10px) saturate(200%);
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: rgba(0, 0, 0, 0.75) 0px 8px 32px 0px;
}

#logo {
    height: 60px;
    padding: 10px;
    background: #fff;
    border-radius: var(--box-radius);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-items: center;
}

nav a{
    display: inline-flex;
}

nav ul ul a{
    display: block;
    margin: 0 7px;
}

nav li{
    position: relative;
}

nav li a {
    text-decoration: none;
    color: var(--blue1);
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: var(--box-radius);
    transition: var(--transition1);
    position: relative;
    text-shadow: #fff 0px 0px 10px;
}

nav li a:before {
    content: '';
    position: absolute;
}

nav .active a {
    background: var(--green3);
}

nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: .5rem;
    font-size: 2.2rem;
}

nav > ul:before {
    content: "";
    position: absolute;
    position-anchor: --li;
    inset: auto anchor(right) anchor(bottom) anchor(left);
    background: var(--green3);
    height: .2em;
    transition: .2s .2s;
    border-radius: var(--box-radius);
    opacity: 0;
}

nav > ul > li {
    transition: .2s;
    padding: 14px 0;
}

nav > ul > li:is(:hover, .active) {
    anchor-name: --li;
    background-size: 100% 100%;
    transition: .2s .4s;
}

nav > ul:has(> li:hover) > li.active:not(:hover) {
    anchor-name: none;
    background-size: 100% 0%;
    transition: .2s;
}

nav > ul:has(> li:hover):before {
    opacity: 1;
}

nav ul ul{
    position: absolute;
    right: 0;
    margin-top: 14px;
    width: 300px;
    background: #fff;
    border-radius: 0 0 20px 0;
    visibility: hidden;
    z-index: -1;
    opacity: 0;
    transition: .2s .2s;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 7px;
    /* Glass Effect */
    backdrop-filter: blur(20px) saturate(200%); /* Edit for glass*/
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: rgba(0, 0, 0, 0.5) 0px 8px 8px;
}

nav > ul > li:hover ul{
    visibility: visible;
    opacity: 1;
}

nav ul ul li a:hover{
    color: var(--green1);
    background: #fff;
}

/* Hero Section */
.hero-section > .content{
    max-width: var(--hero-max-width);
    margin:var(--hero-my) var(--hero-mx);
}

@media screen and (max-width: 1000px) {
    :root{
        --margin-from-edge: 20px;
    }
}