@font-face {
  font-family: "EB Garamond";
  src: url("/res/EBGaramond-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
}

@font-face {
  font-family: "EB Garamond Italic";
  src: url("/res/EBGaramond-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
}

@font-face {
  font-family: "Syne Mono";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url("/res/SyneMono-Regular.ttf") format("truetype");
}

body {
  font-family: "EB Garamond", "Times New Roman", Times, serif;
  font-size: 1.4em;
  margin: 1em;
  line-height: 1.5;
}

.mainContainer {
  /* border: 1px solid red; */
  /* background-color: white; */
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  /* width: 1280px; */
  /* width: 640px; */
  /* width: 820px; */
  width: 1024px;
  max-width: 95%;
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-areas: "sidebar content";
  gap: 2rem;
}

header {
  margin-top: 1.5rem;
}

header h1 a {
  color: black;
}

header h1 a:hover {
  border-bottom: none;
}

footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  /* border-top: 1px solid #ccc; */
  text-align: center;
  font-size: 70%;
}

article {
  text-align: justify;
}

.gameTable {
  max-width: 90%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.gameTable table,
tr,
td {
  border: 0px;
}

.gameTable a {
  cursor: pointer;
  border-bottom: none;
}

main > header {
  margin-bottom: 2.5rem;
}

main > header > h1 {
  font-family: "Syne Mono", "Times New Roman", Times, serif;
  font-size: 1.8em;
}

/*
@keyframes vibrate {
  0% {
    transform: translateX(-1px) translateY(1px);
  }
  100% {
    transform: translateX(0px) translateY(0px);
  }
}
*/

.noTitlePlaceholder {
  height: 3rem;
}

aside a:hover {
  /* transition: all 500ms; */
  color: rgba(0, 0, 0);
  display: inline-block;
  margin-right: 10px;
  text-shadow: 1px 2px 3px #222;
  /* filter: blur(1px); */
  /* animation: vibrate 50ms linear infinite forwards; */
  border-bottom: none;
}

main > header > p {
  font-weight: bold;
}

main > section {
  margin-left: 1rem;
}

main > section > header {
  /*margin-bottom: 2.5rem;*/
  margin-bottom: 0;
  font-weight: bold;
}

main > section > ul {
  margin-left: 3rem;
}

main > section > p {
  margin-left: 2.5rem;
}

main > section > header > h1 {
  font-family: "Syne Mono", "Times New Roman", Times, serif;
  font-size: 1.4em;
}

li img {
  width: 24px;
}

article header img {
  width: 24px;
  margin-right: 8px;
}

p {
  margin-bottom: 0.75rem;
}

footer div {
  margin-bottom: 1rem;
}

footer a {
  font-weight: bold;
}

footer img {
  width: 24px;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

footer a:hover {
  border-bottom: none;
  opacity: 0.5;
}

strong {
  font-weight: bold;
}

em {
  font-family: "EB Garamond Italic", "Times New Roman", Times, serif;
  font-variant: italic;
}

h1 > em {
  font-family: "Syne Mono", "Times New Roman", Times, serif;
  font-weight: bold;
}

h2 > em {
  font-family: "Syne Mono", "Times New Roman", Times, serif;
  font-weight: bold;
}

details > summary {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: normal;
  text-align: left;
}

h1 {
  font-family: "Syne Mono", "Times New Roman", Times, serif;
  /* font-family: "Syne Mono", "Times New Roman", Times, serif; */
  /* font-size: 3em; */
  font-size: 1.8em;
}

h2 {
  font-family: "Syne Mono", "Times New Roman", Times, serif;
  font-size: 1.2em;
  /* color: #777; */
  /* margin-bottom: 2rem; */
}

summary {
  font-weight: normal;
  text-align: left;
  font-family: "Syne Mono", "Times New Roman", Times, serif;
  font-size: 1.2em;
}

h2::before {
  content: "\25B9\00a0";
}

h3 {
  /* font-size: 1.2em; */
  color: #777;
  margin-bottom: 2rem;
}

.post-category {
  font-size: 80%;
  /* font-variant: small-caps; */
  /* font-weight: 700; */
  margin-bottom: 0;
  color: var(--muted);
}

.post-language {
  font-variant: small-caps;
  vertical-align: sub;
  font-size: smaller;
  /* color: var(--muted); */
  color: #777;
}

.post-date {
  /* font-size: 0.83rem; */
  color: var(--muted);
}

h3 {
  margin-top: 1rem;
  font-size: 1.5em;
  /* border-bottom: 1px solid black; */
}

/*
ul {
  margin-left: 1rem;
  list-style-type: none;
}
*/

hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 20%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.15) 80%,
    transparent 100%
  );
  margin: 2rem 0;
}

ul {
  margin-left: 1.5rem;
  /* list-style-type: decimal-leading-zero; */
  /* list-style-type: "\25B8"; */
  list-style-type: circle;
  /* list-style-type: upper-roman; */
  /* font-weight: bold; */
  /* display: flex;
  flex-direction: column-reverse; */
  margin-bottom: 1rem;
}

.small {
  font-size: 80%;
}

.dataTable {
  /* border: 1px solid black; */
  border-collapse: collapse;
  font-size: 90%;
  margin-left: auto;
  margin-right: auto;
  table-layout: fixed;
  text-align: center;
  width: 90%;
}

.dataTable td {
  border: 1px solid black;
}

.dataTable th {
  background-color: #c0c0c0;
  border: 1px solid black;
  font-variant: small-caps;
}

/* ol > li { */
/* flex: 0 0 auto; */
/* margin-bottom: 1rem; */
/* } */

ul > li > a {
  font-weight: normal;
}

.listLarge a {
  font-weight: bold;
}

.listLarge li {
  margin-bottom: 0.75rem;
}

.form {
  text-align: center;
}

.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/*
ol {
  transform: rotate(180deg);
}

ol > li {
  transform: rotate(-180deg);
}
*/

/*
article li::before {
  content: "· ";
}
*/

a {
  color: #777;
  border-bottom: none;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: none;
  border-bottom: 1px dotted #777;
}

/*
header h1 {
  font-size: 1.25rem;
  font-variant: small-caps;
  font-weight: bold;
}

header nav {
  border-bottom: 1px solid #ccc;
  margin-bottom: 1rem;
}
*/

article nav {
  font-size: 90%;
}

.subtitle {
  color: #999;
  font-size: 90%;
}

.date {
  color: #aaa;
  font-size: 80%;
}

.navListCategory {
  color: #aaa;
  font-size: 80%;
  font-weight: bold;
  font-variant: small-caps;
}

.columnMain {
  grid-area: content;
  /*padding-top: 1rem;*/
  /* border: 1px solid blue; */
}

aside {
  /* font-family: "Special Elite", "Courier New", Courier, monospace; */
  /* font-family: "Faculty Graphic", "Times New Roman", Times, serif; */
  /* font-family: "Crimson Text", "Times New Roman", Times, serif; */
  font-family: "Syne Mono", "Times New Roman", Times, serif;
  grid-area: sidebar;
  /* padding-top: 2rem; */
  /* border: 1px solid green; */
}

aside ul {
  /* margin-top: 0.5rem; */
  margin-left: 0.5rem;
  list-style-type: none;
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 0;
  /* font-variant: small-caps; */
  font-weight: normal;
}

aside ul > li > ul {
  font-size: 0.95rem;
}

aside a {
  color: black;
  font-weight: normal;
}

aside h1 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-left: 0.5rem;
  margin-bottom: 0;
  font-weight: bold;
}

aside h1 a {
  border-bottom: 1px solid black;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  margin-left: 0.5rem;
  margin-top: 0.65rem;
  font-size: 1.4rem;
  user-select: none;
}

.nav-menu {
  display: block;
}

article nav a {
  font-weight: normal;
}

@media (max-width: 768px) {
  .mainContainer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sidebar"
      "content";
  }

  .noTitlePlaceholder {
    display: none;
    height: 0;
  }

  aside {
    width: 100%;
    margin-bottom: 1rem;
  }

  aside h1 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-menu {
    display: none;
    margin-left: 0.5rem;
    padding-left: 0;
    border-top: 1px solid #ccc;
    margin-top: 0.25rem;
  }

  .nav-menu li {
    display: block;
    margin-bottom: 0.5rem;
  }

  .nav-menu li a {
    /* font-size: 1.05rem; */
    color: black;
  }

  .nav-toggle:checked ~ .nav-menu {
    display: block;
  }
}
