
* {
  margin: 0;
  padding: 0;
}

body {
  background: white;
  font-family: Georgia, Palatino, Times, 'Times New Roman', sans-serif;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15em, 100%), max-content));
  min-height: 100vh;
  align-items: start;
  justify-content: start;
}

a:hover {
  color: red;
}

#main {
  padding: 2.5em 1.25em 0 1.25em;
  max-width: 31.25em;
  justify-self: start;
}

#main h1 {
  font-size: 40px;
  font-weight: normal;

  line-height: 40px;

  letter-spacing: -1px;
}

#main p {
  margin: 20px 0;

  font-size: 15px;

  line-height: 20px;
}

#main ul, #main ol {
  margin: 20px;
}

#main li {
  font-size: 15px;

  line-height: 20px;
}

#main ul li {
  list-style-type: square;
}

#sidebar {
  order: -1;
  padding: 2.5em 1.25em 0 1.25em;
  text-align: right;
  max-width: 15em;
  border-right: 1px solid #ccc;
}

@media (max-width: 31.25em) {
  #sidebar {
    text-align: left;
    border-right: none;
    border-bottom: 1px solid #ccc;
    max-width: none;
  }

  #sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
  }

  #sidebar li {
    margin: 0;
  }
}

#sidebar h2 {
  text-transform: uppercase;

  font-size: 13px;

  color: #333;

  letter-spacing: 1px;

  line-height: 20px;
}

#sidebar ul {
  list-style-type: none;

  margin: 20px 0;
}

#sidebar li {
  font-size: 14px;

  line-height: 20px;
}

#sidebar a {
  text-decoration: none;
}

#sidebar a:link, #sidebar a:visited {
  color: blue;
}

#sidebar a:hover {
  text-decoration: underline;
  color: red;
}

.post {
  margin: 10pt 0 30pt 0;
}

.post h3 a {
  text-decoration: none;
}

.post h3 a:hover {
  text-decoration: underline;
}

.post > aside {
  color: #888;
  padding-bottom: 8px;
  border-bottom: 1px solid #aaa;
}

.post > article {
  margin: 0pt;
  padding: 0pt;
}

#main .post > article > p {
  margin: 2pt 0 4pt 0;
}

