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

body {
    line-height: 1.7em;
    font-size: 13px;
}

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

a, a:link, a:visited {
    color: #576474;
    text-decoration: none;
}
a:active {
    color: #576474;
    text-decoration: underline;
}

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

.l-box {
    padding: 1em;
}

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

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

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

.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 {
    background-color: #576474;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

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

.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}
.home-menu {
    background: #000;
}
.pure-menu.pure-menu-fixed {
    border-bottom: none;
    z-index: 4;
}

.home-menu .pure-menu-heading {
    color: white;
    font-weight: 400;
    font-size: 120%;
}

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

.home-menu a {
    color: #576474;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #576474;
}

.splash-container {
    z-index: 1;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    width: 100%;
    height: 400px;
    top: 0;
    left: 0;
    position: fixed !important;
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: 50px; left: 0; bottom: 0; right: 0;
    text-align: center;
    text-transform: uppercase;
}

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

/* This is the subheading that appears on the blue section */
.splash-subhead {
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    position: absolute;
    top: 400px;
    width: 100%;
    min-height: 12%;
    z-index: 2;
}

/* We want to give the content area some more padding */
.content {
    padding: 1em 1em 3em;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 1em 0 1em;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: #576474;
}
.content-subhead i {
    margin-right: 7px;
}

/* This is the class used for the dark-background areas. */
.ribbon {
    margin-bottom: 50px;
}

/* This is the class used for the footer */
.footer {
    background: #111;
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }
    .home-menu ul {
        float: right;
    }

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

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


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 300%;
    }
}

pre {
    font-size: 0.9em;
    line-height: 1.1em;
    overflow-y: scroll;
    padding: 1em;
    border-radius: 5px;
}

@media (prefers-color-scheme: dark) {
    body {
        color: #000;
    }
    pre {
        color: #fff;
        background-color: #666;
    }
    .hl-kw {
        font-weight: bold;
    }
    .hl-comment {
        color: #ccc;
    }
    .hl-text {
        color: #fff;
        background-color: #999;
    }
    .splash-container {
        background: #666;
        color: #fff;
    }
    .splash-head {
        color: #fff;
    }
    .splash-subhead {
        color: #fff;
    }
    .content {
        color: #fff;
	background: #000;
    }
    .content-wrapper {
        color: #000;
    }
    .content-head-ribbon {
        color: #e1d4cc;
    }
    .l-box-lrg-odd {
        background: #333;
	color: #fff;
    }
    .l-box-lrg-even {
        background: #666;
        color: #fff;
    }
    .l-box-lrg-even .content-head {
        color: #e1d4cc;
    }
}

@media (prefers-color-scheme: light) {
    body {
        color: #fff;
    }
    pre {
        color: #000;
        background-color: #eee;
    }
    .hl-kw {
        color: #576474;
    }
    .hl-comment {
        color: #999;
    }
    .hl-text {
        color: #000;
        background-color: #fff;
    }
    .splash-container {
        background: #ccc;
        color: #000;
    }
    .splash-head {
        color: #000;
    }
    .splash-subhead {
        color: #000;
    }
    .content {
        color: #000;
	background: #fff;
    }
    .content-wrapper {
        color: #fff;
    }
    .content-head-ribbon {
        color: #fff;
    }
    .l-box-lrg-odd {
        background: #666;
    }
    .l-box-lrg-even {
        background: #ccc;
        color: #000;
    }
    .l-box-lrg-even .content-head {
        color: #494949;   
    }
}
