:root {
  --serif: 'Palatino Linotype', 'Palatino', 'URW Palladio L', serif;
}

* , *:before, *:after { 
  box-sizing:border-box; 
  -moz-box-sizing:border-box; 
  -webkit-box-sizing:border-box; 
  -ms-box-sizing:border-box;
}

html, body {
  height: 100%;
  max-width: 100%;
  margin: 0;
}

body {
  font-family: sans-serif;
  background-color: var(--base00);
  color: var(--base05);
}

h1, h2, h3 {
  font-family: var(--serif);
}

h1 {
  font-size: xx-large;
}

h3 {
  font-size: large;
  font-style: italic;
}

h2 {
  font-weight: lighter;
  font-style: italic;
  font-size: x-large;
}

header {
  height: 100%;
  width: 100%;
  display: table;
  text-align: center;

  background-color: var(--base01);
  color: var(--base04);
}

.half {
  height: 50%;
}

header .container {
  display: table-cell;
  width: 100%;
  vertical-align: middle;
}

header .container .content {
  display: inline-block;
  min-width: 75%;
  text-align: left;
  padding: 1em;
}

main {
  text-align: center;
}

main article {
  display: inline-block;
  text-align: left;
  min-width: 50%;
  padding: 0.5em;
}

@keyframes highlight {
  from {
    color: var(--base01);
  }

  to {
    color: var(--base02);
  }
}

@keyframes de-highlight {
  from {
    color: var(--base02);
  }

  to {
    color: var(--base01);
  }
}

main article h1::before,
main article h2::before,
main article h3::before {
  font-family: sans-serif;
  font-style: normal;
  font-weight: bold;
  color: var(--base01);
  animation-duration: 0.5s;
  animation-name: de-highlight;
}

main article h1:hover::before,
main article h2:hover::before,
main article h3:hover::before {
  color: var(--base02);
  animation-duration: 0.5s;
  animation-name: highlight;
}

main article h1::before {
  content: "# ";
}

main article h2::before {
  content: "## ";
}

main article h3::before {
  content: "### ";
}

main article p {
  text-align: justify;
  text-justify: inter-word;

  font-size: 1em;
}

footer {
  text-align: center;
  background-color: var(--base01);
  color: var(--base04);
}

footer p {
  display: inline-block;
  text-align: center;
  min-width: 50%;
  padding: 0.5em;
  font-size: small;
}

pre {
  padding: 0.5em;
  margin: 0.5em;
  width: 98%;
  background-color: var(--base01);
  color: var(--base06);

  overflow: auto;

  border-radius: 0.2em;
  border-style: solid;
  border-width: 1px;
  border-color: var(--base02);
}

blockquote {
  display: block;
  
  padding: 0.5em;
  margin: 0.2em;
  width: 95%;

  font-size: 1.2em;
  font-family: var(--serif);
  font-style: italic;
  color: var(--base03);

  border-left: 1px var(--base03) solid;
}

blockquote p {
  margin: 0.2em;
}

ul {
  list-style-type: none;
  padding: 0.5em;
}

ul li {
  padding: 0.1em;
}

ul li::before {
  content: "- ";
}

.tags {
  list-style: none;
}

.tags li {
  display: inline;
}

.tags li::before {
  content:"";
}

.tag {
  color: var(--base0F) !important;
}

.tag::before {
  content: '#';
  color: var(--base04);
}

a {
  text-decoration: none;
}

a:link {
  color: var(--base0C);
}

a:visited {
  color: var(--base0D);
}

a:link:hover {
  text-decoration: underline;
}

table {
  border-collapse: collapse;
}

th, td {
  border: 1px solid var(--base02);
  padding: 0.2em;
}

th {
  background-color: var(--base01);
}