/* roboto-regular - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("/fonts/roboto-v20-latin-regular.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("/fonts/roboto-v20-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* audiowide-regular - latin */
@font-face {
  font-family: "Audiowide";
  font-style: normal;
  font-weight: 400;
  src: local(""),
    url("../fonts/audiowide-v9-latin-regular.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/audiowide-v9-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

:root {
  --font-family: "Roboto", sans-serif;
  --display-font-family: "Audiowide", serif;

  --text-color: rgb(255, 255, 255);
  --muted-text-color: rgba(255, 255, 255, 0.5);
  --accent-color: aqua;
  --accent-dark-color: #333;
}

.bg {
  position: fixed;
  top: 0;
  left: 0;

  /* Preserve aspet ratio */
  min-width: 100%;
  min-height: 100%;

  background-image: repeating-linear-gradient(
      90deg,
      hsla(57, 0%, 42%, 0.09) 0px,
      hsla(57, 0%, 42%, 0.09) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      0deg,
      hsla(57, 0%, 42%, 0.09) 0px,
      hsla(57, 0%, 42%, 0.09) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      0deg,
      hsla(57, 0%, 42%, 0.09) 0px,
      hsla(57, 0%, 42%, 0.09) 1px,
      transparent 1px,
      transparent 10px
    ),
    repeating-linear-gradient(
      90deg,
      hsla(57, 0%, 42%, 0.09) 0px,
      hsla(57, 0%, 42%, 0.09) 1px,
      transparent 1px,
      transparent 10px
    ),
    linear-gradient(90deg, rgb(20, 20, 20), rgb(20, 20, 20));
}

.content {
  position: relative;
  max-width: 38rem;
  padding: 2rem;
  font-size: 1.1em;
  margin: auto;
  line-height: 1.5;
  font-family: var(--font-family);
  color: var(--text-color);
}

h1,
h2 {
  font-family: var(--display-font-family);
  font-weight: 400;
}
h1 {
  font-size: 4em;
  line-height: 1.4;
  margin-top: 0em;

  margin-bottom: -0.1em;
  text-shadow: 2px 2px black, 3px 3px var(--accent-color);
}
h2 {
  font-size: 2.8em;
  line-height: 0.9;
  //margin-bottom: -0.1em;
}
h3 {
  font-size: 1.2em;
  line-height: 1;
  margin-bottom: 0.4em;
  //margin-top: 1.4em;
}
p {
  font-size: 0.9em;
}

p mark {
  position: relative;
  top: -2px;
  margin-left: 0.2em;
  padding: 0.1em 0.3em;
  font-size: 0.7em;
  background-color: var(--accent-color);
}

.muted {
  color: var(--muted-text-color);
}
img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.episode {
  box-sizing: border-box;
  transform: rotate(0deg);
  background-color: black;
  //background-color: rgba(33, 35, 70, 1);

  padding: 4px 32px 16px 32px;
  color: white;
  //border-radius: 1em;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 3em;
  margin-top: 2.4em;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  -webkit-backface-visibility: hidden;
}

.episode h3 {
  text-shadow: 2px 2px black;
}

.episode:hover {
  transform: scale(1.01);
  transform: translate(-5px, -5px);
  box-shadow: 13px 13px 10px rgba(0, 0, 0, 0.2);
}
.episode p {
  padding: 4px;
  font-size: 0.8em;
  margin-top: 6px;
}
.episode p button {
  transition: transform 0.2s;
}
.episode a {
  margin-right: 1em;
}
button {
  font-family: var(--font-family);
  box-sizing: border-box;
  border-radius: 0.1em;
  //transform: rotate(-1deg);
  border: 1px solid var(--accent-color);
  text-align: center;
  text-shadow: 1px 1px 1px black;
  font-size: 1em;
  padding: 1em 1em 1em 1em;
  cursor: pointer;
  color: white;
  background: none;
  background-color: var(--accent-dark-color);
  text-transform: capitalize;
}
button:hover {
  transform: scale(1.1) rotate(-1deg) translate(0px, 0px);
}
button:focus {
  outline: 0;
}
footer {
  font-family: var(--font-family);
  position: relative;
  z-index: 2;
  max-width: 38rem;
  padding: 2rem;
  font-size: 0.8em;
  margin: auto;
}
.hidden {
  display: none;
}
