html {
  height: 100%;
}

/* current song hilight */

#history > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(2) {
  background-color: #8c1e18;
}

body {
  font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Helvetica, sans-serif;
  background: #dbd9d9;
  margin: 0;
  width: 100%;
  margin: auto;
  font-size: 15px;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sections ---------------------------------- */

/* main flex container */

.flex_1 {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  width: 100%;
  margin: auto;
  background: #bababa;
}

.links {
  display: flex;
  justify-content: center;
  padding: 5px;
}

.box {
  display: inline-block;
  padding: 20px;
  border: 1px solid white;
  text-decoration: none;
  color: white;
  background-color: #8c1e18;
  font-size: 15px;
  font-weight: bolder;
}

.quality {
  color: wheat;
  font-size: 13px;
}

.player {
  justify-content: center;
  text-align: center;
}

.background {
  flex: 2;
  border-bottom: 7px solid #bcbcbc;
  background: #510909;
  padding: 0.75em 0;
  /* border-radius: 50px; */
  background: #f7f7f7;
  margin: 1.222em;
  box-shadow: 0 0 10px 1px gray;
}

.iconify {
  color: black !important;
}

.audioPlayer {
  min-height: 100%;
  background-color: #e1e1e1;
  text-align: left;
  color: black;
  box-shadow: inset -7px 0 9px -7px rgba(134, 130, 130, 0.24);
  flex: 1;
  display: flex;
  flex-direction: row;
  border-bottom: 1px #cac9c9 solid;
}

.aroundbutton {
  display: flex;
  align-items: center;
  justify-content: center;
}

.playbutton {
  position: relative;
  z-index: 1;
  box-sizing: content-box;
  display: block;
  border-radius: 50%;
  width: 10px;
  height: 15px;
  padding: 26px 36px 26px 26px;
}

/* .playbutton:before {
      content: "";
      position: absolute;
      z-index: 0;
      left: 50%;
      top: 50%;
      transform: translateX(-50%) translateY(-50%);
      display: block;
      width: 75px;
      height: 75px;
      background: #9b4d4d;
      border-radius: 50%;
      animation: pulse-border 2.2s ease-out infinite;
  } */

.playbutton:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 75px;
  height: 75px;
  background: #b22c25;
  border-radius: 50%;
  transition: all 200ms;
}

/* .playbutton:hover:after {
      background-color: darken(#fa183d, 10%);
  } */

.playbutton img {
  position: relative;
  z-index: 3;
  max-width: 100%;
  width: auto;
  height: auto;
}

/* .playbutton span {
      display: block;
      position: relative;
      z-index: 3;
      width: 0;
      height: 0;
      border-left: 22px solid #fff1f1;
      border-top: 15px solid transparent;
      border-bottom: 15px solid transparent;
  } */

/* animation for the play button */

/* @keyframes pulse-border {
      0% {
          transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
          opacity: 1;
      }
      100% {
          transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
          opacity: 0;
      }
  } */

#song {
  font-weight: bold;
  color: black;
  margin: 0.9em;
  padding: 0.9em;
  background-color: brown;
  border: wheat solid 2px;
}

#artist {
  font-weight: bold;
  font-size: 15px;
  color: black;
}

#vol-control {
  appearance: slider-horizontal;
  cursor: default;
  border: initial;
  margin: 2px;
  height: 12px;
  background: whitesmoke;
  border-radius: 15px;
  filter: hue-rotate(140deg) brightness(0.9);
}

i.fa-volume-down {
  margin-right: -8px;
  right: 0;
  margin: 2px;
  font-size: 15px;
}

.fa-pause {
  width: 1.2em !important;
}

.fa-play {
  width: 1.35em !important;
}

i.fa-volume-up {
  margin-right: -8px;
  right: 0;
  margin: 2px;
  font-size: 15px;
}

/* offsets the inner parts of the player */

.controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #5f130f;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 600px) {
  .flex_1 {
    max-width: 60%;
  }
}

#nojs_message {
  background: #726f6f;
  color: white;
  font-weight: bolder;
  line-height: 1.5em;
  padding: 1em;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

input[type="checkbox"]:focus {
  outline: 0;
}

.toggle {
  height: 28px;
  width: 48px;
  border-radius: 16px;
  display: inline-block;
  position: relative;
  margin: 1em 0.3em;
  border: 2px solid #a2a2a4;
  background: linear-gradient(180deg, #494a50 0%, #29292b 100%);
  transition: all 0.2s ease;
}

.toggle:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px rgba(44, 44, 44, 0.2);
  transition: all 0.2s cubic-bezier(0.5, 0.1, 0.75, 1.35);
}

.toggle:checked {
  /*! border-color: #B22B2B; */
  background: #b22c25;
  margin: 1em 0.3em;
}

.toggle:checked:after {
  transform: translatex(20px);
}

.pressed {
  display: block;
  position: relative;
  z-index: 3;
  background: #fff1f1;
  width: 22px !important;
  height: 22px !important;
  border-left: 0px solid #fff1f1 !important;
  border-top: 0px solid transparent !important;
  border-bottom: 0px solid transparent !important;
}

.on {
  color: white;
  z-index: 100;
  display: block;
  visibility: visible;
  position: inherit;
  font-size: 15px !important;
  border: none;
}

/* .loader {
      border: 3px solid #eae7e7;
      border-top-style: solid;
      border-top-width: 5px;
      -webkit-animation: spin 1s linear infinite;
      animation: spin 1.4s ease-out infinite;
      border-radius: 50%;
      width: 100px;
      height: 75px;
      background: #c74d47;
  } */

#loader {
  visibility: hidden;
  position: absolute;
  display: block;
  margin: auto;
  overflow: visible;
}

.top {
  height: 400px;
  position: relative;
  background-image: url(tradio.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#history {
  text-align: left;
  font-size: 15px;
  height: auto;
}

#history > table {
  border-collapse: collapse;
  width: 600px;
}

#history > table:nth-child(1) > tbody:nth-child(1) > tr {
  border-bottom: rgb(77, 77, 77) solid 1px;
  /* Collapse the original line */
}

#history > table:nth-child(1) > tbody:nth-child(1) > tr td {
  padding-top: 0.1em;
  /* Collapse the original line */
}

#history > table:nth-child(1) > tbody:nth-child(1) > tr td:nth-child(3) {
  text-indent: -9999px;
  line-height: 0;
  /* Collapse the original line */
}

#history > table:nth-child(1) > tbody:nth-child(1) > tr td:nth-child(1) {
  text-indent: -9999px;
  line-height: 0;
  /* Collapse the original line */
}

#history > table:nth-child(1) > tbody:nth-child(1) > tr td:nth-child(1)::after {
  content: "\f001";
  text-indent: 0;
  display: block;
  font-family: FontAwesome;
  padding: 0.65em;
  font-size: x-large;
  color: antiquewhite;
  /* New content takes up original line height */
}

#history
  > table:nth-child(1)
  > tbody:nth-child(1)
  > tr:nth-child(2)
  td:nth-child(1)::after {
  content: "\f025 ";
  font-weight: bold;
}

#history > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(2) {
  display: none;
}

#history > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(2) {
  font-weight: bolder;
}

#history > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) {
  display: none;
}

#history
  > table:nth-child(1)
  > tbody:nth-child(1)
  > tr:nth-child(2)
  > td:nth-child(3) {
  display: none;
}

/* Safari */

/* @-webkit-keyframes spin {
      0% {
          -webkit-transform: rotate(0deg);
      }
      100% {
          -webkit-transform: rotate(360deg);
      }
  } */

/* @keyframes spin {
      0% {
          transform: rotate(0deg);
      }
      100% {
          transform: rotate(360deg);
      }
  } */

.quality {
  display: flex;
  flex-direction: row;
  margin-top: 0.5em;
  padding-top: 0.25em;
  justify-content: center;
  border-top: 1px solid #c8c8c8;
}

/* coloring */

html {
  background: #121212;
}

.background {
  background-color: #161616;
  box-shadow: 0 0 10px 1px #151414;
  border-color: #5f130f;
}

#artist {
  margin-top: 0.25em;
}

#artist,
#song {
  color: white;
  width: 450px;
}

body {
  box-shadow: none;
  background: #121212;
}

p,
a,
h1,
h2,
h3 {
  color: white;
}

.right {
  background: #181a1b;
  box-shadow: none;
  border-bottom: 7px solid #8c1e18;
}

.flex_1 {
  background: #232323;
  box-shadow: none;
}

.iconify {
  color: white !important;
}

.loader {
  border: 3px solid #181a1b;
}
