html, body {
  margin: 0;
}
body {
  font-family: 'Noto Serif', serif;
  background: #111 url(https://i.imgur.com/6y4xv7M.png);
  color: #fff;
}
.wrap {
  max-width: 60em;
  margin: 0 auto;
}

nav {
  background-color: rgba(0,0,0,0.4);
  font-family: 'Noto Sans', sans-serif;
}
nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
}
nav a {
  display: block;
  padding: 0.3em 1em;
  text-decoration: none;
  color: #fff;
}
nav a:hover {
  background-color: #fff;
  color: #000;
  text-decoration: underline;
}

#topcard {
  text-align: center;
  padding: 1em 0 1em;
}
#topcard h1, #topcard h3 {
  margin: 0;
  color: #ccc;
  color: #222;
  font-weight: 400;
}
#topcard h1 a {
  color: #fcfcfc;
  text-decoration: none;
}
#topcard h1 a:hover {
  color: #c0c0c0;
  text-decoration: underline;
}
#topcard h3 {
  color: #cfcfcf;
  font-size: 1em;
}

.card {
  background: #fff;
  color: #222;
  margin-bottom: 2em;
  box-shadow: 0 8px 17px 2px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
}
.intro.card {
  line-height: 1.5;
  max-width: 60em;
  margin: 0 auto 2em;
}
.text.card {
  line-height: 1.5;
  max-width: 45em;
  font-size: 1.1em;
  margin: 0 auto 2em;
}
.card-header {
  font-family: 'Noto Sans', sans-serif;
  font-weight: normal;
  margin: 0;
  padding: 0.3em 0.8em;
  border-bottom: 1px solid #ccc;
  font-size: 1.2em;
  background-color: rgba(0, 0, 0, 0.1);
}
.card:hover .card-header {
  background-color: rgba(0, 0, 0, 0.15);
}
.card-body {
  padding: 0.2em 1.3em;
}
.text.card .card-body {
  padding: 0.4em 2em;
}
.card-footer {
  font-family: 'Noto Sans', sans-serif;
  text-align: right;
  background: #eee;
  margin: 0;
  padding: 0.3em 0.8em;
  border-top: 1px solid #ccc;
}

/* just for homepage */
.card .post-listing {
  margin: 1em 0;
}
.card .post-listing * {
  margin: 0;
}
.post-listing h4 {
  font-weight: normal;
}
.post-listing .section-prefix {
  font-size: 0.9em;
}
.post-listing a {
  font-weight: 700;
}

.photos.card .card-body {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5em;
}
.photos.card .thumb {
  display: block;
  margin: 0.3em;
  background-size: cover;
}
.photos.card .thumb:before {
  content: '';
  float: left;
  padding-top: 100%;
}

.section-tag {
  font-family: 'Noto Sans', sans-serif;
  font-weight: normal;
  margin-left: 1em;
  font-size: 0.8em;
  padding: 0.2em 1em;
  border-radius: 50px;
  /*background-color: rgba(0, 0, 0, 0.1);*/
  background-color: rgba(206, 205, 202, 0.5);
}

.home-blurb {
  display: flex;
}
@media screen and (max-width:550px) {
  .home-blurb {
    flex-direction: column;
  }
  .header-image {
    border-radius: 100%;
    margin: 0 auto;
    display: block;
    margin-bottom: 1em;
    box-shadow: 0 8px 17px 2px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
  }
  .home-blurb .card-image {
    display: none;
  }
  .photos.card .thumb {
    flex: 1 0 40%;
  }
}
@media screen and (min-width:551px) {
  #topcard {
    margin-bottom: 1em;
  }
  .header-image {
    display: none;
  }
  .home-blurb {
    align-items: center;
  }

  .flexed {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
  }
  .flexed > *:not(:last-child) {
    margin-right: 2em;
  }
  .photos.card .thumb {
    display: block;
    margin: 0.3em;
    background-size: cover;
    flex: 1 0 25%;
  }
}

footer .wrap {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 200px;
  color: #999;
  font-size: 0.8em;
  font-family: 'Noto Sans', sans-serif;
}
footer a {
  color: #ccc;
}

.outdated-banner {
  background-color: #ffcc80;
  padding: 0.75em 1em;
  margin: 0 -1em 1em;
  font-size: 1.15em;
  font-family: monospace;
}
.outdated-banner strong {
  color: #e65100;
}

.graphic-frame {
  text-align: center;
  padding: 0.5em 0;
}
.graphic-frame p {
  margin: 0;
  font-size: 0.8em;
}

.selected-pink { background-color: rgba(245, 224, 233, 1); }
.selected-purple { background-color: rgba(232, 222, 238, 1); }
.selected-green { background-color: rgba(219, 237, 219, 1); }
.selected-gray { background-color: rgba(227, 226, 224, 1); }
.selected-orange { background-color: rgba(250, 222, 201, 1); }
.selected-brown { background-color: rgba(238, 224, 218, 1); }
.selected-red { background-color: rgba(255, 226, 221, 1); }
.selected-yellow { background-color: rgba(253, 236, 200, 1); }
.selected-blue { background-color: rgba(211, 229, 239, 1); }

code {
  background: rgba(135, 131, 120, 0.15);
  border-radius: 3px;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  /* font-size: 85%; */
  tab-size: 2;
}

.simple-table {
	border-collapse: collapse;
}
.simple-table th, .simple-table td {
	border: 1px solid rgba(55, 53, 47, 0.09);
	margin-top: 1em;
	font-size: 0.9rem;
	font-weight: normal;
	padding: 0.25em 0.5em;
	line-height: 1.5;
	min-height: 1.5em;
	text-align: left;
}
.simple-table th {
	color: rgba(55, 53, 47, 0.6);
	background: rgb(247, 246, 243);
	color: black;
	font-weight: 500;
}

.text.card .card-body > img {
  max-width: calc(100% + 4em);
  margin: 1em -2em;
}