html {
    font-size: 62.5%;
    text-rendering: optimizelegibility;
}

body {
    color: #fff;
    background: #2e3440; 
    margin: 1em auto;
    padding: 1em;
    max-width: 50em;

    font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
}

.main {
    background-color: #3b4252;
    margin: 1em auto;
    padding: 1em;
}

.header {
    background-color: #3b4252;
    padding: 1em;
    border-radius: 5px 5px 0px 0px;
}

.footer {
    background-color: #3b4252;
    text-align: center;
    font-size: 1em;
    border-radius: 0px 0px 5px 5px;
}

.nav {
    font-size:1em;
}

a {
    color:#418FDE;
    text-decoration:none;
}

a:hover, .active-page {
    color:#fff;
}

img {
    width: 100%;
    height: auto; 
    align-items: center;
}

li {
    margin: 0.3em auto;
    list-style-type: none;
}

h3 {
    text-decoration: overline;
}

pre, .highlight pre {
    overflow: scroll;
}

article {
    font-size: 1.6rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }
  th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
  }
  th {
    background-color: #4c566a;
  }

.actions-pagination {
    display: flex;
    flex-direction: row-reverse;
    list-style: none;
    padding: 0;
}

.action-previous, .action-next {
    display: flex;
    align-items: center;
}

.action-previous > span {
    padding: 3.14px;
} 
.action-next > span {
    padding: 3.14px;
}

.post {
    font-size: 1.5rem;
    line-height: 1.5;
}

.post .date {
    color: #9ec1eb;
}

/* Adapted from https://kyusuf.com/post/completely-css-tabs/ */
.tabs {
	display: flex;
	flex-wrap: wrap;
	max-width: 700px;
}

.input {
	position: absolute;
	opacity: 0;
}

.label {
	width: auto;
	padding: 5px 12px;
    margin: 5px;
	cursor: pointer;
	font-weight: bold;
	font-size: 18px;
	color: #5e81ac;
	transition: background 0.1s, color 0.1s;
}

.label:hover {
	background: #eceff4;
}

.label:active {
	background: #5e81ac;
}

.input:focus + .label {
	box-shadow: inset 0px 0px 0px 3px #000;
	z-index: 1;
}

.input:checked + .label {
	background: #eceff4;
	color: #5e81ac;
}

.panel {
	display: none;
    margin-top: 20px;
    order: 99;
}

.input:checked + .label + .panel {
	display: block;
}