﻿.topnav {
    overflow: hidden;
    z-index: 1000;
    align-self: baseline;
}

    .topnav a {
        float: left;
        display: block;
        color: var(--lighterGray);
        text-align: center;
        padding: 0px 16px;
        text-decoration: none;
        font-size: 1.1rem;
    }

        .topnav a:hover {
            /*background-color: var(--lighterGray);*/
            color: white;
        }

        .topnav a.active {
            /*background-color: #4CAF50;
            color: white;*/
        }

    .topnav .topnav-icon {
        display: none;
    }

@media screen and (max-width: 768px) {

    .topnav a {
        display: none;
    }

        .topnav a.topnav-icon {
            float: right;
            display: block;
            background-color: unset;
        }
}

@media screen and (max-width: 768px) {
    .topnav.responsive {
        position: relative;
    }

        .topnav.responsive .topnav-icon {
            position: absolute;
            right: 0;
            top: 0;
        }

        .topnav.responsive a {
            float: none;
            display: block;
            text-align: right;
            margin-left: 1rem;
            /*background-color: var(--lightestGray);*/
            background-color: var(--darkestBlue);
            color: var(--lighterGray);
        }

            .topnav.responsive a:hover {
                color: white;
            }
            .topnav.responsive a:not(.topnav-icon) {
               /* background-color: var(--brightBlue);
                color: var(--lightGray);*/
            }


            .topnav.responsive a:first-child {
                margin-top: 2rem;
            }
}