body {
    font-family: sans-serif;
    background: #0E0629;
    color: white;
    color: #E7E8B4;
    min-width: 600px;
}

body.oos {
    height: 900px;
    /* background: #0e0629 url(img/auckland_war_memorial.jpg) no-repeat left top; */
    background: #0e0629 url(images/gothic_graveyard.jpg) no-repeat left top;
    background-size: 100% 1900px;
}

body.future {
    background: #0e0629 url(images/monolith.jpg) no-repeat left top;
    background-size: contain;
    background-repeat: repeat-y;
}

body.ghost {
    background: #0e0629 url(images/monolith.jpg) no-repeat left top;
    background-size: 100% 100%;
}

body.wound {
    background: #0e0629 url(images/monolith.jpg) no-repeat left top;
    background-size: 100% 100%;
}

.videobox {
    /*
    border: 1px solid #e7e8b4;
    border-radius: 6px;
*/
    margin: 2rem 0 1rem;
    padding: 1rem;
}

.section {
    display: inline-block;
    text-align: left;
    font-style: italic;
    width: 80%;
}

caption {
    text-align: center;
}

.row h2 {
    padding: 1rem 0 2rem 2rem;
    font-size: 48px;
    background: rgba(20, 20, 20, 0.3);
}

.videobox h3 {
    margin: 0 0 2rem 0;
    font-size: 36px;
}

.trilogy {
    border: 1px inset black;
    background: rgba(20, 20, 20, 0.3);
    margin: 2rem;
}

#heading h1 {
    font-size: 72px;
}

a,
a:visited {
    color: #94D1E0;
    color: #fff;
    text-decoration: none;
}

a:active {
    color: #ff0;
    text-decoration: none;
    text-decoration-color: yellowgreen;
}

a:hover {
    text-decoration: underline;
    text-decoration-color: yellow;
    color: yellow;
}

#display {
    height: 100vh;
    background-color: rgba(100, 100, 100, 0.15);
}

#display div.container {
    background-color: rgba(50, 50, 50, 0.3);
}

#display div.title {
    font-family: 'Chelsea Market', serif;
    background-color: rgba(0, 0, 0, 0.7);
    width: 95%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 30px;
    text-align: center;
}

.sub-navbar {
    height: 2em;
    padding: 1em;
    margin: -1em;

}

.container {

    margin: 0 auto;
    width: 95%;
    width: 100%;
    padding: 0;
    padding-left: 1em;
    min-width: 380px;
    font-size: 18px;
    font-family: sans-serif;
}

.content {

    width: 100%;
    min-height: 180px;
    max-height: 1900px;
    padding: 4px;
    overflow: auto;
    overflow-x: hidden;
}

.content .col-md-12 img {
    margin: 1em;
}

.title {
    margin-top: 1.5rem;
    font-size: large;
}

#heading {
    font-family: de-walpergens-pica-small-caps, serif;
    font-family: 'Chelsea Market', serif;
    border: 0px inset silver;
    padding: 1em;
    margin: 0;
}

nav {
    clear: left;
    margin: 1rem;
}

nav .topmenu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
}

nav .topmenu li,
span.item.nightfreaks a {
    font-size: 18px;
    font-family: sans-serif;
    font-family: 'Chelsea Market', serif;
    font-weight: 800;
    padding: 8px;
    margin: 4px;
    display: inline-block;
    color: white;
    text-align: center;
    list-style-type: none;
    flex-grow: fit-content;
    flex-shrink: 0;
    border: 1px solid white;
    text-decoration: none;
}

nav .topmenu .homepage {
    background-color: black;
}

nav .topmenu .history {
    background-color: rebeccapurple;
}

nav .topmenu .angelmine {
    background-color: darkblue;
}

nav .topmenu .nightfreaks,
span.item.nightfreaks a {
    background-color: darkred;
}

/* nav .menu a,
nav .menu li a {
    color:white;
}
nav .menu li {
    list-style-type: none;
}
.featured {
    font-size: 18px;
    font-family: 'Chelsea Market', serif;
    height: 2em;
    padding: 4px;
    margin: 4px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    border: 1px solid white;
} */
.featured.wound {
    background-color: #ff7600;
}

.featured.memories {
    background-color: #8474da;
}

.featured.ghost {
    background-color: #23c56b;
}

#heading h2 {
    font-size: 36px;
    margin-top: -12px;
    margin-left: 1em;
}

#heading .contact {
    margin-left: 1em;
}

#heading .image img {
    float: right;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav.primary.navbar {
    background-color: rgba(200, 200, 200, 0.25);
    height: 6em;
}

nav.primary ul.menu li.item {
    margin-left: 1em;
    margin-right: 1em;
    padding: 8px;
}

nav.primary {
    height: 12px;
    min-height: 10px !important;
    margin-bottom: 16px;
}

nav .primary .topmenu li {
    width: 75px;
    height: 20px;
    padding: 6px;
    text-align: center;
    background-color: #821212;
    color: white;
}

nav #displayFilm {
    text-align: center;
    margin-left: -1em;
}

nav #displayTV {
    margin-left: 9em;
    margin-left: -1em;
}

nav #displayDoco {
    margin-left: 17em;
    margin-left: -1em;
}

nav #displayCV {
    margin-left: 23em;
    margin-left: -1em;
}

nav .menu li.film {
    background-color: #1F2173;
}

nav .menu li.tv {
    background-color: #17582B;
}

nav .menu li.doco {
    background-color: #631455;
}

nav .menu li.cv {
    background-color: #433F4A;
}

nav .menu li.sub a {
    color: black;
}

nav .menu li.sub {
    width: 120px;
    height: auto;
}


/* Dropdown Button */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover,
.dropbtn:focus {
    background-color: #3e8e41;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

#heading .image img {
    width: 26%;
    max-width: 300px;
}


.left {
    float: left;
    display: block;
}

.right {
    float: right;
    display: block;
}

@media screen AND (min-width:939px) {
    #heading .image img {}
}

@media screen AND (max-width:976px) {
    #heading .image img {}

    nav {
        width: 44em;
    }
}

@media screen and (max-width:866px) {
    nav {
        width: 44em;
    }
}

@media and (max-width:820px and min-width:768px) {
    nav {
        width: 48em;
    }
}

@media screen and (max-width:638px) {
    #heading .image img {
        margin-top: 2px;
    }

    nav {
        width: 500px;
    }
}

@media screen and (max-width:472px) {
    body {
        min-width: 460px;
    }
}

.top-heading {
    float: left;
    height: 10em;
}

#heading div.image img {
    display: block;
}

@media screen and (max-width:575px) {
    #heading .top-heading h1 {
        font-size: 48px;
    }

    #heading .top-heading h2 {
        font-size: 36px;
    }

    #heading .top-heading .contact {
        font-size: 18px;
    }

    nav .topmenu {
        width: 450px;
    }
}

@media screen and (max-width:610px) {
    .top-heading {
        float: left;
        height: 10em;
    }

    #heading div.image img {
        display: none;
    }
}

@media screen and (max-width:755px) {
    #heading .top-heading h1 {
        font-size: 50px;
    }

    #heading .top-heading h2 {
        font-size: 40px;
    }

    #heading .top-heading .contact {
        font-size: 18px;
    }
}

@media screen and (max-width:830px) {
    #heading div.image img {
        width: 20%;
    }
}

img.logo {
    width: 400px;
    display: block;
}

img.clip {
    width: 100%;
}

.inverse {
    color: black;
    max-width: 95%;
    background-color: white;
}

.expandable {
    margin-top: 0;
    width: 15em;
    max-width: 95%;
    float: left;
}

@media screen and (max-width: 800px) {
    .expandable {
        width: 20em;
        float: center;
    }
}

.content .article .inverse {
    padding: 2em;
}

img.img {
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
}

.section {
    display: flex;
    flex-direction: column;
}

.gallery {
    width: 100%;
    padding: 2rem;
    margin: 1rem;
    border: 1px white outset;
    background: black;
    color: white;
}

.gallery a {
    color: yellow;
}

.gallery .panel {
    background: #333;
    color: rgb(213, 213, 236);
}

.gallery .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.gallery .active,
.gallery .accordion:hover {
    background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.gallery .panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
}

.award-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.award-icons img {
    width: 120px;
    height: auto;
}

.award-icons img:hover {
    width: 240px;
}

h2.lights {
    border: 7px dotted white;
    padding: 2rem;
    width: fit-content;
}

.flex {
    display: flex;
    flex-direction: column;
    margin: 0;
    gap: 1rem;
}

.flex img {
    max-width: 45%;
}

@media (min-width: 768px) {
    .flex {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
}

/* Flexbox styles to replace Bootstrap grid */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.quote-container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.content-section {
    width: 100%;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.video-container {
    width: 100%;
    margin-bottom: 1rem;
}

.video-container .video {
    margin-right: 2rem;
}

.flex-trilogy {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.trilogy-item {
    flex: 0 0 50%;
}

.trilogy-video {
    flex: 0 0 40%;
    padding-left: 1rem;
}

.poster-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-container {
    display: flex;
    flex-wrap: wrap;
}

.caption-box {
    flex: 0 0 380px;
    margin-right: 1rem;
}

.header-section {
    flex: 0 0 30%;
}

.image-section {
    flex: 0 0 60%;
}

.text-section {
    flex: 0 0 30%;
    padding-left: 1rem;
}

.soldier-container {
    width: 100%;
    margin-bottom: 1rem;
}

/* Media queries for responsive design */
@media (max-width: 768px) {

    .trilogy-item,
    .trilogy-video,
    .image-section,
    .text-section,
    .header-section,
    .content-section {
        flex: 0 0 100%;
        padding-left: 0;
    }

    .image-section {
        margin-bottom: 1rem;
    }
}