.topnav {
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    /* Slightly transparent white */
    backdrop-filter: blur(4px);
    /* Apply blur effect */
    border-radius: 10px;
    /* Optional: Add rounded corners */
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.topnav a {
    float: left;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    color: black;
    display: inline;
    padding: 14px 16px;
    transition: background-color 0.8s ease, box-shadow 0.8s ease, color 0.4s ease;
    border-radius: 25px;
}

.topnav a:hover {
    background-color: rgba(83, 135, 168, 0.3);
    /* Semi-transparent blue */
    border-radius: 25px;
    backdrop-filter: blur(8px);
    /* Add blur for the glass effect */
    box-shadow: 0 0 15px rgba(83, 135, 168, 0.3);
    color: white;
    /* Soft glow around the link */
}

.topnav .icon:hover{
    background-color: rgba(240, 240, 255, 0.3);
    backdrop-filter: blur(4px);
    color: black;
}

.topnav a.active {
    background-color: rgba(83, 135, 168, 0.3);
    color: white;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
        
    }

    .topnav a.icon {
        float: right;
        display: block;
        
    }
}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        padding: 14px 16px;
    }

    .topnav.responsive .icon {
        margin: 14px 16px;
        position: fixed;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        /* width: 20vw; */
        
    }
}

/* Box on every page */


