html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #0a0a0a;
  border: 0;
  color: #fff;
  font-family: 'Hack', monospace;
}

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

p {
  color: #eee;
}

article a {
  text-decoration: underline;
} 

article a:hover {
  text-decoration: none;
  background-color: #eee;
  color: #0a0a0a;
}

/* --- General Document style --- */
.wrapper {
  max-width: 640px;
  width: 90%;
  margin: 0 auto 45px auto;
  padding: 0;
}

.wrapper img {
  max-width: 100%;
}

/* --- Index Styling --- */
.post_listed {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: nowrap;
}

.post_date_container {
  flex: 1;
}

.post_title_container {
  flex: 5;
}

.post_listed .title {
  text-align: left;
  display: inline-block;
  font-size: 1.2rem;
  padding: 0;
  margin: 0;
  color: #eee;
}

.post_listed .title:hover {
  background-color: #eee;
  color: #0a0a0a;
  text-overflow: ellipsis;
}

.post_listed .post_time {
  color: #bcbcbc;
  margin-right: 10px;
  display: inline-block;
  font-size: 1.1rem;
}

.post_listed .description {
  font-size: 1.1rem;
  color: #777;
}

.post_listed .post_link {
  display: none;
}

/* --- Header Styling --- */ 
.header_main {
  margin: 45px auto 35px auto;
  width: 100%;
}

.header_main a {
  text-decoration: none;
  display: inline-block;
}

.header_title {
  display: inline-block;
  text-align: left;
  text-decoration: none;
  margin: 0px auto;
  padding: 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

nav {
  display: inline-block;
  margin-top: 3px;
}

nav#main {
  text-align: left;
}

nav a {
  color: #eee;
  text-decoration: none;
  padding-left: 6px;
  padding-right: 6px;
  font-size: 1.1rem;
}

nav a:first-of-type {
  padding-left: 0px;
  padding-right: 0;
}

nav a:visited {
  color: #eee; 
  text-decoration: none;
}

nav a:hover {
  text-decoration: none;
  color: #0a0a0a;
  background-color: #eee;
}

/* --- Post Titling --- */

.title_wrapper {
  width: 90%;
  margin: 5px auto 25px auto;
}

.title_wrapper .title {
  font-size: 2rem;
  display: block;
  line-height: 3rem;
  text-align: center;
  align-content: center;
  width: 100%;
  color: #fff;
  padding: 0;
  margin-bottom: 10px;
  font-weight: normal;
}

.single_time {
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  color: #999;
}

.title_wrapper .meta:hover {
  color: #fff;
  text-decoration: none;
}

/* --- Post Content --- */

.post {
  font-family: 'Hack', monospace;
  font-size: 1.25rem;
}

.post p {
  margin-bottom: 30px;
  line-height: 1.75rem;
}

.post ul li {
  line-height: 1.75rem;
}

.post h2 {
  font-size: 1.5rem;
}

.toc_header {
  margin-bottom: 0;
}

.nothere {
  text-decoration: none;
  cursor: initial;
  color: #eee;
}

.nothere:hover {
  text-decoration: none;
  cursor: initial;
  color: #eee;
}

.linked-title {
  text-decoration: none;
  height: 1rem;

}

.linked-title:hover {
  text-decoration: underline;
}

.external_link {
  width: 0.7rem;
  height: 0.7rem;
  display: inline-block;
  margin-left: 4px;
  margin-bottom: 1px;
}

/* --- Table of Contents --- */
#TableOfContents ul li a {
  text-decoration: underline;
}

#TableOfContents ul li a:hover {
  text-decoration: underline;
}

#TableOfContents ul li {
  margin-top: 10px;
}

/* --- Post Tags --- */
.post-tags {
  text-align: center;
}

.tags {
  display: block;
  list-style: none;
  text-align: center;
  margin: 15px auto;
}

.tags li {
  margin-right: 7px;
  list-style: none;
  display: inline-block;
}

.tags li a {
  line-height: 20px;
  border-radius: 3px;
  text-decoration: none;
  float: left;
  background-color: #000;
  color: #fff;
  padding: 3px 6px 3px 6px;
  font-size: 1.3rem;
  text-transform: uppercase;
}

/* --- Page Footer --- */

/* --- Post Footer --- */

.post_footer {
  display: inline-block;
  width: 100%;
}

.post_footer hr,
.post_footer {
  margin-bottom: 25px;
}

.post_footer_wrapper {
  max-width: 320px;
  margin: 0 auto;
  padding: 0;
}

.footer_icon {
  display: inline;
  float: left;
}

.footer_author {
  font-size: 1.4rem;
  color: #fff;
  display: inline-block;
  margin-top: 15px;
}

.footer_desc {
  font-size: 1.3rem;
  color: #eee;
  margin-top: 2px;
  margin-bottom: 2px;
  white-space: nowrap;
}

.footer_links {
  margin-top: 5px;
  display: block;
}

.footer_link {
  margin: 0;
  padding-right: 3px;
  font-size: 1.2rem;
}

.footer_link:first-child {
  margin-left: 0px;
  padding-left: 0px;
}

footer {
  width: 100%;
  margin-top: 35px;
  text-align: center;
}

footer .footer_msg {
  font-size: 1.2rem;
  color: #8a8a8a;
  text-align: center;
}

footer .footer_rss {
  font-size: 1.2rem;
  color: #5a5a5a;
  padding-left: 10px;
  padding-right: 10px;
}

footer .footer_rss:hover {
  background-color: #eee;
  color: #0a0a0a;
}

/* --- Pagination --- */

.pagination {
  display: inline-block;
  width: 100%;
  margin: 25px auto;
  padding: 0;
}

.page-link {
  font-size: 1.2rem;
  display: inline-block;
  color: #eee;
}

.page-link:hover {
  color: #0a0a0a;
  background-color: #eee;
}

.page-prev {
  float: left;
}

.page-next {
  float: right;
}

/* --- Table styling --- */
table {
  border-collapse: collapse;
}

table, th, td {
  border: 1px solid #eee;
}

/* --- FAQ Styling --- */
.menu_content li {
  margin-top: 10px;
}

/* --- Code Styling --- */
pre {
  font-size: 1.3rem;
  overflow: scroll;
  padding: 10px;
}

/* --- Selection / Highlight Colors --- */
p.::selectiton,
p.::-moz-selection,
::selection,
::-moz-selection, 
::-o-selection,
::-ms-selection, 
::-webkit-selection {
  background: #eee;
  color: #0a0a0a;
}

/* --- Custom Menu Hider (used in FAQ) --- */
.menu_label {
	cursor: pointer;
	color: #eee;
	font-size: 1.5rem !important;
}

.menu_label:hover {
	text-decoration: underline;
}

.menu_trigger, .menu_content {
	display: none;
}

.menu_trigger:checked ~ .menu_content{
	display: block;
}

.menu_trigger + .menu_label::after {
 content: " \25BC";
}

.menu_trigger:checked + .menu_label::after {
  content: " \25B2";
}

/*!
 *  Hack typeface https://github.com/source-foundry/Hack
 *  License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md
 */
/* FONT PATHS
 * -------------------------- */
@font-face {
  font-family: 'Hack';
  src: url('fonts/hack-regular-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-regular-subset.woff?sha=3114f1256') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Hack';
  src: url('fonts/hack-bold-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bold-subset.woff?sha=3114f1256') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Hack';
  src: url('fonts/hack-italic-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-italic-webfont.woff?sha=3114f1256') format('woff');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Hack';
  src: url('fonts/hack-bolditalic-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bolditalic-subset.woff?sha=3114f1256') format('woff');
  font-weight: 700;
  font-style: italic;
}




