/* Base styles used over the entire site. */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.title-bar {
    background-color: #000000;
    background-repeat: no-repeat;
    background-position: right center;
    color: #f0f0f0;
    padding: 0.5em 1em;
    display: flex;
    align-items: center; 
    justify-content: flex-start;
    min-height: 50px; 
}
.header-logo {
    height: 100px;
    width: auto;
}
.main-nav {
    background-image: linear-gradient(to bottom, #ede5d6, 80%, #342e26);
}
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; 
}
.menu a {
    display: block;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-top: 0.2em;
    padding-bottom: 0.4em;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
}
.menu a:hover {
    background-image: linear-gradient(to bottom, #ede5d6, 50%, #342e26);
    color: #EDE5D6;
}
.content-area {
    flex-grow: 1;
    padding: 1em;
    min-height: 300px;
    background-image: linear-gradient(to top, #0A48A3, #031229);
}
.content-wrapper {
    max-width: 960px;
    padding: 1em;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
    background-color: #e0e0e0;
    --fallback-gradient-color: #1e1f28;
    --fallback-gradient-height: 250px;
    --fallback-gradient: linear-gradient(to bottom, var(--fallback-gradient-color) 0px, var(--fallback-gradient-color) var(--fallback-gradient-height), transparent var(--fallback-gradient-height));
    background-image: var(--fallback-gradient);
    background-repeat: no-repeat; 
    background-position: top center;
    font-weight: normal;
}
.site-footer {
    background-color: #0A48A3;
    color: #CEB992;
    padding: 0.1em;
    text-align: center;
    margin-top: auto; 
    font-weight: bold;
    font-size: 0.8em;
}
.gradient-text {
    background-image: linear-gradient(to bottom, #ede5d6, 70%, #342e26);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
}
.title-centre {
    text-align: center;
    color: #e0e0e0;
    font-size: 2em;
}
.black-centred {
    text-align: center;
    color: #e0e0e0;
}

@media (min-width: 769px) {
    .desktop-invisible {
        display: none;
    }
    .site-footer {
        font-size: 0.8em;
    }
}
@media (max-width: 768px) { 
    .title-bar {
        justify-content: center;
        padding: 0.75em 1em;
    }
    .header-logo {
        height: 80px;
    }
    .menu {
        width: 100%;
    }
    .menu li {
        width: 100%;
        text-align: center;
    }
    .menu a {
        font-size: 0.9em;
        padding-left: 0.5em;
        padding-right: 0.5em;
        padding-top: 0.2em;
        padding-bottom: 0.4em;
    }
    .mobile-invisible {
        display: none;
    }
    .site-footer {
        font-size: 10px;
    }

}