body {
  margin: 0;
  color: white;
  font-family: Verdana;
  background-attachment: fixed;
  background-color: #99a5b1 /*#192e38 */;
}

.title {
  width: 100%;
  padding-left: 15px;
  position: fixed;
  z-index: 100;
  background-color: #102129;
}

.title h1 {
  margin-top: 0;
}

.title p {
  margin-bottom: 0;
}

.sidebar {
  width: 22em;
  height: calc(90% - 20px);
  padding: 15px;
  top: 6em;
  box-sizing: border-box;
  position: fixed;
  overflow-y: auto;
  color: black;
}

.sidebar h3, h4 {
  margin-bottom: 5px;
}

.grid {
  margin-left: 22em;
  padding: 20px;
  top: 6em;
  box-sizing: border-box;
  position: relative;
}

.grid:after {
  content: '';
  display: block;
  clear: both;
}

.episode {
  height: fit-content;
  width: 21em;
  padding: 10px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  background: #0a1419;
}

.episode img {
  width: 100%;
}

.episode-title {
  margin: auto;
  padding-top: 10px;
}

.episode-title a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid white;
}

.button, .shuffle-button {
  display: inline-block;
  padding: 0.5em 1.0em;
  background: #EEE;
  border: none;
  color: #222;
  font-size: 16px;
  margin-right: 3px;
  margin-top: 3px;
}

.button:hover, .shuffle-button:hover {
  background-color: #4c8baa;
  color: #222;
  cursor: pointer;
}

.button:active,
.button.is-checked {
  background-color: #102129;
}

.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button-group {
  margin-bottom: 20px;
}

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
}

.collapsible {
  background-color: #102129;
  color: white;
  cursor: pointer;
  font-size: 19px;
  font-weight: bold;
  padding: 15px;
  width: 100%;
  border: none;
  text-align: left;
}

.active, .collapsible:hover {
  background-color: #4c8baa;
}

.collapsible:after {
  content: '\002B';
  color: white;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border: 1px solid #102129;
  box-sizing: border-box;
}

.post {
  width: 80%;
  margin: auto;
  padding: 20px;
  top: 8em;
  position: relative;
  box-sizing: border-box;
  background: #102129;
}

.post p {
  line-height: 175%;
}

.post a {
  color: #4c8baa;
  text-decoration: none;
  border-bottom: 1px dotted #4c8baa;
}

@media only screen and (max-width: 620px) {
  /* For mobile phones: */
  
  .title {
    width: auto;
    padding: 0 15px 0 15px;
  }
  
  .sidebar {
    height: 12em;
    width: 100%;
    margin: auto;
    top: 9.5em;
    z-index: 50;
    background-color: #5f6b78;
    border-bottom: 2px solid #102129;
  }
  
  .grid {
    width: auto;
    margin: auto;
    top: 21em;
  }
  
  .episode {
    max-width: 80%;
  }
}
