* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
    --ers-red: #b30020; /* Orignal red as used in logo */
    --ers-red-text: #df1236;
    --ers-dark-grey: #131316;
    --ers-light-grey: #5c5c5c;
    --ers-black: #000000;
    --ers-transparent-white: rgba(255, 255, 255, 0.9);
    --ers-transparent-black: rgba(0, 0, 0, 0.9);
    --ers-light-text: #cbcbcb;
    --ers-white-text: #f3f3f3;
    --ers-dark-text: #1d1d1d;
}

body {
    line-height: 1.7em;
    background: var(--ers-black);
    color: var(--ers-light-text);    
    font-size: 1em;
    font-family: "Roboto", sans-serif;
    padding-top: 120px;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: var(--ers-light-text);
    font-family: "Gelasio", serif;   
    font-weight: 600;
    line-height: 1.4em;
}

/* Debug grid */
/* [class*="pure-u-md-"] { 
    border:#cbcbcb 1px solid;
} */

section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glow {
    box-shadow:  0px 0px 16px 0px rgba(211, 60, 60, 0.6)
}
.svg-icon {
    color: var(--ers-red);
}

.svg-icon svg {
    width: auto;
    height: 100%;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}


.l-box {
    padding: 1em;
}

.is-center {
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center; 
}

.pure-button {
    background-color: var(--ers-red);
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background:var(--ers-red);
    color: white;
    border-radius: 5px;
    font-size: 120%;
}


.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 8px 41px var(--ers-red);
    background: var(--ers-black);
}

.pure-menu.pure-menu-fixed {
    border-bottom: none;
    z-index: 4;
}

.home-menu .pure-menu-heading {
    color: white;
    font-weight: 400;
    font-size: 120%;
}

#top-logo img {
    max-height: 80px; /* TODO: make smaller on mobile */
    width: auto;
}

.home-menu .pure-menu-selected a {
    color: white;
}

.home-menu a {
    color: var(--ers-red);
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: var(--ers-light-text);
}

#intro {
    background: url(/assets/demolition-illustration-3.png) no-repeat center center;
    background-size: cover;
    width: 100%;
    
}
#intro .content {
    padding-bottom: 4em !important;
}

strong {
    color: var(--ers-white-text);
    font-weight: 600;
}
.sparkle {
    background: url(/assets/dusty-sparkle.png) no-repeat center bottom !important;
}

.splash {
    /* background: var(--ers-black); */
    text-align: center;
    padding: 4em 1em 3em;
}

#splash-logo {
    max-height: 180px;
    width: auto;
}

.splash-icons {
    flex-flow: row;
}

.splash-icon {
    height: auto;
    width: 70%;
    max-width: 100px;
    
    border-radius: 50%;
    border:transparent 0px solid;
}

.splash-subhead {
    color: white;
    letter-spacing: 0.05em;
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1.4em;
    margin-top: 40px;
    font-family: "Gelasio", serif;
}

.content {
    padding: 2em 1em 3em;
    background: var(--ers-transparent-black);
    display: flex;
    justify-content: space-around;
    width: 100%;    
}

.no-bg {
    background: none;
}

.content-head {
    text-transform: uppercase;
    letter-spacing: 0.1em;    
    color: var(--ers-red-text);    
}

.content-head-ribbon {
    color: white;
}

.content-head-ribbon span {
    color: var(--ers-red-text);
}

.content-subhead {
    color: var(--ers-red);
    text-align: center;
    padding-top:20px;
}
    .content-subhead h3{
        color: inherit;
    }
    .content-subhead .svg-icon {
        height: 200px;
    }

.ribbon {
    background: var(--ers-dark-grey);
    color: var(--ers-light-text);
}

.footer {
    background: var(--ers-dark-grey);
    color: var(--ers-light-text);
    width: 100%;
}

.profile {
    text-align: center;
    padding: 1em;
}

.profile-name {
    color: var(--ers-white-text);
    font-size: 1.2em;
    font-weight: 600;
}

.profile-title {
    margin-bottom: 8px; 
}

.profile-details {
    margin-top: 1em;
}

.profile-meta {
    margin: 0;
}

.profile-meta-row {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.profile-meta-row dt {
    margin: 0;
    font-weight: 600;
    color: var(--ers-white-text);
}

.profile-meta-row dd {
    margin: 0;
}

.profile-meta-row i.fa {
    margin-right: 0.4em;
    color: var(--ers-red);
}

.profile a {
    color: var(--ers-light-text);
}

.profile a:hover,
.profile a:focus {
    color: var(--ers-red);
}

.profile-img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    background: #545454;
    background: linear-gradient(103deg, rgb(59, 8, 8) 0%, rgb(0, 0, 0) 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;
        }

    .splash {
        padding: 5em 2em 4em;
    }


    /* 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 screen and (min-width: 64em) {
    .pure-u-lg-3-5 {
        width: 50%;
    }    
} */