body {
  max-width: 720px;
}

table {
  display: block;
  max-width: fit-content;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  border-spacing: 10px;
  border-collapse: separate;
}

.post-date {
  width: 130px;
}

.layout-aside {
  max-width: 50rem;
}

.layout-aside aside {
  width: 200px;
}

.layout-aside img {
  border-radius: 5px;
}

#readme {
  display: none;
}

.albums {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(auto-fill, 200px);
  grid-row-gap: 0.5rem;
  grid-column-gap: 1rem;
}

.thumbnail-container {
  position: relative;
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3px;
  min-height: 200px;
}

.thumbnail {
  z-index: 1;
  object-fit: contain;
  max-width: 200px;
  height: auto;
}

.thumbnail-link {
  z-index: 1;
}

@media only screen and (max-width: 600px) {
  .layout-aside main {
    flex-direction: column;
  }

  aside {
    display: none;
  }

  #readme {
    display: block;
  }

  .albums {
    grid-template-columns: repeat(1, 1fr);
    justify-content: center;
  }
}
