*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
 }

body {
	background: blue;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	 -webkit-font-smoothing: antialiased;
	  font-smoothing: antialiased;
	  font-size: 100%;
	letter-spacing: .04em;
	line-height: 1.4;
}

header, footer, section {
	padding: 0 20px;
}

section {
	padding: 20px;
}

.inner {
	max-width: 600px;
	margin: 0 auto;
}

a, a:visited {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid #fff;
}

p a:hover, dl a:hover {
background: yellow;
color: blue;
border: 0;

}

h1 {
	text-align: center;
	margin-bottom: .5em;
}

h1 a {
	border: 0;
}

nav ul {
	padding: 0;
}

nav li {
	margin-bottom: 5px;
}

nav a, a.top {
	display: block;
	padding: 10px 20px;
	border: 3px solid #fff;
	text-align: center;
	font-size: .9em;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 700;
	-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}

nav a:hover, a.top:hover {
	background: #fff;
	color: blue;
}

a.top {
	margin-top: 3em;
}

h2 {
	text-align: center;
}

#intro {
	text-align: center;

}

#about, #projects {
	background: red;
}
		
#about {
	/* background: red; */
}

#about dl {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	padding: 2em 1em;
	margin: 2em 0;
}


dt {
	font-weight: 700;
	text-transform: uppercase;
}

dd {
	margin: .5em 0 .5em 1.5em;
	display: list-item;
	
}

#about img {
	max-width: 80%;
	height: auto;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	margin: 1em auto 2em;
	display: block;
}

footer {
	text-align: center;
	margin: 2em 0;
}

footer a {
	display: inline-block;
	border: 0;
	position: relative;
	margin: 0 5px;
	text-align: center;
	font-size: 1.5em;
}

footer span {
	position: absolute;
	top: -1.2em;
	font-size: 35%;
	-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;

	opacity: 0;
}

footer a:hover {
	color: yellow;
}



@media screen and (min-width: 768px) {

	body {
		margin: 0;
	}

	h1 {
		font-size: 3em;
	}
	
	h2 {
		font-size: 2em;
	}

	footer a {
	
		font-size: 2.5em;
	
		margin: 0 15px;
}

	section {
		padding: 200px 0 6em;
		border-bottom: 0;
	}

	#projects {
		padding-bottom: 3em;
	}
	
	#intro {
		position: relative;
	}
	
	#intro div {
		position: absolute;
		width: 100%;
		top: 42%;
	}

	header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 2;
	}

	nav {
		text-align: center;
	}

	nav li {
		display: inline-block;
		margin: 0 5px;
	}
	
	footer a:hover span {
		opacity: 1;
	}

}