.slide .subtle {
  color: #999;
}

.slide .note {
  background: #ffc;
  font-size: 85%;
  padding: .2em;
  color: #858471;
}

.slide .note a {
  color: #5e5d50;
}

.slide {
  max-width: 800px;
  margin: 1em auto;
  padding: 1em 0;
}
.slide:after {
  content: "";
  display: table;
  clear: both;
}

.slide-image {
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
}

div.slide-image {
  min-height: 10em;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide:before,
.slide:after {
  /* Micro clearfix */
  clear: both;
}

.slide:after {
  clear: both;
}

.slide-annotations p {
  margin-top: 0;
}

.slide img,
.slide video {
  max-width: 100%;
  display: block;
}
.slide video,
.slide picture {
  margin-bottom: .5em;
}

.slide a[href].url {
  word-break: break-all;
}

@media (min-width: 600px) {
  .slide-image,
  .slide-annotations {
    float: left;
  }

  .slide-image {
    width: 50%;
  }

  .slide-annotations {
    width: 50%;
    padding-left: 20px;
  }
}

@media (min-width: 1000px) {
  .slide {
    max-width: 900px;
  }

  .slide-image {
    width: 60%;
  }

  .slide-annotations {
    width: 40%;
    padding-left: 20px;
  }
}

@media (min-width: 1400px) {
  .slide {
    max-width: 1300px;
  }
}

.slide ~ .credits {
  text-align: center;
  color: #808080;
  margin: 2em 0;
  font-size: 80%;
}

.slide ~ .credits a {
  color: #808080;
}
