/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    font:normal 62.5% sans-serif;
    width:80%;
    margin:50px auto;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
}
html {
	background:#efefef;
	cursor:default;
	color: #555;
}
h1, h2, h3, p.intro {
    text-rendering: optimizeLegibility;
}
a {
    text-decoration:none;
}
header {
    margin-bottom: 5px;
}

header h1{
    margin: 0;
    text-align:right;
    margin-right:1em;
	font-size: 4em;
	font-family: 'DM Sans', sans-serif;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
}

#content {
    border-top:2px solid #a00;
    border-bottom:2px solid #a00;
}

#content .centered {
    text-align: center;
    margin: 3em auto 1.5em;
    font-size: 5em;
}

#content .centered a {
    color: #000;
    text-decoration: none;

    border-bottom: 1px solid rgba(100, 100, 100, 0);
    transition: border 500ms ease;
}

#content .centered a:hover {
    border-bottom-color: rgba(100, 100, 100, 1);
}

#content .blurb {
    text-align: center;
    margin: 0 auto 3em;
    max-width: 600px;
    font-size: 1.8em;
    line-height: 1.6;
}

#content .blurb a {
    color: #a00;
    text-decoration: none;
    border-bottom: 1px solid rgba(170, 0, 0, 0);
    transition: border 500ms ease;
}

#content .blurb a:hover {
    border-bottom-color: rgba(170, 0, 0, 1);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 500px) {
    header h1 {
        font-size: 3.5em;
        text-align: center;
    }
}
