html, body {
    height: 100%;
    margin: 0;
    min-width: 320px;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: black;
}

.body-background {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ddd;
}

/* nav bar*/
.navbar {
    background-color: rgba(16, 16, 16, 0);
    border-bottom: 2px solid rgba(255, 255, 255, 0);
    color: white;
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 47px;

    display: flex;
}

.nav-img {
    float: left;
    padding: 10px;
    width: 32px;
}

.nav-name {
    display: block;
    padding-top: 16px;
    overflow: hidden;
    white-space:nowrap;
}

.nav-name a {
    text-decoration: none;
    color: #d8d8d8;
}

.nav-name:hover a {
    color: white;
}

.nav-name.active a {
    color: white;
}

.nav-spacer {
    flex-grow: 1;
}

.nav-list {
    margin: 0;
    padding: 0;
}

.nav-link {
    float: left;
    display: block;
    text-align: center;
    padding: 16px 10px 10px;
    text-decoration: none;
    color: #aaa;
    white-space: nowrap;
}

.nav-link:hover {
    /*background-color: #ccc;
  border-radius: 4px;*/
    color: white;
}

.nav-link.active {
    color: white;
    /*text-shadow: -1px -1px 1px white, 1px -1px 1px white, -1px 1px 1px white, 1px 1px 1px white;*/
    font-weight: bold;
}

.nav-burger {
    display: none;
}

.body-header-container {
    padding: 100px 64px 64px 64px;

    background-color: black;
    background-image: url("/imgs/LIT_banner.jpg");
    /*
    background-size: cover;
    background-position: center;
    */

    background-size: contain;
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;

}

.body-header {
    padding: 64px;
    max-width: 800px;
    margin: auto;
    position: relative;

    border: 3px solid white;
    border-radius: 16px;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: #eee;
}

.body-content {
    padding: 32px 32px 8px 32px;
    width: calc(100% - 64px);
    max-width: 1000px;
    margin: auto;

    overflow: clip;
}

.body-content p {
    margin: 24px 0;
    line-height: 1.65;
}

.body-content a {
    color: inherit;
}

.body-content img {
    max-width: 100%;
    display: block;
    margin: auto;
}

.body-content ul {
    list-style-type: "–  ";
}

.body-content ul > li {
    padding-bottom: 12px;
}

.body-content .centered {
    text-align: center;
}

.body-content .flex-col {
    display: flex;
}

.body-content .cite {
    font-style: italic;
    text-indent: -36px;
    padding-left: 36px;
    overflow-wrap: anywhere;

    font-size: 13px;
}

.body-content .caption {
    margin: 4px 0;
    font-size: 12px;
    font-style: italic;
    text-align: right;
}

/* footer */
.footer-img {
    position: relative;
    bottom: 0;
    margin: auto;
    width: 100%;
    max-width: 700px;
}

.footer-spacer {
    width: 100%;
    height: 8px;
    background-color: black;
}

@media (max-width: 1000px) {
    /* nav bar */

    .nav-name {
        flex-grow: 1;
    }

    .nav-spacer {
        flex-grow: 0;
    }

    .nav-link {
        display: none;
    }

    .nav-burger {
        display: block;
        float: right;
        text-align: right !important;
        padding: 16px 24px 10px 10px !important;
    }

    .nav-link.show {
      float: none;
      display: block;
      text-align: left;
      background: black;
      padding: 16px 32px;
      font-size: 14px;
    }
}

.mobile-show {
    display: none !important;
}

@media (max-width: 650px) {
    .mobile-show {
        display: unset !important;
    }

    .mobile-hide {
        display: none !important;
    }

    /* body */

    .body-header-container {
        padding: 50px 12px 12px 12px;
    }

    .body-header {
        padding: 32px;
        font-size: 32px;
    }

    .body-content {
        padding: 16px;
        width: calc(100% - 32px);
    }

    .body-content .flex-col {
        flex-direction: column;
    }
}

@media print {
    .noprint, .nav-link, .footer-img {
        display: none !important;
    }

    .navbar {
        position: inherit;
    }

    .nav-img {
        width: 32px !important;
    }

    .body-header-container {
        padding: 0;
    }

    .body-header {
        padding: 32px 0 0 0;
    }


}
