/* Add a black background color to the top navigation */
.topnav {
    /* background-color: #26282f; */
    overflow: hidden;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: var(--nav-height);
    position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: calc(100% - var(--scrollbar-width)); /* Full width */
    z-index:100;
    transition: display 1s ease, opacity 1s ease; /*Not applying?*/
}
  
/* Style the links inside the navigation bar */
.topnav a {
    /* float: left; */
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add a color to the active link */
.topnav a.active {
    /* background-color: #04AA6D; */
    color: var(--blue);
}

/*Select all descendants of topnav that are links with the class in-interests-section*/
.topnav a.in-interests-section {
    color: rgba(0,0,0,0.5)
}

.topnav a.in-interests-section:hover {
    color: rgba(0,0,0,1)
}