.Navbar {
    overflow: hidden;
    background-color: #A9A9A9;
    cursor: pointer;
}

/* Navigation links */
.Navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* The subnavigation menu */
.Subnav {
    float: left;
    overflow: hidden;
}

/* Subnav button */
.Subnav .Subnavbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

/* Add a red background color to navigation links on hover */
.Navbar a:hover,
.Subnav:hover .Subnavbtn {
    background-color: red;
}

/* Style the subnav content - positioned absolute */
.Subnav-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: red;
    width: 100%;
    z-index: 1;
}

/* Style the subnav links */
.Subnav-content a {
    float: left;
    color: white;
    text-decoration: none;
}

/* Add a grey background color on hover */
.Subnav-content a:hover {
    background-color: #eee;
    color: black;
}

/* When you move the mouse over the subnav container, open the subnav content */
.Subnav:hover .Subnav-content {
    display: block;
}

@media screen and (max-width: 500px) {
    .header {
        float: none;
        display: block;
        text-align: left;
    }

    .header a {
        float: none;
    }
}