body {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: hsl(109.3, 25%, 56.1%);
  color: white;  
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

.media {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  justify-content: center;
}

li.pane {
  border-radius: 1em;
  margin-bottom: 2em;
  background-color: hsl(35, 10%, 97%);
  box-shadow: 4px 4px hsla(30, 30%, 30%, 0.3);
  padding-left: 1.2em;
  padding-right: 1.2em;
  padding-top: 1.2em;
  padding-bottom: 1.2em;
  margin-bottom: 2em;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.pane img {
  width: 100%;
  object-fit: contain;
}

.entry-meta {
  color: hsl(341, 10%, 20%);
  font-weight: bold;
}

.media-caption {
  flex-grow: 1;
  font-size: larger;
  margin-top: 1em;
}

.time-stamp {
  margin-bottom: 1em;  
}

.pane video {
  border-radius: 0.5em;
  border-left: 1px solid hsla(30, 14%, 67%, 0.5);
  box-shadow: 2px 2px hsla(30, 5%, 0%, 0.3);
  width: 100%;
}

/* Old, pre-static-web-archive CSS */

.videos {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  justify-content: center;
}

li.video-pane {
  margin-bottom: 2em;
  background-color: hsl(35, 10%, 97%);
  box-shadow: 4px 4px hsla(30, 30%, 30%, 0.3);
  padding-left: 1.2em;
  padding-right: 1.2em;
  padding-top: 1.2em;
  padding-bottom: 1.2em;
  margin-bottom: 2em;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-meta {
  color: hsl(341, 10%, 20%);
  font-weight: bold;
}

.video-caption {
  flex-grow: 1;
  font-size: larger;
  margin-top: 1em;
}

.video-time-stamp {
  margin-bottom: 1em;  
}

.video-pane video {
  border-left: 1px solid hsla(30, 14%, 67%, 0.5);
  box-shadow: 2px 2px hsla(30, 5%, 0%, 0.3);
  width: 100%;
}

.text-caption {
  color: #222;
}

a:link {
  color: hsl(31, 20%, 22.4%);
  font-weight: bolder;
  text-decoration: none;
}

a:visited {
  color: white;
}

.time-stamp a:visited {
  color: hsl(31, 20%, 22.4%);
}

button {
  font-size: larger;
  font-weight: bold;
  background-color: transparent;
  border: 1px solid black;
  border-radius: 4px;
}

.warning {
    font-size: 2em;
    background-color: #ffff8d;
    margin: 1em;
    padding: 0.5em;
    max-width: 80%;
    word-wrap: break-word;
}

.hidden {
  display: none !important;
}

.invisible {
  opacity: 0;
}

.previous-indexes {
  margin-bottom: 2em;
  font-size: 2em;
}

.previous-indexes a:link {
  color: white;
  font-weight: bolder;
}

.previous-indexes a:visited {
  color: white;
}

footer {
  max-width: 800px;
}

footer > div {
  margin-bottom: 0.5em;
  text-align: center;
}


@media all and (max-height: 568px) {
  .media {
    max-width: 90%;
  }
}

