@import 'https://fonts.googleapis.com/css?family=Raleway|Crimson+Text|Open+Sans';
body {
    z-index:500;
    max-width: 960px;
    font-family: 'Crimson Text';
    margin: 0 auto;
    font-size: 1.2em;
}

header h1, h3 {
    font-family: 'Raleway', sans;
}
header h1 {
    font-size: 3em;
    text-align:center;
}
h3 {
    font-size: 1.5em;
}
main section {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-around;
}

main section div {
    color:white;
    background-color:black;
    margin: 0.5em;
    padding: 1em;
}

#contact-details ul {
    list-style:none;
    padding: 0px;
}
#contact-details ul li {
    padding:0.5em;
    padding-left: 30px;
}
a {
    color: #0095dd;
    text-decoration:none;
}
a:hover {
    color:white;
    background-color: #0095dd;
}
#contact-details li#email {
    background: url("images/email.png") 0px center no-repeat;
}
#contact-details li#facebook {
    background: url("images/facebook.png") 0px center no-repeat;
}
#contact-details li#github {
    background: url("images/github.png") 0px center no-repeat;
}
#contact-details li#address {
    background: url("images/address.png") 0px center no-repeat;
}
#contact-details li#resume {
    background: url("images/resume.png") 0px center no-repeat;
}
#contact-details li#linkedin {
    background: url("images/linkedin.png") 0px center no-repeat;
}

#cool-stuff dt {
    padding-bottom:0.1em
}
#cool-stuff dd {
    padding-bottom: 0.5em;
}
aside {
    display:none;
}

@media only screen and (min-width:960px) {
    header h1 {
	text-align:left;
    }
    main section {
	flex-flow: row nowrap;
    }
    main section div{
	width: 48%; /* update: prev value 28 */
	padding: 2%
    }
    aside {
	display:block;
	font-family: monospace;
	position: absolute;
	bottom:0px;
	right:0px;
    }
    aside a {
	color:blue;
    }
}
