:root {
  --text-color: #ffffff;
  --background-color: #222;
  --content-max-width: 750px;
  --voice1: #66b1e4;
  --voice2: #eb6c5f;
  --voice3: #f3cd34;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  background: var(--background-color);
  color: var(--text-color);
  font-family: Lato, Roboto, "Noto Sans", "DejaVu Sans", Futura, Calibri, Sans;
}

#background {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

#centered {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--content-max-width);
  min-width: 260px;
  margin: 0 auto 3rem auto;
  padding: 1rem;
}

@media (min-width: 1000px) {
  #centered {
    background: var(--background-color);
    border-radius: 0.5rem;
    padding: 1rem 1.7rem;
    margin-top: 7.5vh;
  }
}

@media (max-width: 999px) {
  #background {
    display: none;
  }
}

.title {
  font-size: 2em;
  margin-top: 0.6rem;
  margin-bottom: 1.3rem;
  text-align: center;
  text-transform: uppercase;
}

.postcover {
  width: 100%;
  height: 150px;
  margin-bottom: 0.65em;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}

.posttitle {
  box-sizing: border-box;
  position: absolute;
  background: rgba(0,0,0,0.8);
  text-transform: uppercase;
  font-size: 1.5rem;
  padding: .5rem;
  bottom: 0px;
  width: 100%;
  text-align: left;
  line-height: 120%;
}

.listitem {
  width: 100%;
  height: 100px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.listitem > .lititle > span {
  float: right;
}

.listitem > .lititle {
  box-sizing: border-box;
  position: absolute;
  background: rgba(0,0,0,0.8);
  font-size: 1.5rem;
  padding: .5rem;
  bottom: 0px;
  width: 100%;
  text-align: left;
}

.listitem > .liback {
  height: 100%;
  width: 100%;
  filter: saturate(120%) blur(7px);
}

.translation {
  text-align: center;
  background: var(--text-color);
  border-radius: 2px;
  color: var(--background-color);
  padding: 0.25rem;
  margin-bottom: 1rem;
}

.translation a {
  color: var(--background-color);
  text-decoration: underline;
  font-weight: unset;
}

.note {
  text-align: center;
  background: var(--text-color);
  border-radius: 2px;
  color: var(--background-color);
  padding: 0.25rem;
  margin-top: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.note a {
  color: var(--background-color);
  text-decoration: underline;
  font-weight: unset;
}

.image {
  width: 100%;
  margin-top: 1em;
}

.caption {
  font-size: 1em;
  margin-bottom: 1em;
}

nav {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

nav > a > svg {
  height: 2rem;
  display: block;
}

nav > #prev > svg {
  transform: rotate(180deg);
}

nav > a > svg > path {
  fill: var(--text-color);
}

a {
  text-decoration: none;
  position: relative;
  color: var(--text-color);
}

a.contentlink::after {
  content: " 🔗";
}

a:hover {
  text-decoration: underline;
}

hr {
  animation-name: line;
  animation-duration: 2s;
  background-color: var(--text-color);
  width: 90%;
  border: 0px;
  height: 3px;
}

@keyframes line {
  from {
    width: 0%;
  }
  to {
    width: 90%;
  };
}

.content {
  padding-top: 3%;
  padding-bottom: 3%;
  font-size: 1.1em;
  text-align: justify;
  line-height: 1.4em;
}

.button {
  border: 2px solid var(--text-color);
  color: var(--text-color);
  background: transparent;
  outline: none;
  text-decoration: none;
  border-radius: 0;
  padding: 15px 0;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: all 0.5s ease;
  -webkit-appearance: none;
  cursor: pointer;
  display: block;
  width: 100%;
}

.button:hover, .button:focus {
  color: var(--background-color);
  background: var(--text-color);
}

#lb {
  margin-bottom: 1rem;
}

@keyframes pulse {
  50% {
    background: var(--text-color);
  };
}

.load {
  position: relative;
  left: calc(50% - 5px);
  width: 10px;
  height: 2rem;
  background: var(--background-color);
  animation: pulse 750ms infinite;
  animation-delay: 250ms;
}

.load:before, .load:after {
  content: '';
  position: absolute;
  display: block;
  height: 2rem;
  width: 10px;
  background: var(--background-color);
  top: 50%;
  transform: translateY(-50%);
  animation: pulse 750ms infinite;
}

.load:before {
  left: -20px;
}

.load:after {
  left: 20px;
  animation-delay: 500ms;
}

.video {
  position: relative;
  padding-bottom: 56.25%;
 /* 16:9 */
  padding-top: 0px;
  margin-top: 1em;
  height: 0;
  width: 100%;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.vid_lbw {
  margin-top: 1em;
  border: 2px solid var(--text-color);
  text-align: center;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.voice1 {
  color: var(--voice1);
}

.voice2 {
  color: var(--voice2);
}

.voice3 {
  color: var(--voice3);
}