@keyframes floating {
  0% {
    margin-top: -6em;
	margin-bottom: 6em;
  }

  50% {
    margin-top: -5em;
	margin-bottom: 5em;
  }

  100% {
    margin-top: -6em;
	margin-bottom: 6em;
  }
}

html {}
body {
	margin: 0;
	padding: 0;
	overflow: auto;
	background: #050505 url(images/lightstripe.png) repeat;
	font-family: 'Helvetica', 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #5B5B5B;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	font-family: 'Archivo Narrow', sans-serif;
	font-weight: normal;
	font-weight: 200;
	color: #222222;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 2.2em;
}

h3 {
	font-size: 1.6em;
	margin-top: 1em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 180%;
}

ul, ol {
}

a {
	color: #54C7B8;
	text-decoration: none;
	transition: 0.2s ease-in color;
}

a:hover {
	text-decoration: none;
	color: #455269;
}

img { border: 0; }

b, strong { font-weight: 700; }

blockquote { margin: 1em; padding-left: 1em; border-left: 3px solid #455269; font-family: Georgia, sans-serif; font-style: italic; }

textarea { resize: none; height: 100px; }

input, button, textarea {
	display: block;
	box-sizing: border-box;
	font: 14px open-sans, 'Segoe UI', sans-serif;
	box-shadow: 0 0 0.4em #f0f0f0;
	border: 1px solid #b6b6b6;
	background-color: #FFF;
	margin: 0 0 0.4em 0;
	padding: 0.6em 10px;
	width: 100%;

	transition: 0.25s ease-in background;
}
input[type="checkbox"] { width: auto; display: inline-block; vertical-align: middle; }

div.cke { margin-bottom: 0.4em; }

.container {
	width: 1000px;
	margin: 0px auto;
}

/* Header */
#floating-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 1; }

#header-wrapper {
	display: table;
	overflow: hidden;
	height: 100vh;
	width: 100%;
	background-image: url(images/record.jpg);
	background-size: cover;
	background-position: center center;
	color: #FFFFFF;
}

#header {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 0px 0px;
	/*background: rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0px 0px 60em rgba(0,0,0,0.8);
	-moz-box-shadow:    inset 0px 0px 60em rgba(0,0,0,0.8);
	box-shadow:         inset 0px 0px 60em rgba(0,0,0,0.8);*/
	background: rgba(0,0,0,0.68);
}
#header-wrapper.dim #header { background: rgba(0,0,0,0.68); }

#miniprofile {
	display: block;
	position: absolute;
	top: 2em;
	left: 2em;
	padding: 0.5em 1em 0.5em 0.5em;
	background: rgba(0,0,0,0.8);
	border-radius: 2em;
	color: #FFFFFF;
}
#miniprofile * { display: inline-block; vertical-align: middle; }
#miniprofile img { height: 2em; border-radius: 1em; margin-right: 0.5em; }

/* Logo */

#logo {
	margin: 0;
	padding: 10px 0;
}

#logo h1 {
	text-transform: lowercase;
	letter-spacing: -2px;
	font-size: 3.8em;
	text-shadow: 1px 1px 1px #000;
	color: inherit;
}

#logo h1 a {
	color: inherit;
	cursor: url(images/trollface.png), auto;
}

#logo p {
	margin: 0;
	padding: 0px 0 0 0px;
	letter-spacing: -1px;
	font: normal 1.1em Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	color: #C6C6C6;
}

#logo p a { color: inherit; border-bottom: 1px dotted; }

#logo a {
	border: none;
	background: none;
	text-decoration: none;
	color: inherit;
}

/* Menu */

#menu {
	height: 50px;
	margin: 0 auto;
	padding: 0;
}

#menu ul {
	margin: 0;
	padding: 20px 0px 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li { display: inline-block; }

#menu a {
	display: block;
	line-height: 38px;
	margin-right: 0.4em;
	padding: 2px 20px 0px 20px;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 2em;
	text-decoration: none;
	text-align: center;
	text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #C6C6C6;
}
#menu ul li:last-child a { margin-right: 0; }

#menu a:hover, #menu a.active {
	background: rgba(0,0,0,0.8);
	border-color: #000000;
	text-decoration: none;
	color: #FFFFFF;
}

#menu a.active { }
#tags { margin: 10em 0 -10em 0; }

#tags ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#tags li { display: inline-block; }

#tags li a:before { display: inline-block; content: '#'; }
#tags li a { color: #c7c7c7; margin-right: 0.8em; }
#tags li a:hover { color: #FFFFFF; }
#tags li:last-child a { margin-right: 0; }
#tags span { display: none; }

#arrowDown {
	display: block;
	margin: -6em auto 6em auto;
	width: 2.5em;
	height: 2.5em;
	background: url(images/arrowDown.svg) center center no-repeat;
	background-size: cover;
	animation-duration: 2s;
	animation-name: floating;
	animation-iteration-count: infinite;
	opacity: 0.4;
}
#arrowDown:hover { opacity: 1; }


/* Page */

#page {
	width: 1000px;
	margin: 102vh auto 0 auto;
	padding: 10px 0px;
}

/* Content */

#content { padding: 0px 0px 0px 0px; }

article {
	overflow: hidden;
	padding: 20px;
	margin-bottom: 40px;
	border: 1px solid #E7EBED;
	border-radius: 8px;
	background: #FFF;
}
article.pinned { margin-bottom: 60px; background-color: #F4F3F4; }

article h2 {
	padding: 7px 0px 0px 0px;
	letter-spacing: -1px;
}

article h2 a {
	border: none;
	text-decoration: none;
	color: #222222;
}

article .meta {
	padding: 10px 0px;
	text-align: center;
	font-size: 13px;
	font-weight: 300;
	color: #54C7B8;
}

article .meta a {
	margin-left: 18px;
	text-decoration: none;
}
article .meta a:first-child { margin-left: 0; }
article .content { text-align: justify; }

article .content button {
	background-color: #FAFAFA;
	color: #3D3D3A;
	border: 0;
	box-shadow: none;
	cursor: pointer;

	transition: 0.25s ease-in background-color;
}
article .content button:hover { background-color: #F8F8F8; }


article .content .spoiler_c {
	padding: 0.4em 0;

	border-top: 1px dotted #3D3D3A;
	border-bottom: 1px dotted #3D3D3A;
}

article.tweet {
	border: 0;
	border-top: 1px solid #E7EBED;
	border-bottom: 1px solid #E7EBED;
	border-radius: 0;
	padding: 6px 20px 0px 20px;
}
article.tweet .meta { display: none; }
article.tweet .content { text-align: right; }
article.tweet .content p.readmore { display: none; }

p.paginator a { margin-right: 2em; }
p.paginator a:last-child { margin-right: 0; }


.links {
	padding-top: 20px;
	margin-bottom: 30px;
}

.more {
	display: block;
	float: left;
	width: 88px;
	padding: 5px 5px;
	margin-right: 10px;
	background: #222222;
	border-radius: 8px;
	color: #FFFFFF;
	text-align: center;
	text-decoration: none;
}

.comments {
	display: block;
	float: left;
	width: 88px;
	padding: 5px 5px;
	background: #222222;
	color: #FFFFFF;
	border-radius: 8px;
	text-align: center;
	text-decoration: none;
}


/* Footer */

#footer {
	display: block;
	margin: 0 auto;
	padding: 50px 0 15px 0;
}

#footer-account { text-align: center; font-size: 120%; }

#footer-account input {
	display: inline-block;
	min-width: 160px;
	width: 10%;
	max-width: 300px;
	text-align: center;
}

#footer-account ul { list-style: none; }
#footer-account li { display: inline-block; margin: 0 1em; }

#footer p {
	margin: 0;
	padding-top: 10px;
	letter-spacing: 1px;
	line-height: normal;
	font-size: 14px;
	text-align: center;
	color: #5E5E5E;
}

#footer a {
	color: #5E5E5E;
}


/* Scroll up */
#scroll-up {
	position: fixed;
	display: block;
	bottom: 2em;
	right: 2em;
	width: 4em;
	height: 4em;
	background: #263238 url(images/arrowDown.svg) center center no-repeat;
	background-size: 60%;
	border-radius: 2em;
	box-shadow: 0 0 0.4em #000;
	transform: rotate(180deg);
	opacity: 0.4;
	z-index: 0;
}
#scroll-up:hover { opacity: 1; }


/* Profile */
#content div.profile p,
#content div.profile h2 { margin: 0; padding: 6px; }

div.profile div.box {
	float: left;
	box-shadow: 0 0 0.4em #dbdbdb;
	background-color: #f5f5f5;
	margin: 10px 0;
}

div.box { width: 400px; min-height: 100px; border-left: 4px solid #7ad03a; }
div.box.recent { text-transform: uppercase; }
div.box.contact { border-left-color: #52accc; }
div.box.introduction { border-left-color: #dd823b; width: 100%; }

#profile_pic {
	float: left;
	width: 316px;
	height: 316px;
	background-size: cover;
	border-radius: 0.4em;
	margin: 10px 20px 10px 0;
	text-align: center;
}

#profile_pic button {
	display: inline-block;
	width: 48%;
	border: 0;
	margin: 0;
	box-shadow: none;
	background-color: #7ad03a;
	opacity: 0;

	transition: 0.25s ease-in opacity;
}
#profile_pic:hover button { opacity: 1; }


/* DESIGNED TABLE */
table.designed,
table.pro {
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #FFF;
	border: 1px solid #f2f2f2;
	border-spacing: 0;
	border-collapse: collapse;
}

table button { padding: 0.2em; margin: 0; width: 120px; }

table.designed td { padding: 0.4em; }
table.designed tr:nth-child(2n+0) { background: #eaeaea; }
table.designed tr:first-child { background: #202434; color: #FFF; font-weight: bold; }
table.designed tr td:first-child { font-weight: bold; }

table.pro td { padding: 0.4em; }
table.pro tr:nth-child(2n+0) { background: #eaeaea; }

table.pro tr td:last-child { text-align: right; }


/* Infobars */
p.phantom {
	padding: 1em 0;
	text-align: center;
	background: rgba(0,0,0,0.2);
}
a p.phantom:hover { background: rgba(0,0,0,0.4); color: #fff; }

#errors, #infos {
	background-color: #ff0000;
	color: #FFF;
	text-align: center;
	margin-bottom: 1em;
}
#infos { background-color: #fffed9; color: #222222; }
#errors ul, #infos ul { margin: 0; padding: 0; }
#errors li, #infos li { margin: 0; padding: 0.5em 0; list-style: none; }


/* Typicons */
article p.meta a:before,
article p.meta time:before,
p.paginator a:before { font: 16px typicons; padding-right: 0.2em; }

article p.meta time:before { content: '\e120'; }
article p.meta a.by:before { content: '\e12c'; }
article p.meta a.pin:before { content: '\e0c9'; }
article p.meta span.admin a.edit:before { content: '\e067';  }
article p.meta span.admin a.delete:before  { content: '\e058'; }

p.paginator a.prev:before { content: '\e047'; }
p.paginator a.next:before { content: '\e048'; }


/* EXTRA LAYOUT for SMALL SHITS */
body.tinyscreen { font-size: 120%; }

body.tinyscreen button { font-size: 140%; }

body.tinyscreen #logo p { font-size: 160%; }

body.tinyscreen #header,
body.tinyscreen #page { width: 100%; }

body.tinyscreen #menu li a { font-size: 170%; font-weight: bold; margin-top: 1em; line-height: 80px; }
body.tinyscreen #tags li { font-size: 130%; margin-top: 1em; }

body.tinyscreen #content { float: none; width: 100%; }
body.tinyscreen #sidebar { float: none; width: 100%; }

body.tinyscreen article .content { font-weight: normal; font-size: 90%; }
body.tinyscreen article .meta { font-weight: normal; font-size: 70%; }
body.tinyscreen article img { width: 100%; }

body.tinyscreen article p.meta a:before,
body.tinyscreen article p.meta time:before { font-size: 150%; }

body.tinyscreen section { padding: 0 1em !important; }

body.tinyscreen iframe.youtube { height: 500px !important; }

body.tinyscreen #sidebar li li { font-size: 135%; padding: 1em; }
body.tinyscreen #sidebar li li span { font-size: 70%; padding: 0.6em; }
