* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LINK STYLES --
 * Updated for better contrast and aesthetics
 */
a {
    color: #036564;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #023c3c;
    text-decoration: underline;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
}

.is-center {
    text-align: center;
}

/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #021414;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: white;
    color: #021414;
    border-radius: 5px;
    font-size: 120%;
}

/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */
.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.10);
}

.home-menu {
    background: white;
    color: #0d0c2e;
}

.max-widthed {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0em 1em;
}

.pure-menu.pure-menu-fixed {
    border-bottom: none;
    z-index: 4;
}

.home-menu .pure-menu-heading {
    font-weight: 400;
    font-size: 120%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.home-menu .pure-menu-selected a {
    color: white;
}

.home-menu a {
    color: #021414;
}

.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #036564; /* Updated to match new link style */
}

/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */
.splash-container {
    background: #aaa;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 88%;
    top: 0;
    left: 0;
    position: fixed !important;
    background-image: url("splash.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

@media (max-width: 767px) {
    .splash-container {
        background-attachment: scroll;
        position: relative !important;
        height: 100vh; /* Ensure the background has height */
        background-position: center center;
        background-size: cover;
    }
}
#attribution {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 20px;
    font-size: 12px;
    color: white;
}

#attribution a {
    color: inherit;
}

.splash {
    width: 100%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: 150px;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    text-transform: uppercase;
    color: white;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

span.bold {
    font-weight: bold;
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 20px;
    font-weight: bold;
    color: white;
    border-radius: 5px;
    line-height: 1em;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: white;
    letter-spacing: 0.05em;
    font-weight: bold;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    position: absolute;
    top: 87%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;
}

.content {
    padding: 1em 1em 3em;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.content p {
    text-align: justify;
}

.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 1em;
}

.content-head-ribbon {
    color: white;
}

.content-subhead {
    color: #021414;
}

.content-subhead i {
    margin-right: 7px;
}

.ribbon {
    background: #F9F9F9;
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 */
@media (min-width: 48em) {
    body {
        font-size: 16px;
    }

    .home-menu {
        text-align: left;
    }

    .home-menu ul {
        float: right;
    }

    .splash-head {
        font-size: 250%;
    }

    .l-box-lrg {
        border: none;
    }
}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 */
@media (min-width: 78em) {
    .splash-head {
        font-size: 300%;
    }
}