html {
  background-color: black;
}

body {
  font-family: "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;
  color: #efefef;
}

h1 {
  font-size: 3em;
  font-weight: bold;
}

h2 {
  font-size: 2em;
  font-weight: bold;
}

h3 {
  font-size: 1.3em;
  font-weight: bold;
}

ul.episodes li {
  padding: 15px 5px;
  border-bottom: 1px solid lightgray;
}

.subdued {
  font-size: .9em;
  color: #aaa;
}

.comfy {
  margin: 15px 5px;
}

.clickable {
  cursor: pointer;
}

header {
  display: flex;
  flex-flow: row wrap;
  background-color: #888;
}

header h1 {
  display: inline-block;
  padding: 0 25px;
  border-bottom: 4px solid #888;
  font-size: 1.5em;
}

header h1.nav {
  cursor: pointer;
}

header h1.nav.active {
  border-bottom: 4px solid lightgray;
}

textarea.big {
  width: 95%;
  height: 12em;
}

.monotext {
  font-family: monospace;
}

/*
 * loading spinner
 */

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;
  border-bottom-color: #000;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*
 * toggle switch
 */

.toggle {
  cursor: pointer;
  display: inline-block;
}

.toggle-switch {
  display: inline-block;
  background: #ccc;
  border-radius: 16px;
  width: 58px;
  height: 32px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
}

.toggle-switch:before, .toggle-switch:after {
  content: "";
}

.toggle-switch:before {
  display: block;
  background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  width: 24px;
  height: 24px;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: left 0.25s;
}

.toggle:hover .toggle-switch:before {
  background: linear-gradient(to bottom, #fff 0%, #fff 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.toggle-checkbox:checked + .toggle-switch {
  background: #56c080;
}

.toggle-checkbox:checked + .toggle-switch:before {
  left: 30px;
}

.toggle-checkbox {
  position: absolute;
  visibility: hidden;
}

.toggle-label {
  margin-left: 5px;
  position: relative;
  top: 2px;
}
