body {
  background: #2d353b;
  color: #d3c6aa;
  max-width: 800px;
  margin: auto;
  padding: 1em;
  line-height: 1.5;
}

a {
  color: #a7c080;
}

/* header and footer areas */
.menu { padding: 0; }
.menu li { display: inline-block; }
.article-meta, .menu a {
  text-decoration: none;
  background: #3d484d;
  color: #d3c6aa;
  padding: 5px;
  border-radius: 5px;
}
.menu a:hover, footer a:hover, main a:hover {
  color: #83c092;
}
.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
hr {
  border-style: dashed;
  color: #4f585e;
}

/* code */
pre {
  background: #343f44;
  border: 1px solid #4f585e;
  box-shadow: 5px 5px 5px #232a2e;
  padding: 1em;
  overflow-x: auto;
}
code {
  background: #343f44;
  color: #dbbc7f;
}
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
.media-bar {
  display: flex;
  align-items: center;
  gap: 2em;
  margin: 1.5em 0 2em;
}
.home-profile {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.home-avatar {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #a7c080;
}
.home-cert img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}
.spotify-widget {
  display: flex;
  align-items: center;
  gap: 0.8em;
  min-width: 0;
}
.spotify-widget[hidden] {
  display: none;
}
.spotify-eq {
  color: #a7c080;
  flex: 0 0 auto;
}
.spotify-cover-link {
  flex: 0 0 auto;
  line-height: 0;
}
.spotify-cover {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 4px;
}
.spotify-track {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.spotify-label {
  color: #859289;
  font-size: 0.8em;
}
.spotify-title {
  color: #d3c6aa;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spotify-title:hover {
  color: #83c092;
}
.spotify-artist {
  color: #859289;
  font-size: 0.9em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
blockquote {
  background: #343f44;
  border-left: 5px solid #a7c080;
  padding: 3px 1em 3px;
}

@media (max-width: 520px) {
  .media-bar {
    gap: 1.25em;
  }
  .home-avatar {
    width: 150px;
    height: 150px;
  }
  .home-cert img {
    width: 74px;
    height: 74px;
  }
  .spotify-widget {
    gap: 0.65em;
  }
  .spotify-cover {
    width: 40px;
    height: 40px;
  }
}

table {
  margin: auto;
  border-top: 1px solid #859289;
  border-bottom: 1px solid #859289;
}
table thead th { border-bottom: 1px solid #4f585e; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #343f44; }
