/* Colors */
:root {
  --lightgray: #e0e0e0;
  --gray: #C0C0C0;
  --darkgray: #333;
  --navy: #17050F;
  --blue: #082840;
  --white: #fff;
  --primary: #AA377A;
}

/* Global stylesheet */
* {
  box-sizing: border-box;
}

@font-face {
  font-family: "base2";
  src: url(/fonts/GT-Pressura-Mono.otf);
}



html,
body {
  background: #3B3686;
  background-size: 300px 300px;
  background-repeat: repeat;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
  height: 100%;
  font-family: base2, -apple-system, system-ui, sans-serif;
  margin: 0;
  color: #000;
  font-weight: bolder;
}

.main {
  height: 100%;
}

p:last-child {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  max-height: 100%;
}

.postlist-container ul {
  padding-left: 20px;
}

.mb-0 {
  margin-bottom: 0px;
}

.mt-0 {
  margin-top: 0px;
}

.mt-2 {
  margin-top: 10px;
}

.mt-3 {
  margin-top: 15px;
}

.my-1 {
  margin-top: 5px;
  margin-top: 5px;
}

.my-2 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.my-4 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.mx-2 {
  margin-left: 10px;
  margin-right: 10px;
}

.mx-3 {
  margin-left: 15px;
  margin-right: 15px;
}

.mr-1 {
  margin-right: 5px;
}

.mr-2 {
  margin-right: 10px;
}

.ml-2 {
  margin-left: 10px;
}

hr {
  border-color: #000;
  border-width: 1px;
}

.divider {
  border-top: 4px solid #000;
}

.tmpl-post, .tmpl-home {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 50px;
  padding: 1em;
}

a[href] {
  color: #000;
  word-break: break-all;
}

a[href]:visited {
  color: #000;
}

.tmpl-home a {
  text-decoration: none;
  color: #000;
}

header {
  border-bottom: 1px dashed var(--lightgray);
}

header:after {
  content: "";
  display: table;
  clear: both;
}

table {
  margin: 1em 0;
}

table td,
table th {
  padding-right: 1em;
}

pre,
code {
  font-family: Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace;
  line-height: 1.5;
}

pre {
  font-size: 14px;
  line-height: 1.375;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  -moz-tab-size: 2;
  -o-tab-size: 2;
  tab-size: 2;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  padding: 1em;
  margin: .5em 0;
  background-color: #f6f6f6;
}

code {
  word-break: break-all;
}

/* Header */
.home {
  padding: 0 1rem;
  float: left;
  margin: 1rem 0;
  /* 16px /16 */
  font-size: 1em;
  /* 16px /16 */
}

.home :link:not(:hover) {
  text-decoration: none;
}

/* Nav */
.nav {
  padding: 0;
  list-style: none;
  float: left;
  margin-left: 1em;
}

.nav-item {
  display: inline-block;
  margin-right: 1em;
}

.nav-item a[href]:not(:hover) {
  text-decoration: none;
}

.nav-item-active {
  font-weight: 700;
  text-decoration: underline;
}

/* Posts list */
.postlist {
  list-style: none;
  padding: 0;
}

.postlist-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  counter-increment: start-from -1;
  line-height: 1.8;
}

.postlist-item:before {
  display: inline-block;
  pointer-events: none;
  line-height: 100%;
  text-align: right;
}

.postlist-date,
.postlist-item:before {
  font-size: 0.7125em;
  /* 13px /16 */
  color: #000;
  opacity: 0.7;
  font-style: italic;
}

.postlist-date {
  word-spacing: -0.5px;
}

.postlist-link {
  padding-left: .25em;
  padding-right: .25em;
  text-underline-position: from-font;
  text-underline-offset: 0;
  text-decoration-thickness: 1px;
}

.postlist-item-active .postlist-link {
  font-weight: bold;
}

.tmpl-home .postlist-link {
  font-size: 1em;
  /* 19px /16 */
  font-weight: 700;
}

.underlined-link {
  text-decoration: underline !important;
}

/* Warning */
.warning {
  background-color: #ffc;
  padding: 1em 0.625em;
  /* 16px 10px /16 */
}

.warning ol:only-child {
  margin: 0;
}

/* Direct Links / Markdown Headers */
.direct-link {
  font-family: sans-serif;
  text-decoration: none;
  font-style: normal;
  margin-left: .1em;
}

a[href].direct-link,
a[href].direct-link:visited {
  color: transparent;
}

a[href].direct-link:focus,
a[href].direct-link:focus:visited,
:hover>a[href].direct-link,
:hover>a[href].direct-link:visited {
  color: #aaa;
}

.tg {
  border-collapse: collapse;
  border-spacing: 0;
  display: table;
  background-color: #AA377A;
  color: #000;
}

.tg td {
  border: 4px solid #000000;
  font-family: base2, -apple-system, system-ui, sans-serif;
  font-size: 21px;
  overflow: hidden;
  word-break: normal;
  padding: 25px 15px;
}

.tg-center {
  text-align: center;
  vertical-align: top;
  text-decoration: none;
  cursor: pointer;
}

.tg-peabee:hover {
  background-color: #000000;
  border-color: #000000;
  color: #F5F2EE;
  cursor: default;
}

.tg-blog:hover {
  background-color: #28325e;
  color: #28325e;
}

.tg-works:hover, .tg-works:focus {
  background-color: #DEA54B;
}

.tg-etc:hover {
  background-color: #4D9078;
  color: #4D9078;
}

.tg-etc, .tg-about, .tg-blog {
  color: var(--primary);
}

.tg-about:hover {
  background-color: #a70000;
  color: #a70000;
}



.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.postlist-item-padding {
  padding-top: 15px;
}

.postlist-container, .post-container {
  border: 4px solid #000;
  padding: 20px 20px  20px 20px;
  background-color: #AA377A;
  max-width: 35em;
  font-size: 18px;
}

.post-container {
  line-height: 1.75em;
  font-size: 18px;
}

blockquote {
  font-style: italic;
  border-left:2px solid rgb(0,0,0, 0.75);
  padding-left: 10px;
  opacity: 0.75;
  margin-left: 20px
}

.mx-auto {
  margin: 0 auto;
}

.center {
  text-align: center;
}

h1, h2, h5, h3, h4, h6 {
  margin-top: 0;
  margin-bottom: 0;
}

hr {
  margin-top: 25px;
  margin-bottom: 25px;
}

.clickable {
  cursor: pointer;
}
