* {box-sizing: border-box;
z-index: 1;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
}

.navbar {
    position: fixed;
    width: 100%;
    z-index: 3000;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--c2);
    height: 3rem;
}
.sticky{
    display: fixed;
}
.brand {
    font-size: 1.8rem;
    margin:.5rem;
    background-color: var(--c2);
    color: var(--c7);
    cursor: pointer;
    text-decoration: none;
}

.brand a {
    background-color: var(--c2);
    color: var(--c7);
}

.links ul {
    padding: 0cm;
    margin: 0cm;
    display: flex;
    background-color: var(--c2);
    justify-content: space-evenly;
}

.lili {
    list-style: none;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.lili a {
    position: relative;
    text-decoration: none;
    color: var(--c7);
    display: block;
    transition: .5s;
    background-color: var(--c2);
}
.lili a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 0%;
    height: .2rem;
    background: var(--c7);
    transition: .8s;
    transform: skewX(20deg);   
}
.lili a:hover::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: .2rem;
    background: var(--c7);
    transition: .8s;
    transform: skewX(0deg);
  }
.navbar li a:hover {
    color: var(--c3);
}

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 18px;
}
#right {
    margin-right: 3rem;
}
.toggle-button .bar{
    height: .25rem;
    width: 100%;
    background-color: var(--c7);
    border-radius: 0px;
}
span {
    transition: 1s;
}
.bar1a {
    transform: rotate(45deg) translateY(10px)
    
}
.bar2a {
    transform: rotate(-45deg) translateY(-10px)
}
.bar3a {
    display: none;
}

#dropdown-wrapper {
    align-content: flex-start;
    display: none;
    flex-direction: column;
    position: absolute;
    background: var(--c1);
}
#dropdown-container li{
    background: var(--c1);
    padding: .3rem 1rem;
    cursor: pointer;
    padding-left: 0.8rem;
    transition: .5s;
}
#dropdown-container li a{
    background: var(--c1);
    color: var(--c3);
    text-decoration: none;
}
#dropdown-container li:hover{

    color: var(--c7);
    padding: .3rem 1rem;
    padding-left: 1.2rem;
    
}
.moon {
    background: var(--c2);
}
#moon-icon {
    margin-right: 1rem;
    background: var(--c2);
}
#moon-icon path {
    fill: var(--c7);
}
.dropdown-link {
    background: cornflowerblue;
    list-style: none;
    /*color: green;*/
}
.dropdown {
    background: none;
    text-align: start;
}

@media (max-width: 660px) {
    .toggle-button{
        display: flex;
        flex-direction: column;
        background-color: var(--c2);
    }
    .links {
        display: none; 
        width: 100%;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        
    }
    .links ul {
        flex-direction: column;
        width: 100%;
        height: calc(100vh - 3rem);
        background-color: var(--c1);
        z-index: 1000;
    }
    .lili {
        text-align: center;
    }
    .links.active {
        display: flex;
        z-index: 20;
    }
    .lili a {
        background-color: var(--c1);
    }
    #right {
        margin-right: 1rem;
    }
    html.fixedS {
        overflow: hidden;
    }
    .moon {
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        bottom: 1rem;
        right: 1rem;
        height: 3.5rem;
        width: 3.5rem;
        border-radius: 100rem;
        margin-right: 0rem;
        z-index: 999;
    }
    #moon-icon {
        margin-right: 0rem;
    }
}