body {
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    background-attachment: fixed;
}

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

hr {
    border: none;
    width: 100%;
}

#bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 8em;
    padding: 13px;
    background: transparent;
}

#bar ul {
    margin: 0;
    padding: 15px;
}

.li-aside {
    text-align: left;
    font-size: 20px;
    list-style-type: none;
    display: flex;
    align-items: center;
    padding: 8px;
}

#article {
    width: 90%;
    max-width: 65%;
    text-align: left;
    position: static;
    margin-left: 13em;
    margin-right: 13em;
    padding: 1em 2em;
}

p, li, td {
  font: 17px monospace;
}

h1 {
  font: 32px monospace;
  font-weight: bold;
  margin-top: 0.2em;
  margin-bottom: 0.5em;
}

h2 {
  font: 24px monospace;
  font-weight:bold;
}

h3 {
  font: 20px monospace;
  font-weight:bold;
}

h4 {
  font: 18px monospace;
  font-weight:bold;
}

code {
    font-family: monospace;
    padding: 2px 4px;
    border-radius: 3px;
}

a {
  font: 11px monospace;
  text-decoration: none;
}

a.link {
  font: 17px monospace;
  text-decoration: none;
}

.thumbnail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.thumbnail-grid a {
    width: 120px;
    height: 90px;
    display: block;
    overflow: hidden;
    transition: border-color 0.2s;
}

.thumbnail-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 800px) {
  #bar {
    position: static;
    width: auto;
    border-style: none;
    padding: 0;
  }
  #bar ul { padding: 0; }
  .li-aside {
    border-left: none;
    border-right: none;
    border-top: none;
    padding-left: 15px;
  }
  #article {
    width: 90%;
    margin: 1em auto;
    max-width: 100%;
    padding: 1em;
  }
  hr { width: 100%; }

  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  p, li, td { font-size: 16px; }
  .li-aside { font-size: 18px; }

  img { height: auto; }
  .float-right, .float-left {
    float: none;
    display: block;
    margin: 15px auto;
  }

