@font-face {
    font-family: 'Roboto';
    src: local('Roboto'), url('Roboto.ttf') format('truetype');
}

body {
    margin: 0;
    background: #e2e2e2;
    font-family: 'Roboto', Verdana, sans-serif;
    --primary-color: #1b616e;
    --accent-color: #ee964b;
    --highlight-color: #8fc93a;
    --highlight-bg: #edf7f6;
    --alert-color: #bc2c1a;
    --border-color: #2f2f2f;
    --bg-light: #f9f9f9;
    --bg-medium: #b2b2b2;
    --main-area-width: 85%;
    --nav-bar-height: 4rem;
}

.alert {
    color: var(--alert-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}
a:hover {
    background: var(--highlight-bg);
    text-decoration: underline;
}
a:active {
    color: var(--highlight-color);
}

#nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-light);
    font-size: 1.2rem;
    height: var(--nav-bar-height);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.2);
}

#nav-bar-inner {
    margin: 0 auto;
    width: var(--main-area-width);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo-wrapper {
    display: block;
    height: 65%;
}

#logo-wrapper img {
    height: 100%;
}

#menu-expand-toggle {
    display: none;
    font-size: 1.2rem;
    padding: .5em;
    color: var(--primary-color);
    background: none;
    border: none;
}
#menu-expand-toggle:hover {
    background: var(--highlight-bg);
    cursor: pointer;
}

.nav-container {
    display: flex;
    width: 85%;
    height: 100%;
    margin: 0 auto;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.nav-item {
    display: inline-block;
}

.nav-link {
    display: block;
    padding: .5em;
    color: var(--primary-color);
    text-decoration: none;
}
.nav-link:hover {
    background: var(--highlight-bg);
    text-decoration: underline;
}

#main-container {
    margin-top: var(--nav-bar-height);
    overflow: auto;
}

#banner {
    color: var(--bg-light);
    width: 100%;
    padding: 1em 0;
    background: var(--primary-color);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.5);
    text-align: center;
    font-size: 1.5rem;
}
#banner .ws-title-acronym {
    display: block;
    font-size: 4rem;
    font-weight: bold;
}
.ws-title-full {
    font-size: inherit;
}

#main {
    display: block;
    margin: 2em auto;
    padding: 1em;
    width: var(--main-area-width);
    background: var(--bg-light);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
}

@media screen and (max-width: 1000px) {
    .nav-container {
        flex-direction: column;
    }

    #banner {
        display: none;
    }

    #main {
        margin-top: 1em;
    }

    #nav {
        display: none;
        position: absolute;
        top: var(--nav-bar-height);
        left: 0;
        width: 100%;
        font-size: 1.5rem;
        background: var(--bg-light);
        box-shadow: 0 5px 5px -5px rgba(0,0,0,0.2), 0 5px 5px -5px rgba(0,0,0,0.2) inset;
    }

    #menu-expand-toggle {
        display: block;
    }
}
