:root {
    --div-bg-color: rgb(14, 121, 0);
    --highlight-color: rgb(14, 121, 0);
    --highlight-color-submenu: rgb(0, 0, 0, 0.3);
    --link-color: rgb(148, 226, 60);
}

/* Workaround to teach older browsers that these are block elements */
header, section, footer, aside, nav, main, article, figure {
    display: block;
}

body{
    background: rgb(0, 0, 0);

    font-family: Verdana, cursive;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    font-size: 10pt;

    margin: 0px;
}

header{
    font-size: 36pt;

    min-height: 220px;

    background-image: url('./images/backgrounds/sunrise_wing.jpg');
    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
}

nav a {
    display: block;
    border-radius: 20px;
    padding: 0px 5px 0px 5px;
}

nav a:hover{
    background-color: var(--highlight-color);
    color: var(--link-color);
}

nav a:link, nav a:visited, nav a:active {
    color: var(--link-color);
    text-decoration: none;
}

#headertext{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.mainMenuWrapper{
    flex-grow: 0;

    font-size: 14pt;
}

.mainMenuWrapper nav{
    background: rgb(0, 0, 0, 0.8);

    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;

    width: 100%;
}

.mainMenuWrapper a{
    flex-grow: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0px 15px 0px 15px;
}

.mainMenuWrapper img{
    height: 1em;
}

.mainWrapper{
    display: flex;
    align-items: flex-start;
    margin: 0px 15px 0px 15px;
}

.mainWrapper nav{
    min-width: 15%;
    margin: 0px 15px 0px 0px;

    border-radius: 20px;
    background: var(--div-bg-color);
    padding: 10px 0px 10px 0px;
    flex-grow: 0;
    font-size: 12pt;
}

.mainWrapper nav a:hover{
    background-color: var(--highlight-color-submenu);
}

.mainWrapper nav a{
    margin: 0px 10px 0px 0px;
}

.mainWrapper nav div{
    margin: 0px 0px 0px 10px;
}

main{
    border-radius: 20px;
    background: var(--div-bg-color);
    padding: 10px;
    flex-grow: 1;
}

