/* font */
    /* Tourney */
@import url('https://fonts.googleapis.com/css2?family=Tourney:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
    /* Work Sans */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* farver */
:root {
    --header-color: #333333;
    --background-color: #666666;
    --aside-color: #555555;
}
body {
    display: flexbox;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
    background-color: var(--background-color);
}
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    text-decoration: underline;
    color:#666666;
}

/* header css */
header {
    background-color: var(--header-color);
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    margin-bottom: 5rem;
    height: 5rem;
    width: 100%;
    justify-content: space-between;
    color: black;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 5rem;
}
.logo-box {
    margin-top: auto;
    margin-bottom: auto;
    align-items: center;
}
.header-title {
    font-family: 'Tourney', cursive;
    font-size: xx-large;
}
#logo {
    height: 2rem;
    display: inline-block;
}
.space {
    height: 4rem;
    background-color: #385038;
}
.space p {
    display: none;
}

/* drop-down */
table ul {
    list-style: none;
}
table ul li {
    width:100%;
}
table li ul {
    display:none;
}
table li:hover ul {
    display: block;
    position: absolute;
    width: 7rem;
    text-align: left;
    margin-left: -0.25rem;
}
table li:hover li{
    margin-left: -2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
table .drop {
    background-color: var(--header-color);
    font-size: 85%;
}
/* nav css */
nav {
    margin-top: auto;
    margin-bottom: auto;
    align-items: center;
}
nav a {
    font-weight:bold;
    text-shadow: 0 0 10px var(--background-color);
}
nav td {
    text-align: end;
    width: fit-content; 
    padding: 0.5rem;
}
.burgerbar {
    display: none;
}
/* burgerbar responsive */
@media all and (max-width: 768px) {
    header {
        padding-right: 5dvw;
    }
    #menu {
        display: none;
    }
    /* burger menuen */
    .burgerbar {
        position: relative;
        display: inline-block;
    }
    /* burger knappen */
    #burgermenu {
        display: block;
        width: 40px;
        height: 40px;
        padding: auto;
        background-color: var(--aside-color);
        border:0;
        border-radius: 0.5rem;
    }
    #burgericon {
        height: 1.25rem;
        align-self: center;
    }
    #burgermenu:active {
        background-color: var(--background-color);
    }
    .burgerundermenu {
        display: none;
        position: absolute;
        right: -1.6rem;
        list-style: none;
        width: 10rem;
        height: fit-content;
        background-color: var(--header-color);
    }
    .burgerundermenu ul {
        margin-left: -2rem;
        list-style: none;
    }
    .burgerundermenu li {
        padding-top: 0.25rem;
    }
    .burgerundermenu ul li ul {
        margin-left: -1.5rem;
        font-size: 85%;
    }
}

/* aside css */
aside {
    box-sizing: content-box;
    float: right;
    background-color: var(--aside-color);
    height: 100%;
    width: 13rem;
    display: none;
}
aside ul, aside li {
    list-style: none;
}

/* main css */
main {
    margin-left: 15rem;
    margin-right: 15rem;
}