/*
#### METADATA ##################################
## File:       navigator.css
## Part of:    Code403 Website
#### VERSIONING ################################
## VERSION     DATE      BY   COMMENT
## 1.0         20241209  ME   Initial version
#### INFO ######################################
## Inspired by www.w3schools.com
################################################
*/

.topnav {
    background-color: #28282d;
    font-family: poppins-regular;  
    overflow: hidden;
}

.topnav a {
    color: #509af3;
    display: block;
    float: left;
    font-family: poppins-regular;  
    font-size: 14px;
    padding: 14px 16px;
    text-align: center;
    text-decoration: none;
}

.topnav a:hover {
    background-color: white;
    color: #509af3;
    font-family: poppins-regular;
    font-size: 14px;
    text-align: center;
}

.topnav a.homelogo {
    background-color: #28282d;
    color: #509af3;
    padding: 0px 0px
}

.topnav img {
    max-height: 150px;
    max-width: 150px;
    border: 2px solid #509af3;
    border-radius: 20%;
}

.topnav .icon {
    display: none;
    border: 2px solid #509af3;
}

img.menubutton {
    border: 0px solid white;
    border-radius: 0%;
    width: 100%;
    height: 100%;
}


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

/*
#########
## EoC ##
#########
*/