nav {
    font-size:x-large;
    z-index: 1;
    font-family: "Inconsolata", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    /* background-color: red; */
    padding: 15px 0 0 5px;
    width: 100%;
    min-height: 5vh;
    display: flex;
    justify-content:space-between;
    position: absolute;
}
nav ul:first-child a{
    color: gold;
    font-size: x-large;
    margin:0 ;
}
nav ul:first-child a:hover{
    color: black;
    transition: all 1.5s;
}
nav ul:nth-child(2){
    display: flex;
    align-items: center;
    border: none;
}

nav ul{
    border-radius: 20px;
    margin: 0 7px;
    /* background-color: black; */
    border: 2px solid gold;
    padding: 7px;
    list-style: none;
    display: flex;
    align-items:end;
    
}
nav ul a{
    text-decoration: none;
    margin: 0 10px;
    padding: 10px;
    border-radius: 10px;
    color: gold;

}

nav ul a:hover{
    background-color: rgba(255, 217, 0, 0.664);
    color: black;
    transition: all 0.5s;
}

 .anchorbtn.active{
    background-color: gold;
    color: black;
}
#menubtn{
    display: none;}

@media screen and (max-width: 600px) {
    nav {
      font-size: smaller;
    }
    nav ul:first-child a{
        font-size: smaller;
    }
    /* nav ul:nth-child(2) a{
        display: none;
    } */
    #myMenu{
        display: none;
    }

    nav ul:nth-child(2){
        /* display: none; */
        background-color: gold;
        border: none;
        position: absolute;
        right: 0;
        width: 70%;
        height: auto;
        flex-direction: column;
        justify-content: space-evenly;
        margin: 0;
        align-items: center;
        border: 2px solid black;
        padding: 0 50px;
    }
    nav ul:nth-child(2) a{
        background-color: black;
        color: white;
        border: 2px solid black;
        margin: 30px 20px 40px 20px;
    }
    nav ul:nth-child(2) a:hover{
        background-color: rgba(155, 132, 0, 0.685);
        color: black;
    }
    #menubtn{
        display: block;
        position: absolute;
        top: 10px;
        right: 50px;
        margin: 10px 10px 0 0;
        padding: 10px;
        border-radius: 10px;
        border: 2px solid gold;
        background-color: gold;
        color: black;
    }
    #menubtn:hover{
        background-color: black;
        color: white;
        cursor: pointer;
        transition: all 0.5s;
    }
  }