*, *:before, *:after
{
	box-sizing: inherit;
}

html
{
	box-sizing: border-box;
	color: #999999;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	height: 100%;
}

body
{
	background: #000000 url("../images/background.jpg") no-repeat fixed top;
	background-size: contain;
	height: 100%;
}

@media screen and (max-width: 1212px)
{
	body
	{
		background-size: 1212px 392px;
	}
}

h1, h2, h3
{
	margin: 0;
	margin-bottom: .8em;
}

p
{
	margin: 0;
	margin-bottom: 1em;
}

header
{
	background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,1) 100%);
	height: auto;
	min-height: 360px;
	min-width: 320px;
	padding-top: 80px;
	padding-bottom: 40px;
	position: relative;
	text-align: center;
}

header img
{
	width: 100%;
	max-width: 240px;
}

.links
{
	bottom: 0;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 100%;
}

.links .link
{
	color: #555555;
	margin-bottom: 10px;
	text-align: center;
	text-decoration: none;
	width: 80px;
}

.links .link:hover
{
	color: #1673b4;
}

.links .link .image
{
	display: inline-block;
	height: 40px;
	width: 40px;
}

.links .link .fab
{
	font-size: 40px;
}

@media screen and (max-width: 660px)
{
	.links.flex-container
	{
		width: calc(100% - 20px);

		justify-content: space-around;
		align-content: center;
		align-items: center;

	}

	.links .link
	{
		margin-bottom: 0px;
		width: 40px;
	}

	.links .link .image
	{
		height: 30px;
		width: 30px;
	}

	.links .link .fab
	{
		font-size: 30px;
	}
}

.links .link .image.peepeth
{
	background: url("../images/peepeth-gray.png") no-repeat center;
	background-size: contain;
}

.links .link .image.steemit
{
	background: url("../images/steemit-gray.png") no-repeat center;
	background-size: contain;
}

.links .link .label
{
	color: #1673b4;
	display: block;
	margin-top: 2px;
	opacity: 0;
}

.links .link:hover .image.peepeth
{
	background: url("../images/peepeth-hover.png") no-repeat center;
}

.links .link:hover .image.steemit
{
	background: url("../images/steemit-hover.png") no-repeat center;
}

.links .link:hover .label
{
	opacity: 1;
}

#main-content
{
	background: #141d26;
	min-width: 320px;
	min-height: calc(100% - 360px);
}

section.recent
{
	padding: 20px 20px 50px 20px;
	margin: 0 auto 0 auto;
	max-width: 860px;
}

section.recent article
{
	background: #1b2836;
	border-radius: 10px;
	padding: 20px;
	position: relative;
}

section.recent article .date
{
	display: none;
	font-size: .7em;
	font-weight: normal;
	position: absolute;
	right: 20px;
	top: 20px;
}

section.recent article .tag
{
	border-radius: 10px;
	color: white;
	font-size: .6em;
	margin-left: 10px;
	padding: 2px 8px 2px 8px;
	/*text-transform: uppercase;*/
}

section.recent article .tag.comic
{
	background: #28a745;
}

section.recent article .media img
{
	max-width: 100%;
}

footer
{
	background: #1b2836;
	padding: 20px;
	text-align: center;
}





/* Source: http://the-echoplex.net/flexyboxes/ */
.flex-container
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center;
	align-items: center;
}

.flex-item
{
	order: 0;
	flex: 0 1 auto;
	align-self: auto;
}
