.topnav {
    background-color: white;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: grey;
}
.topnav h1 {
    margin: 0;
    color: grey;
}
.topnav img {
    height: auto;
    width: 15vw;
    min-width: 200px;
}
.topnav .logo {
    margin-right: auto;
}
.topnav .nav-links {
    margin-left: auto;
}
.topnav a {
    color: grey;
    text-decoration: none;
    padding: 10px 20px;
}
.topnav a:hover {
    background-color: #f0f0f0;
}

.topnav a.active {
    background-color: white;
    color: black;
}
  
.topnav .nav-links .icon {
    display: none;
}

@media screen and (max-width: 768px) {
    /*.nav-links a:not(:first-child) {display: none;}*/
    .topnav .nav-links a {
        display: none;
    }
    .topnav .nav-links a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .topnav .nav-links.responsive {position: relative;}
    .topnav .nav-links.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav .nav-links.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}
  