html, body {
  padding: 0em;
  margin: 0em;
  color: white;
  background-color: #252525;
  font-family: sans-serif;
}

#continueListening h3 {
  margin-top: 0;
}

hr {
  color: white;
  width: 100%;
}

form, .form {
  display: flex;
  flex-wrap: wrap;
  padding: 1em;
  gap: 0.5em;
}

input[type="submit"], button, .button {
  outline: none;
  border: none;
  color: white;
  background-color: #252525;
  border-radius: 1em;
  padding: 0.3em;
  flex-grow: 1;
  text-align: center;
}

input[type="text"], input[type="password"] {
  flex-grow: 1;
}

.header {
  font-weight: bold;
  background-color: #3b3b3b;
  padding: 0.5em;
  box-shadow: rgba(0, 0, 0, 0.6) 0px 0.2em 0.4em 0px;
}

.content {
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0em 1em 1em 1em;
}

.content #player, .content media-player {
  width: 100%;
}

.content #queue {
  width: 100%;
}

.card {
  width: calc(50% - 0.5em);
  box-sizing: border-box;
  margin-bottom: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #3b3b3b;
  box-shadow: rgba(0, 0, 0, 0.6) 0px 0.2em 0.4em 0px;
}

.full {
  width: 100%;
}

.headerLinkLeft {
  padding-right: 0.5rem;
}

a {
  text-decoration: none;
  color: white;
}

.headerLinkRight {
  padding-left: 0.5rem;
  float: right;
  display: block;
}

img {
  width: 100%;
}

.header img {
  height: 1.5em;
  width: unset;
}

#player, media-player {
  /* Fixes space above and below the audio element */
  font-size: 0;
}

#player span, media-player span {
  font-size: 0.8rem;
  display: table;
  margin: 0 auto;
  font-weight: bold;
}

#player audio, media-player audio {
  width: 100%;
}

#player img, media-player img {
  width: 100%;
}

.podcast {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.podcast span {
  display: table;
  margin: 0 auto;
  text-align: center;
}

.podcastEpisode:hover {
  cursor: pointer;
}

.podcastEpisode {
  display: flex;
  height: 10em;
}

.podcastEpisode img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.podcastEpisode div {
  padding: 1em;
  overflow-y: hidden;
  font-size: 0.8em;
  width: 100%;
}

.podcastEpisode div {
  font-weight: bold;
}

.podcastEpisode div p {
  font-weight: normal;
}

.progressBar {
  display: block;
  height: 0.2em;
  border-top: 0.2em solid #3b3b3b;
  background-color: red;
}

.warning {
  background-color: yellow;
  color: black;
}

.warning span {
  display: table;
  margin: 0 auto;
  text-align: center;
}
