/* Add a black background color to the top navigation */
.topnav {
    background-color: #00105e;
    overflow: hidden;
    display: flex;
    justify-content: center; /* Centers the nav items horizontally */
    gap: 10px; /* Adds spacing between links */
    width: 100%; /* Makes the nav bar take up the full width */
    padding: 10px 0; /* Adds padding for better spacing */
    box-sizing: border-box; /* Ensures padding doesn’t add to the width */
    color: #f2f2f2;
    text-align: center;
}

/* Style the links inside the navigation bar */
.topnav a {
    color: #f2f2f2;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 17px;
    border-radius: 5px;
}

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

/* Add a color to the active/current link */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

