#navbar{
    position: absolute;
    top: 0;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    list-style: none;
    padding: .5em;
    margin: 0;
    background: rgba(0, 0, 0, .3);
    z-index: 2;
}
li:hover{
    color: yellow;
}
#selected{
    color: lightgreen;
}
.collapsible-menu {
    width: 70%;
    text-align: center;
}
.collapsible-menu ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
}
.collapsible-menu li {
    text-decoration: none;
}

input#menu {
    display: none;
} /* Disables the checkbox */

.collapsible-menu label {
    display: none;
} /*hides the checkbox/menu on standard displays*/

input:checked +label {
    margin-bottom: 1em;
    color: rgba(255, 255, 255, 0.5);
}

/*
Navigation bar on normal layout
*/
.menu-content {
    height: 10%;
    width: 100%;
}

li {
    margin: 0 1em;
    color: white;
    font-size: 2vw;
}
#wobclogo{
    width: 100%;
}

@media screen and (max-width: 720px) and (orientation: portrait){

    #navbar{
        grid-template-columns: 1fr 1fr;
        background: #52843C;
        min-height: 3em;
    }
    .collapsible-menu{
        width: 90%;
        text-align: right;
    }

    .collapsible-menu label {
        display: block;
        margin-top: -.5em;
        color: white;
        font-size: 1.5em;
        height: 0em;
    }

    .collapsible-menu li{
        margin-top: 20px;
        font-size: .7em;
        color: black;
    }
    .menu-content {
        height: 0;
        width: 0;
        overflow: hidden;
    }
    input:checked ~ .menu-content {
        position: absolute;
        right: 0;
        top: 100%;
        text-align: center;
        height: max-content;
        padding-bottom: 1em;
        padding-left: 1em;
        padding-right: 1em;
        font-size: 2em;
        margin: 0;
        min-width: max-content;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        background: rgba(255, 255, 255, 0.9);
    }
}

@media screen and (min-width: 1920px){
    #navbar{
        background: #52843C;
    }
    li{
        color: lightyellow;
    }
}