nav{
    height: 70px;
    width: max-content;
    margin: auto;
    margin-right: 0px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: center;
}



nav div{
    cursor: pointer;
    transition: filter 0.4s ease;
    text-decoration: underline;
}
nav div:hover{
    filter: brightness(0.5);
}
nav div:active{
    transition-duration: 0.1s;
    filter: brightness(1);
}



#menu-button{
    display: none;
    flex-direction: column;
    justify-content: space-around;
    height: 25px;
    width: 30px;
    cursor: pointer;
    margin: auto 10px auto 0px;
}

#menu-button .bar{
    height: 3px;
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 2px;
}




@media screen and (max-width: 600px) {
    #menu-button{
        display: flex;
    }
    nav{
        display: none;
    
        overflow-y: scroll;
    }

    header aside{
        display: flex;
        min-height: 70px;
        height: 70px;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    #header{
        flex-direction: column;
        height: 70px;
    }

    nav div{
        height: 100px;
        
        margin: 0px;
        width: 100%;
        text-align: center;
        vertical-align: center;
        line-height: 100px;
        font-size: 1.5rem;

    }


    nav.open{
        display: flex;
        position: relative;
        background-color: #2C2C2C;
        flex-direction: column;
        width: 100%;
        height: 100%;
       
        padding: 10px;
        border-radius: 0px 0px 0px 10px;
   
        justify-content: flex-start;
        align-items: flex-start;
    }
    header:has(nav.open){
        height: 100dvh;
     
        flex-direction: column;
    }
    
    #header:has(nav.open){
        flex-direction: column;
        height: 100dvh;
    }

}