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

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

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

.l-box {
    padding: 0em 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(24, 19, 19, 0.1);
}

.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-menu.pure-menu-fixed {
    border-bottom: none;
    z-index: 4;
}


/* Base SPLASH styles - normal scrolling for mobile */
.splash-container {
    background: #1f8dd6;
    position: relative; /* Changed from fixed */
    width: 100%;
    min-height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Remove: top, left, overflow, z-index */
}

.splash {
    width: 80%;
    max-width: none; /* Let it grow as needed */
    text-align: center;
    padding: 2em 0; /* Add padding instead of absolute positioning */
    /* Remove: position, top, left, bottom, right, margin, height */
}

.splash-head {
    font-size: 20px;
    font-weight: bold;
    color: white;
    border: 3px solid white;
    margin-top:120px;
    padding: 1em 1.6em;
    font-weight: 100;
    border-radius: 5px;
    line-height: 1em;
}

.splash-subhead {
    color: white;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.content-wrapper {
    position: relative; /* Changed from absolute */
    width: 100%;
    background: white;
    /* Remove: top, min-height, z-index */
}

.content-wrapper a:visited {
    color: lightgray;
}

.ribbon {
    background: #2d3e50;
    color: #aaa;
}

.ribbon a {
    color: white; 
}

.content {
    padding: 1em 10em;
}

.content-subhead {
    color: rgb(90, 226, 160);
}

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

.content-head.content-head-ribbon {
    color: white;
    margin-top:0.1em;
}

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

/* Desktop - restore scroll-over effect */
@media (min-width: 48em) {
    .splash-container {
        position: fixed !important; /* Restore fixed positioning */
        height: 88%;
        top: 0;
        left: 0;
        z-index: 1;
        overflow: hidden;
        display: block; /* Reset flex */
    }
    
    .splash {
        width: 60%;
        height: 80%;
        margin: auto;
        position: absolute;
        top: 20px; 
        left: 0; 
        bottom: 0; 
        right: 0;
        padding: 0; /* Reset padding */
    }
    
    .splash-head {
        margin-top: 40px; /* on default margin-top is necessary for mobile */
    }

    .content-wrapper {
        position: absolute;
        top: 87%;
        min-height: 12%;
        z-index: 2;
    }
}

@media (min-width: 1441px) {
    .splash {
        width: 50%;
    }
}