:root {
  --player-height: 115px;
  --player-background-color: transparent;
  --controls-button-bg-color: transparent;
  --controls-button-bg-active: #9a031e;
  --controls-button-text-color: rgba(220, 220, 220, 1);
  --controls-button-bg-hover-color: #00a6fb;
  --playlist-button-text-color: #f5e6df;
  --playlist-border-color: hotpink;
  --mute-button-bg-color: transparent;
  --playlist-font-family: Verdana, serif;
  --playlist-text-color: #dcdcdc;
  --playlist-bg: #1f222a;
  --playlist-bg-hover: #323744;
  --playlist-bg-active: #293f2c;

  --tooltip-bg-color: transparent; /* Background color of the tooltip */
  --tooltip-text-color: white; /* Text color of the tooltip */
  --tooltip-padding: 5px 10px; /* Padding of the tooltip */
  --tooltip-border-radius: 5px; /* Border radius of the tooltip */
  --tooltip-font-size: 12px; /* Font size of the tooltip */
  --tooltip-transition: opacity 0.3s; /* Transition effect of the tooltip */
  --tooltip-distance: -25px; /* Distance of tooltip from the top */
}

body {
  background: #0a0a0a;
  overflow: hidden;
}
.parent-container {
  width: 425px;
}

#mini-audio-player {
  height: var(--player-height);

  /*background: var(--player-background-color);*/
  /*max-width:600px;*/

}
.wrapper {

}
#custom_player_controls {

}
#playlist {
  /*display:none;*/
  position: absolute;
  z-index: 0;
  margin-top: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  height: 68px;
  color: var(--playlist-text-color);
  letter-spacing: 1px;
}

#mini-audio-player.playing #playlist {

}
#playlist.open #playlist ul {
  height: 70px;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

#playlist ul {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 70px;
  overflow: scroll;
  width: 100rem;
}

#playlist li {
  height: 70px;
  padding-left: 30px;
  display: grid;
  align-content: center;
  cursor: pointer;
  background:var(--playlist-bg);
  border-bottom:1px solid rgba(255,255,255,0.5)
}
#playlist li.active,
#playlist li.active:hover{
  background:var(--playlist-bg-active);

}

#playlist li:hover{
  background:var(--playlist-bg-hover);

}


#playlist li h2, #playlist li h3 {
  margin: 0;
  line-height: 1;
}

#playlist li h2 {
  font-size: 18px;
  text-transform:uppercase;
  padding-bottom:3px;
}

#playlist li h3 {
  font-size: 16px;
  text-transform:lowercase;
}

#mini-audio-player .spinning-album {
  display:none;
  position: absolute;
  z-index: 3;
  top: -40px;
  left: -30px;
  width: 125px;
  aspect-ratio: 1/1;
}

#mini-audio-player.playing .spinning-album {
  top: -90px;
  transform: scale(1.10);
}
#record {transition: all 0.5s ease-in-out;}

.spinning-album img {
  width: 100%;
}

#mini-audio-player.playing img {
  animation: spin 5s linear infinite;
}

#record, #playlist {
  transition: all 0.5s ease-in-out;
}

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

.player-controls {
  position: absolute;
  width: calc(100% - 60px);

  top: 5px;
  z-index: 2;
  height: 100px;
  transition: all 0.5s ease-in-out;
}
.player-controls button ,
.player-controls a{
  font-size:20px !important;
  text-transform:uppercase;
  border-radius:5px;

}
#loopBtn.is-active, #autoPlayToggleBtn.is-active {
  /*background:var(--controls-button-bg-active)*/
}
.range {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60% 40%;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.play-songs {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#currentTime, #duration {
  font-size: 8px;
  color: white;
}

.separator {
  padding-left: 5px;
  padding-right: 5px;
  color: white;
}

.player-controls button,
.player-controls a{
  background: var(--controls-button-bg-color);
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
  color: var(--controls-button-text-color);
  font-size: 18px;
  margin: 0;
  cursor: pointer;
  border-width: 0px;
  transition: all 0.5s ease-in-out;
  text-decoration: none;
}

@media only screen and (max-width: 768px) {
  #mini-audio-player {
    transform:scale(1.5);
  }
  #root{
    transform:scale(0.55);
  }
}
.player-controls button:hover,
.player-controls a:hover{
  background: var(--controls-button-bg-hover-color);
}

#loopBtn {
  margin-left:10px;
  margin-right:5px;
}
#playPauseBtn {margin-left:2px;margin-right:2px;}

.range {
  display: flex;
  align-items: center;
  width: 60%;
  margin-top: 15px;
  margin-bottom: 10px;
}

input[type="range"] {
  width: 100%;
}

#currentTime, .separator, #duration {
  font-size: 15px;
  color: white;
}

#currentTime {
  padding-left: 20px;
}
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* Add underline effect */
}

.tooltip::after {
  content: attr(data-tooltip); /* Get the default tooltip content from data attribute */
  position: absolute;
  background-color: var(--tooltip-bg-color, black); /* Default background color */
  color: var(--tooltip-text-color, white); /* Default text color */
  padding: var(--tooltip-padding, 5px 10px);
  border-radius: var(--tooltip-border-radius, 5px);
  font-size: var(--tooltip-font-size, 12px);
  white-space: nowrap; /* Prevent tooltip from breaking into multiple lines */
  visibility: hidden; /* Hide tooltip by default */
  opacity: 0; /* Make tooltip transparent */
  transition: var(--tooltip-transition, opacity 0.3s); /* Add transition effect */
  top: var(--tooltip-distance, 5px); /* Show tooltip 10px from the top */
  left: 50%;
  transform: translateX(-50%);
}

/* Change the tooltip text when the element has the class is-active */
.tooltip.is-active::after {
  content: attr(data-active-tooltip); /* Get the active tooltip content from data attribute */
}

.tooltip:hover::after {
  visibility: visible; /* Show tooltip on hover */
  opacity: 1; /* Make tooltip fully opaque */
}


@media only screen and (max-width: 768px) {
}

.link {color:white;font-weight:800;letter-spacing:1px;text-decoration:none;
  transition: all 0.5s ease-in-out
}
.link:hover {color:#003554}
.copy {text-align:center}

* {
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

#root {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index:10;
}
#root #box {
  position: relative;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 600px;
  height: 400px;
  box-shadow: 0 28px 30px -10px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
}
#root #box #top {
  width: inherit;
  height: inherit;
}
#root #box #top .equalizer {
  background: #4f5463;
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 330px;
  transform: translateX(-50%);
}
#root #box #top .equalizer .bars {
  background: #303239;
  position: relative;
  height: inherit;
}
#root #box #top .equalizer .bars label {
  position: absolute;
  top: -20px;
  left: -40px;
  background: #2c2f3a;
  color: #f00;
  width: 50px;
  height: 50px;
  border-radius: 10px 0 0 10px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#root #box #top .equalizer .bars input#play {
  position: absolute;
  bottom: -30px;
  left: 0;
}
#root #box #top .equalizer .bars input#play:checked ~ .bar-gray {
  animation: bars-move 8s linear infinite alternate;
}
#root #box #top .equalizer .bars input#play:checked + label {
  color: #0f0;
}
#root #box #top .equalizer .bars .bar-1 {
  height: 22px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 14;
}
#root #box #top .equalizer .bars .bar-1.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-1.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-1.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-2 {
  height: 44px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 13;
}
#root #box #top .equalizer .bars .bar-2.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-2.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-2.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-3 {
  height: 66px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 12;
}
#root #box #top .equalizer .bars .bar-3.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-3.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-3.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-4 {
  height: 88px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 11;
}
#root #box #top .equalizer .bars .bar-4.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-4.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-4.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-5 {
  height: 110px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 10;
}
#root #box #top .equalizer .bars .bar-5.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-5.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-5.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-6 {
  height: 132px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 9;
}
#root #box #top .equalizer .bars .bar-6.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-6.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-6.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-7 {
  height: 154px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 8;
}
#root #box #top .equalizer .bars .bar-7.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-7.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-7.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-8 {
  height: 176px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 7;
}
#root #box #top .equalizer .bars .bar-8.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-8.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-8.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-9 {
  height: 198px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 6;
}
#root #box #top .equalizer .bars .bar-9.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-9.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-9.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-10 {
  height: 220px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 5;
}
#root #box #top .equalizer .bars .bar-10.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-10.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-10.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-11 {
  height: 242px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 4;
}
#root #box #top .equalizer .bars .bar-11.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-11.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-11.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-12 {
  height: 264px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 3;
}
#root #box #top .equalizer .bars .bar-12.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-12.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-12.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-13 {
  height: 286px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 2;
}
#root #box #top .equalizer .bars .bar-13.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-13.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-13.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-14 {
  height: 308px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 1;
}
#root #box #top .equalizer .bars .bar-14.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-14.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-14.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-15 {
  height: 330px;
  width: 100%;
  position: absolute;
  bottom: 0;
  border: 4px solid #303239;
  z-index: 0;
}
#root #box #top .equalizer .bars .bar-15.verde {
  background: #accc35;
}
#root #box #top .equalizer .bars .bar-15.vermelho {
  background: #ff332b;
}
#root #box #top .equalizer .bars .bar-15.maximo {
  background: #ad1c1c;
}
#root #box #top .equalizer .bars .bar-gray {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 20;
  background: #2c2f3a;
}
#root #box #top #mask {
  position: absolute;
  top: 0;
  left: 0;
  height: inherit;
  width: inherit;
  display: grid;
  grid-template-rows: 70px auto 70px;
}
#root #box #top #mask .top {
  border-radius: 10px 10px 0 0;
  position: relative;
  background: #2c2f3a;
  overflow:hidden;
}
#root #box #top #mask .middle {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 430px repeat(3, 1fr);
  grid-gap: 2px;
}
#root #box #top #mask .middle > * {
  background: #2c2f3a;
}
#root #box #top #mask .bottom {
  border-radius: 0 0 10px 10px;
  position: relative;
  background: #2c2f3a;
}
#root #box #top #deck {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 22;
  transform: translate(-50%, -50%);
}
#root #box #top #deck #tape {
  background: #fff;
  width: 380px;
  height: 242px;
  border-radius: 10px;
  position: relative;
  /*box-shadow: inset 0 5px 90px 30px #333, inset 0 48px 40px -51px #333;*/
}
#root #box #top #deck #tape .screw {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  box-shadow: inset -20px -20px 5px -25px #333;
}
#root #box #top #deck #tape .screw::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  background: #333;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
#root #box #top #deck #tape .screw:nth-child(1) {
  top: 10px;
  left: 10px;
}
#root #box #top #deck #tape .screw:nth-child(2) {
  top: 10px;
  right: 10px;
}
#root #box #top #deck #tape .screw:nth-child(3) {
  bottom: 10px;
  right: 10px;
}
#root #box #top #deck #tape .screw:nth-child(4) {
  bottom: 10px;
  left: 10px;
}
#root #box #top #deck #tape .screw:nth-child(5) {
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
#root #box #top #deck #tape #front {
  position: absolute;
  background: #f6c13e;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 65px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
#root #box #top #deck #tape #front #title {
  position: absolute;
  top: 0;
  right: 0;
  height: 60px;
  width: 100%;
  background: #000;
  box-shadow: inset 0 0 1px #fff;
}
#root #box #top #deck #tape #front #title #logo {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  height: 50px;
  width: 50px;
  background: #fff url("http://vintagecassettes.com/_img/basf1.gif") no-repeat -2px -3px;
  background-size: 250px;
}
#root #box #top #deck #tape #front #title #phrases {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 50px;
  width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f6c13e;
  font-size: 31px;
  line-height: 28px;
  letter-spacing: -2px;
}
#root #box #top #deck #tape #front #title #phrases #type {
  font-weight: 300;
}
#root #box #top #deck #tape #front #title #phrases #description {
  font-weight: 800;
  text-transform: uppercase;
}
#root #box #top #deck #tape #front #title #duration {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 50px;
  width: 50px;
  color: #f6c13e;
  font-size: 68px;
  font-weight: 600;
  line-height: 45px;
}
#root #box #top #deck #tape #front #bobines {
  width: 200px;
  height: 51px;
  position: absolute;
  bottom: 30px;
  background: #666;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 30px;
  overflow: hidden;
}
#root #box #top #deck #tape #front #bobines:before {
  position: absolute;
  content: "";
  width: inherit;
  height: inherit;
  background: #fff;
  z-index: 1;
  opacity: 0.3;
  box-shadow: inset 0 0 10px 2px #000;
}
#root #box #top #deck #tape #front #bobines .bobine {
  position: absolute;
  height: 51px;
  width: 51px;
  background: #4f5463;
  border-radius: 50%;
  border: 10px solid #eaeaea;
}
#root #box #top #deck #tape #front #bobines .bobine:first-child {
  left: 0;
  animation: rotate-play-bobine 3s linear infinite;
}
#root #box #top #deck #tape #front #bobines .bobine:first-child::before {
  content: "";
  position: absolute;
  height: 51px;
  width: 51px;
  border-radius: 50%;
  border: 10px solid #000;
  top: -20px;
  left: -20px;
}
#root #box #top #deck #tape #front #bobines .bobine:last-child {
  right: 0;
  animation: rotate-play-bobine 5s linear infinite;
}
#root #box #top #deck #tape #front #bobines .bobine:last-child::before {
  content: "";
  position: absolute;
  height: 51px;
  width: 51px;
  border-radius: 50%;
  border: 50px solid #000;
  top: -60px;
  right: -60px;
}
#root #box #top #deck #tape #front #bobines .bobine div {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #eaeaea;
}
#root #box #top #deck #tape #front #bobines .bobine div:nth-child(1) {
  transform: rotate(193deg);
  top: 1px;
  left: 16px;
}
#root #box #top #deck #tape #front #bobines .bobine div:nth-child(2) {
  transform: rotate(257deg);
  top: 10px;
  left: 25px;
}
#root #box #top #deck #tape #front #bobines .bobine div:nth-child(3) {
  transform: rotate(128deg);
  top: 22px;
  left: 22px;
}
#root #box #top #deck #tape #front #bobines .bobine div:nth-child(4) {
  transform: rotate(156deg);
  top: 19px;
  left: 2px;
}
#root #box #top #deck #tape #front #bobines .bobine div:nth-child(5) {
  transform: rotate(189deg);
  top: 26px;
  left: 11px;
}
#root #box #top #deck #tape #front #bobines .bobine div:nth-child(6) {
  transform: rotate(220deg);
  top: 6px;
  left: 3px;
}
#root #box #top #deck #tape #front #side {
  width: 10px;
  height: 60px;
  position: absolute;
  bottom: -24px;
  color: #000;
  left: 10px;
  font-size: 22px;
  font-weight: 800;
}
#root #box #top #deck #tape #front #soundtrack {
  height: 19px;
  position: absolute;
  bottom: 6px;
  color: #000;
  left: 10px;
  right: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid #000;
  font-family: "Nothing You Could Do", cursive;
}
#root #box #top #deck #tape #cylinders {
  width: 231px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
#root #box #top #deck #tape #cylinders::before {
  content: "";
  border-bottom: 57px solid #555;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  height: 0;
  width: 233px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  z-index: -1;
}
#root #box #top #deck #tape #cylinders::after {
  content: "";
  border-bottom: 54px solid #969695;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  height: 0;
  position: absolute;
  bottom: 0;
  border-radius: 5px;
  width: 98%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}
#root #box #top #deck #tape #cylinders .hole {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #000;
  z-index: 1;
}
#root #box #top #deck #tape #cylinders .hole:nth-child(1) {
  top: -20px;
  left: 10px;
}
#root #box #top #deck #tape #cylinders .hole:nth-child(2) {
  top: -30px;
  left: 40px;
}
#root #box #top #deck #tape #cylinders .hole:nth-child(3) {
  top: -30px;
  right: 40px;
}
#root #box #top #deck #tape #cylinders .hole:nth-child(4) {
  top: -20px;
  right: 10px;
}

@keyframes rotate-play-bobine {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes bars-move {
  2% {
    height: 275px;
  }
  4% {
    height: 100px;
  }
  6% {
    height: 150px;
  }
  8% {
    height: 275px;
  }
  10% {
    height: 150px;
  }
  12% {
    height: 225px;
  }
  14% {
    height: 125px;
  }
  16% {
    height: 250px;
  }
  18% {
    height: 150px;
  }
  20% {
    height: 150px;
  }
  22% {
    height: 75px;
  }
  24% {
    height: 225px;
  }
  26% {
    height: 175px;
  }
  28% {
    height: 150px;
  }
  30% {
    height: 50px;
  }
  32% {
    height: 275px;
  }
  34% {
    height: 225px;
  }
  36% {
    height: 175px;
  }
  38% {
    height: 50px;
  }
  40% {
    height: 150px;
  }
  42% {
    height: 225px;
  }
  44% {
    height: 175px;
  }
  46% {
    height: 75px;
  }
  48% {
    height: 100px;
  }
  50% {
    height: 250px;
  }
  52% {
    height: 175px;
  }
  54% {
    height: 175px;
  }
  56% {
    height: 125px;
  }
  58% {
    height: 175px;
  }
  60% {
    height: 250px;
  }
  62% {
    height: 50px;
  }
  64% {
    height: 75px;
  }
  66% {
    height: 175px;
  }
  68% {
    height: 75px;
  }
  70% {
    height: 200px;
  }
  72% {
    height: 75px;
  }
  74% {
    height: 275px;
  }
  76% {
    height: 200px;
  }
  78% {
    height: 200px;
  }
  80% {
    height: 200px;
  }
  82% {
    height: 275px;
  }
  84% {
    height: 100px;
  }
  86% {
    height: 125px;
  }
  88% {
    height: 250px;
  }
  90% {
    height: 125px;
  }
  92% {
    height: 225px;
  }
  94% {
    height: 275px;
  }
  96% {
    height: 225px;
  }
  98% {
    height: 175px;
  }
  100% {
    height: 250px;
  }
}
/* === TAPE / BOBINES: default stopped, animate only when #tape.active === */
#tape .bobine,
#tape .bobine:first-child,
#tape .bobine:last-child {
  animation: none !important; /* stop any previously applied animation */
}

/* Active state: start spinning */
#tape.active .bobine:first-child {
  animation: rotate-play-bobine 3s linear infinite !important;
}
#tape.active .bobine:last-child {
  animation: rotate-play-bobine 5s linear infinite !important;
}

/* === EQUALIZER: default stopped, animate only when .equalizer.active === */
.equalizer .bars .bar-gray {
  animation: none !important;
}

/* When .equalizer gets .active, run the bars animation */
.equalizer.active .bar-gray {
  animation: bars-move 8s linear infinite alternate !important;
}

/* Optional: visually indicate active tape (for testing) */
#tape.active { box-shadow: 0 0 12px rgba(30,144,255,0.5); }
.equalizer.active .bars { outline: 2px solid rgba(30,144,255,0.075); }

.equalizer.active .bar-gray {
  animation: none !important;
}

.equalizer .bars div[class^="bar-"] {
  border-radius: 2px;
  width: 100%;
  box-shadow: 0 0 10px rgba(255, 150, 50, 0.4);
  transition: height 0.1s linear, background-color 0.1s linear, box-shadow 0.1s linear;
}

/* Moody full-screen background overlay */
#mood-overlay {
  display:none;
  position: absolute;
  top: 0;
  left: 0;
  right:0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    135deg,
    rgba(255, 120, 40, 0.8) 0%,
    rgba(255, 0, 150, 0.6) 25%,
    rgba(0, 255, 100, 0.5) 50%,
    rgba(0, 200, 255, 0.4) 75%,
    rgba(255, 255, 255, 0.3) 100%
  );
  pointer-events: none; /* ensures it doesn’t block clicks */
  z-index: 2;
  transition: background 0.6s ease, filter 0.6s ease;
  filter: brightness(0.2) contrast(1.1);
}

/* Tape glow / shadow, bigger and moodier */
#tape-light-overlay {
  display:none;
  position: absolute;
  top: 0;
  left: 0;
  right:0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  mix-blend-mode: lighten;
  filter: blur(100px);
  opacity: 1;
  transition: background 0.3s ease, opacity 0.3s ease;
  z-index: 3;
  background: linear-gradient(
    135deg,
    rgba(255, 120, 40, 0.8) 0%,
    rgba(255, 0, 150, 0.6) 25%,
    rgba(0, 255, 100, 0.5) 50%,
    rgba(0, 200, 255, 0.4) 75%,
    rgba(255, 255, 255, 0.3) 100%
  );
}

#downloadBtn {
  color:#FFF !important;
  font-size:1.25rem;
}