*, ::before, ::after {
  box-sizing: border-box;
}

html{
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

img, svg, iframe, audio {
  vertical-align: middle;
}

body {
  margin: 0;
  background-color: #fdfdfd;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Ubuntu",  Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

code, pre {
  font-family: courier new, Courier, monospace;
}

pre {
  padding: 1em;
}

img,
object,
embed {max-width: 100%;}

article, p, figure {
  margin: 1em 0;
}
ul, ol {
  display: inline-block;
  margin-left: 2em;
}

/* let's clear some floats */
.clearfix:after { content: " "; display: block; clear: both; }

/* Layout
-------------------------------------------------------------------------------*/
.wrapper {
  max-width: 832px;
  padding: 0 1em;
  margin: 0 auto;
}

.header-line {
  height: 4px;
  background-color: #a1b56c;
  box-shadow: 0 0 10px rgba(161, 181, 108, 0.7);
}

header {
  text-align: center;
  background-color: #2e3236;
  background-image:
    linear-gradient(rgba(161, 181, 108, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161, 181, 108, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #f8f8f8;
  padding: 1em 0;
}

header a {
  display: inline-block;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

nav a {
  display: inline-block;
  padding: 0 0.5em;
}

nav a, nav a:active, nav a:visited {
  color: #f8f8f8;
}

nav a:hover {
  color: #a1b56c;
}

a, a:active, a:visited {
  text-decoration: none;
  color: #ab4642;
}

a:hover {
  color: #585858;
}

footer {
  padding-top: 1em;
  padding-bottom: 10em;
  font-size: 0.85em;
  color: #585858;
}

ul {
  list-style: square outside;
}

.avatar{
  float: right;
  max-width: 180px;
  margin-left: 25px;
}

.recording{
  margin-bottom: 1em;
}

.index-page-shim {
    width: 100%;
    height: 3em;
}

.list-item {
  padding-bottom: 4em;
}

.list-title {
  margin-top: 16px;
  margin-bottom: 0;
}

.post-date {
  font-style: italic;
  color: #707070;
  display: block;
}

.carousel {
  position: relative; /* offsetLeft of the images is relative to the strip */
  display: flex;
  align-items: center;
  gap: 1em;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  text-align: center;
}

.carousel > div {
  flex: 0 0 auto;
  max-width: 90%;
  scroll-snap-align: center;
}

.carousel img {
  max-height: 70vh;
}

.carousel-wrap {
  position: relative;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2em;
  height: 2em;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.5em;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.carousel-btn.prev {
  left: 0.25em;
}

.carousel-btn.next {
  right: 0.25em;
}

.metadata {
  padding: 0;
  margin: 0;
  list-style-type: square;
  color: #707070;
}

.metadata li {
  display: inline;
  margin-right: 10px;
}

.tag-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}
.tag-list li {
  border-radius: 10px;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 0px 10px;
  text-align: center;
}
.tag-list-item {
  background-color: #eee;
  border: 1px solid #46ab42;
}

.shadow img {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Media queries
-------------------------------------------------------------------------------*/
@media screen and (min-width: 640px) {
  header {
    text-align: left;
  }
  nav a {
    padding: 0 1em 0 0;
  }
  .fig-r img {
    margin-left: 32px;
    margin-bottom: 16px;
    width: 55%;
    float: right;
  }
  .fig-l img {
    margin-right: 32px;
    margin-bottom: 16px;
    width: 55%;
    float: left;
  }
  .list-item-image {
    width: 390px;
    float: left;
  }
  .list-item-text {
    margin-left: 422px;
  }
}

/* Print styles
-------------------------------------------------------------------------------*/
@media print {
  header, footer {
    display: none;
  }
  .fig-r img {
    margin-left: 1em;
    width: 35%;
    float: right;
  }
  .fig-l img {
    margin-right: 1em;
    width: 35%;
    float: left;
  }
}
