body, div, h1, h2, p, ul, li, img {
	margin: 0; padding: 0; border: 0;
}

html, html a {
	-webkit-font-smoothing: antialiased;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

body {
	background: #efefef;
	font-family: 'Open Sans', sans-serif;
	color: #8d8e92;
	font-size: normal;
}

h1, a.contact {
	font-family: 'Open Sans', sans-serif;
}

.container {
	width: 90%;
	margin: 5% auto;
	text-align: center;
}

h1 {
	color: #333;
	font-size: 2em;
	margin-bottom: .2em;
	text-transform: uppercase;
}

h2 {
	font-family: 'Open Sans', sans-serif;
	color: #6c6c70;
	border-bottom: 2px solid #6c6c70;
	padding-bottom: .15em;
}

p {
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	line-height: 1.6;
}

p a {
	font-family: 'Open Sans', sans-serif;
	color: #6c6c70;
	border-bottom: 2px solid #6c6c70;
	padding-bottom: .15em;
}

#socials {
	list-style: none;
	margin-top: 0;
	margin-bottom: 2em;
}

#socials:after {
	display: table;
	clear: both;
	content: '';
}

#socials li {
	margin-right: 20px;
	display: inline-block;
}

#socials li:last-child {
	margin-right: 0;
}

#socials li a {
	position: relative;
	font: 0/0 a;
	color: transparent;
	width: 32px;
	height: 32px;
	display: inline-block;
	background: transparent url(../img/socials.png) no-repeat -8px -8px;
}

#socials li a.twitter {
	background-position: -56px -8px;
}

#socials li a.dribbble {
	background-position: -104px -8px;
}


/* --------------------------------

Dribbble portfolio

-------------------------------- */

#portfolio {
	list-style: none;
	margin-top: 2em;
}

#portfolio li {
	display: inline-block;
	width: 100%;
	margin-bottom: 1em;
}

#portfolio li img {
	border-radius: 5px;
}

a.contact {
	color: #fff;
	background: #50869b;
	text-decoration: none;
	font-size: 1.2em;
	text-transform: uppercase;
	font-weight: bold;
	border-radius: 5px;
	display: inline-block;
	width: 200px;
	height: 50px;
	line-height: 50px;
	margin-top: 1em;
}

/* --------------------------------

Tablet

-------------------------------- */


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

.container {
	margin: 10% auto;
}

h1 {
	font-size: 3em;
}

#portfolio {
	margin-left: -80px;
	margin-top: 3em;
}

#portfolio li {
	width: 50%;
	margin-bottom: 60px;
	margin-right: -80px;
}

p {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.4em;
	line-height: 1.6;
	margin-bottom: 1em;
}

a.contact {
	background: transparent;
	border-radius: 0;
	width: auto;
	height: auto;
	display: inline;
	color: #50869b;
	text-decoration: none;
	font-size: 2em;
	text-transform: uppercase;
	border-bottom: 2px solid #50869b;
	font-weight: bold;
	padding-bottom: 8px;
}

}

/* --------------------------------

Desktop

-------------------------------- */


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

.container {
	width: 900px;
	margin: 5% auto;
}

h1 {
	font-size: 5em;
}

p {
	font-size: 1.6em;
}

p a {
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

p a:hover {
	color: #333;
	border-bottom-color: #333;
}

#socials {
	margin-top: 0;
}

#portfolio {
	margin-left: 0;
	margin-top: 4em;
	margin-bottom: 2em;
}

#portfolio li {
	width: 25%;
	margin-bottom: 0;
	margin-right: 0;
}

#portfolio li img:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	opacity: .8;
}

a.contact {
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

a.contact:hover {
	border-bottom: 0;
	color: #333;
	border-bottom: 2px solid #333;
	/*padding-bottom: 6px;*/
}

#socials li a {
	-webkit-transition: all .3s ease;
	   -moz-transition: all .3s ease;
	    -ms-transition: all .3s ease;
	     -o-transition: all .3s ease;
	        transition: all .3s ease;
}

#socials li a:hover {
	border-bottom: 2px solid #333;
	padding-bottom: 20px;
}

}
