
#navbar-spot {
    width: 88%;


    position: -webkit-sticky;
    position: sticky;

    float: right;

    z-index: 1000;
}


/*for nav elements*/
.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    width: 100%;
    padding: 0px 0;
     
}

/*targets only ul under nav*/
.navlinks {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;



}
/*move the actual list items*/
    .navlinks li {
        display: inline-flex;
        flex-grow: 1;
        justify-content: center;
    }

        /*change color on hover*/
        .navlinks li a:hover:not(.active) {
            background-color: #00646e;
            color: white;
        }



        /*link text decor*/
        .navlinks li a {
            text-decoration: none;
            color: #3fe9ff;
            background-color: #3f2902;

            flex-grow: 1;
            justify-content: center;
            display: inline-flex;
            padding: 15px 10px;


        }
