header{
    width: 100%;
    height: calc(50vh - var(--navbarheight));
    min-height: 100px;
    min-width: 200px;
}
div.logo-container{
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
}
div.logo{
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    display: flex;
    align-items: center;
    height: 100%;
}
.logo a{
    display: block;
    margin: 0 auto;
    text-align: center;
}
.logo-svg{
    -webkit-filter:invert(1);
    filter:invert(1);
    height: 60%;
    width: 70%;
    pointer-events: none;
}
.menulogo{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: calc(-1 * var(--navbarheight));
    padding-inline-start: 0px;
}
.navbutton-home img{
    height:  calc(.9 * var(--navbarheight));
    display: block;
    margin-left: auto;
    margin-right: auto;
    -webkit-filter:invert(1);
    filter:invert(1);
    margin-bottom: -15px;
}
navbar.homelogo{
    display: block;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: -1;
    z-index: 99;
    height: calc(var(--navbarheight) + 1px);
    margin-top: -20px;
    background-color: var(--bgcolor);
    background-image: url('/svg/triangle-grid_6h.svg');
    background-size: 1800px;
    background-position-x: center;
    background-position-y: top;
}
.navlogo-link{
    display: block;
    padding-top: 2.5%;
}
navbar.menu{
    display: block;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: var(--navbarheight);
    margin: 0px;
    padding: 0px;
    width: 100%;
    z-index: 100;
    margin-top:  calc(-1 * var(--navbarheight));
    height: var(--navbarheight);
    background-color: var(--bgaccent1);
    background-image: url('/svg/triangle-grid_6h.svg');
    background-size: 1800px;
    background-position-x: center;
    background-position-y: calc(2 * var(--navbarheight) + 3px);
    padding-top: 0px;
    border-top: solid;
    border-top-width: 2px;
    border-top-color: rgba(0,0,0,.5);
    border-bottom-width: 1px;
    border-bottom-color: rgba(0,0,0,.9);
    box-shadow: 0px 3px 3px #00000088;
}
navbar.menu div.menu{
    margin: 0px 20% 0px 20%;
    padding: 0px;
    text-align: center;
    padding: 0px 5px;

}
.menulist{
    display: block;
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-inline-start: 0px;
    padding-inline-end: 0px;
    padding-inline: 0px;
    height: 100%;
}
.menulist li{
    float: left;
    margin: 2px 0px;
    padding: 0px;
}
.menulist li a{
    font-size: 20px;
    text-decoration:none;
    width: 100px;
    min-height: 80%;
    display : flex;
    align-items : center;
    justify-content : center;
    margin: 0px;
    padding: 0px;
    color: var(--fgaccent1);
}
.menulist li a:hover {
    color: var(--fgaccent2);
    cursor: pointer;
}
.menulist li a:active{
    color: var(--fntcolor);
}
navbutton{
    display: block;
}


@media only screen and (max-height: 880px) {
    .logo-svg{
        height: 75%;
    }
}
@media only screen and (max-height: 480px) {
    :root{
        --navbarheight: var(--navbarheights);
    }
    
    .menulist li{
    }
    .menulist li a{
        font-size: 80%;
    }
    
    .logo-svg{
        height: 90%;
    }
}
@media only screen and (min-width: 600px) and (min-height: 480px) {
    :root{
        --navbarheight: var(--navbarheightb);
    }
    
    .menulist li{
        margin: auto;
    }
    .menulist li a{
        font-size: 150%;
    }
}