header{
    display: flex;
    flex-direction: row;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    background-color: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--headerHeight);
    z-index:3;
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

.HeadInfoArea{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.MobileNav{
    display: none;
}

nav{
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}

.NavLinks{
    display: flex;
    justify-content: left;
    align-items: end;
    flex-direction: row;
    overflow-y: unset;
}

.NavLinkElement{
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: transparent;
    margin: 10px;
}

.NavLinkElement a, .NavLinkElement button{
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: none;
    color: #005920;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0rem;
    transition: color 0.5s;
}

.NavLinkElement a:hover, .NavLinkElement button:hover{
    color: rgb(150,150,150);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 3px;
}

.ActiveLink a{
    color: rgb(150,150,150);
}

.Dropdown{
    position: relative;
    display: inline-block;
}

.DropdownContent{
    display: block;
    position: absolute;
    background-color: rgba(255,255,255, 0.9);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    text-align: left;
    z-index: 3;
    overflow-y: hidden;
    height: 0;
    transition: 0.5s;
}

.Dropdown:hover .DropdownContent, .DropdownContent#open{
    height: max-content;
    padding: 10px;
}

.DropdownEntry button, .DropdownEntry a{
    text-decoration: none;
    white-space: nowrap;
    border: none;
    color: #005920;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0rem;
    transition: none;
}

.DropdownEntry{
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.DropdownEntry:hover, .DropdownEntry:hover a{
    color: rgb(150,150,150);
    text-decoration: none;
}

#upArrow
{
    display: none;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: auto;
    position: fixed;
    bottom: 10%;
    right: 2%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
}

#upArrow a img
{
    width: 100%;
}

@media screen and (max-width: 1000px)
{
    header {
        height: 0;
    }

    .HeadInfoArea {
        display: none;
    }

    .MobileNav {
        display: flex;
        z-index: 4;
        background-color: #FFFFFF;
        position: fixed;
        top: 30px;
        right: 0;
        border-top-left-radius: 10mm;
        border-bottom-left-radius: 10mm;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.6);
    }
    .MobileNav button {
        width: 120px;
        font-size: 175%;
        background: transparent;
        color: #FFFFFF;
        border: none;
        height: 60px;
    }
    .MobileNav button:hover {
        cursor: pointer;
    }
    .MobileNav button img {
        width: 50px;
    }
    nav {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        height: 80%;
        width: 90%;
        position: fixed;
        z-index: 3;
        top: 0;
        right: 0;
        background-color: #005920;
        overflow-x: hidden;
        transition: 0.5s;
        transform: translateX(100%);
        box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.6);
    }

    nav.open {
        transform: translateX(0);
    }

    nav.closed {
        transform: translateX(100%);
    }

    .NavLinks {
        flex-direction: column;
        justify-content: flex-start;
        align-items: baseline;
        margin-top: 30px;
        margin-bottom: 30px;
        margin-left: 20px;
        overflow-y: auto;
        height: 100vh;
    }   

    .NavLinkElement a {
        color: #FFFFFF;
        text-align: left;
    }
    .Dropdown button, .Dropdown button:hover, .NavLinkElement button:hover, .NavLinkElement button {
        text-align: left;
        color: #d0d0d0;
        text-decoration: underline;
        text-decoration-thickness: 3px;
    }

    .NavLinkElement a:hover {
        color: #d0d0d0;
        text-decoration: none;
    }

    .Dropdown {
        position: unset;
        display: flex;
        flex-direction: column;
        align-items: baseline;
    }

    .DropdownContent {
        display: block;
        position: unset;
        background-color: unset;
        min-width: 160px;
        box-shadow: unset;
        text-align: left;
        padding: 5px;
        height: max-content;
    }

    .DropdownEntry button, .DropdownEntry a {
        text-decoration: none;
        white-space: nowrap;
        background-color: unset;
        border: none;
        color: #d0d0d0;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0rem;
        transition: none;
    }

    .DropdownEntry {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .DropdownEntry:hover{
        background-color: unset;
        color: #d0d0d0;
    }
    
    .RightSide, .LeftSide, nav {
        align-self: center;
    }
    .LeftSide {
        margin-bottom: 10px;
    }
}
