#navBar{
    display: flex;
    flex-direction: row;
    background-color: aliceblue;
    border-radius: 10px;
    border-bottom: rgb(178, 203, 205) 3px solid;
    padding:20px;
    justify-content: center;
    align-items: center;
}
#navBar>img{
width:200px;
height: auto;
}
nav>button{
    background-color: aliceblue;
    border: none;
    padding:10px;
    color:rgb(118, 102, 93);
    font-size: 25px;
    transition: background-color .5s;
    border-radius: 10px;
}
nav>button:hover{
    background-color: rgb(196, 207, 219);
    cursor: pointer;
}
nav{
    margin-left: 30px;
    display: flex;
    flex-direction: row;
    gap:20px;
}
/*While not perfectly made specifically for mobile (What you listed as 640), this was set to what I considered a reasonable number for said change.*/


@media screen and (max-width: 800px) {
    #navBar {
        flex-direction: column;
        align-items: center;
    }
    nav {
        margin-top: 10px;
        flex-direction: column;
        gap: 2px;
    }
    
}