html {
	position: relative;
	min-height: 100%;
}

body {
	background-color: #fff;
	font: 400 1.3em/1.5em 'Roboto Slab', sans-serif;
	margin: 0 0 3em;
	padding: 0;
}

header, section, footer, aside, nav, article {
	display: block;
}

header {
	height: 100px;
}

footer {
	position: absolute;
	bottom: 0;
	text-align: center;
	width: 100%;
	height: 3em;
	line-height: 3em;
	vertical-align: middle;
	border-bottom: 1em solid #000;
}

div {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
}

a {
	color: #000;
	text-decoration: none;
}

a:hover {
	color: #808080;
}

#logo {
	width: 100px;
}

#aboutFooter:hover {
	color: #808080;
}

#wrapper {
	margin: 0 auto;
	min-width: 312px;
}

#content {
	text-align: center;
	margin-top: 5%;
}

.button {
	display: inline-block;
	position: relative;
	background-image: url(button.png);
	text-indent: -99999px;
	width: 58px;
	height: 67px;
	cursor: pointer;
	opacity: 1;
	transition: opacity .3s ease;
	-webkit-transition: opacity .3s ease;
}

.button:hover {
	opacity: .5;
}

.buttonIcon {
	display: block;
	position: relative;
	top: 18px;
	left: 12px;
	border: none;
}

#linkedIn {
	left: -2px;
	bottom: 139px;
	animation: linkedInAnimation 1.5s ease;
	-webkit-animation: linkedInAnimation 1.5s ease;
}
@keyframes linkedInAnimation {
	1%		{opacity: 0; transform: rotate(180deg);}
	20%		{opacity: 1;}
}
@-webkit-keyframes linkedInAnimation {
	0%		{opacity: 0; -webkit-transform: rotate(180deg);}
	20%		{opacity: 1;}
}

#googlePlus {
	left: 32px;
	bottom: 45px;
	animation: googlePlusAnimation 1.5s ease;
	-webkit-animation: googlePlusAnimation 1.5s ease;
	-moz-animation: googlePlusAnimation 1.5s ease;
}
@keyframes googlePlusAnimation {
	1%		{opacity: 0;}
	20%		{opacity: 0; left: 61px; bottom: 139px; transform: rotate(180deg);}
	40%		{opacity: 1; left: 32px; bottom: 45px;}
}
@-webkit-keyframes googlePlusAnimation {
	0%		{opacity: 0;}
	20%		{opacity: 0; left: 61px; bottom: 139px; -webkit-transform: rotate(180deg);}
	40%		{opacity: 1; left: 32px; bottom: 45px;}
}

#email {
	left: 2px;
	bottom: -2px;
	animation: emailAnimation 1.5s ease;
	-webkit-animation: emailAnimation 1.5s ease;
	-moz-animation: emailAnimation 1.5s ease;
}
@keyframes emailAnimation {
	1%		{opacity: 0;}
	40%		{opacity: 0; left: 95px; bottom: 45px; transform: rotate(180deg);}
	60%		{opacity: 1; left: 2px;	bottom: -2px;}
}
@-webkit-keyframes emailAnimation {
	0%		{opacity: 0;}
	40%		{opacity: 0; left: 95px; bottom: 45px; -webkit-transform: rotate(180deg);}
	60%		{opacity: 1; left: 2px;	bottom: -2px;}
}

#blog {
	left: -30px;
	bottom: 45px;
	animation: blogAnimation 1.5s ease;
	-webkit-animation: blogAnimation 1.5s ease;
	-moz-animation: blogAnimation 1.5s ease;
}
@keyframes blogAnimation {
	1%		{opacity: 0;}
	60%		{opacity: 0; left: 65px; bottom: -2px; transform: rotate(180deg);}
	80%		{opacity: 1; left: -30px; bottom: 45px;}
}
@-webkit-keyframes blogAnimation {
	0%		{opacity: 0;}
	60%		{opacity: 0; left: 65px; bottom: -2px; -webkit-transform: rotate(180deg);}
	80%		{opacity: 1; left: -30px; bottom: 45px;}
}

#xing {
	left: 3px;
	bottom: 139px;
	animation: xingAnimation 1.5s ease;
	-webkit-animation: xingAnimation 1.5s ease;
	-moz-animation: xingAnimation 1.5s ease;
}
@keyframes xingAnimation {
	1%		{opacity: 0;}
	80%		{opacity: 0; left: 33px; bottom: 45px; transform: rotate(180deg);}
	100%	{opacity: 1; left: 3px; bottom: 139px;}
}
@-webkit-keyframes xingAnimation {
	0%		{opacity: 0;}
	80%		{opacity: 0; left: 33px; bottom: 45px; -webkit-transform: rotate(180deg);}
	100%	{opacity: 1; left: 3px; bottom: 139px;}
}

#about {
	background: #9F9F9F;
	overflow-y: auto;
	overflow-x: hidden;
	color: #fff;
	line-height: 1.5em;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	visibility: hidden;
	opacity: 0;
	transition: opacity .5s ease;
	-webkit-transition: opacity .5s ease;
	-moz-transition: opacity .5s ease;
}

#about a {
	color: #fff;
}

#about.show {
	opacity: 1;
	visibility: visible;
}

#menu {
	background: #000;
	overflow-y: auto;
	overflow-x: hidden;
	text-align: right;
	color: #fff;
	position: fixed;
	padding: 1em;
	height: 100%;
	top: 0;
	right: -10em;
	transition: right .5s ease;
	-webkit-transition: right .5s ease;
	-moz-transition: right .5s ease;
}

#menu.show {
	right: 0;
}

#menu a {
	color: #fff;
	text-decoration: none;
}

#menu a:hover {
	color: #808080;
}

#menu ul {
	list-style: none;
	padding: 0;
}

#menu li {
	padding: .5em .2em .5em 2em;
}

.menu-button-black {
	cursor: pointer;
	outline: none;
	padding: 0;
	width: 35px;
	height: 30px;
	border: none;
	background: url(menu.svg) no-repeat;
}

.menu-button-white {
	cursor: pointer;
	outline: none;
	padding: 0;
	width: 35px;
	height: 30px;
	border: none;
	background: url(menu-white.svg) no-repeat;
}

.menu-collapsed {
	float: right;
	padding: 1em 1em 0 0;
}

#inner {
	padding: 10% 20%;
}

#close {
	font-size: 1.5em;
	position: absolute;
	right: 25px;
	top: 20px;
}

.pointer {
	cursor: pointer;
}

@media all and (max-width: 400px), all and (max-height: 400px) {
	#content {
		margin-top: 2em;
	}
	
	header, #logo {
		height: 70px;
	}

	#inner {
		padding: 0 20px 20px;
	}
}