html {
  background-image: linear-gradient(to bottom right, lightgrey, white);
  background-attachment: fixed;
}

body {
  margin: 0 auto;
  padding: 0 1em;
  max-width: 768px;
  font-family: "Verdana", sans;
}

article h1 {
  /* Override the auto-shrinking h1 inside some elements. */
  font-size: 2em;
}
h1,h2,h3 {
  text-align: center;
  font-style: italic;
  font-family: "DejaVu Serif Condensed", Cambria, serif;
}
.pubdate {
  text-align: center;
  font-style: italic;
}

body {
  margin-bottom: 2em;
}

footer.social {
  margin: 3em auto 0;
  max-width: 75%;
  opacity: 75%;
}


.post {
  position: relative;
}

.post section.footnotes {
  margin-top: 100px;
  padding-bottom: 2em;
  position: absolute;
}
.post section.footnotes > hr {
  display: none;
}

.author {
  margin-left: 2em;
  margin-top: 3em;
}
.author::before {
  content: "— ";
}

.translations {
  margin: 1em 0em;
}


a:link {
  color: #444;
}
a:visited {
  color: #777;
}
a:hover {
  color: black;
}
a:active {
  color: red;
}

.card h1,
.card h2,
.card h3 {
  padding: 0; margin: 0;
}
.card {
  display: block;
  position: relative;
  background-color: #fff;
  border-radius: 5px;
  margin: 1em 0;
  padding: 1em;
}

.card,
.shadow {
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.card.section-header {
  margin: 2em;
  text-align: center;
}

.menubar {
  display: flex;
  border-radius: 5px;
  justify-content: space-between;
  background-color: #333333;
}

.flexlist {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.mainmenu > li a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
  border-radius: 5px;
}

.mainmenu > li a.active {
  background-color: #222222;
}
.mainmenu > li a:hover {
  background-color: #111111;
}

@media only screen and (max-width: 600px) {
  .menubar > ul:last-child {
    display: none;
  }
}

.bottommenu {
  justify-content: space-between;
  margin: 0 1em;
  flex-wrap: wrap
}
.bottommenu > li {
  margin: 1em 1em;
}

.tags a:before {
  content: "#";
}
.summary .tags {
  display: inline;
}
.summary footer,
.post .subheader {
  display: flex;
  justify-content: space-between;
}
.post .subheader {
  margin: 0 1em 2em;
}
