body {
  background-color: #0e2a47;
  margin: 0;
  box-sizing: border-box;
}

.play-layer-wrapper {
  position: relative;
}

.play-layer {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100%;
  height: 100vh;
}

.sound-wave {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}
.sound-wave svg {
  display: block;
  max-width: 63rem;
  height: auto;
}

.sound-wave:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 40rem;
  z-index: -1;
  top: 0;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(#1389e933, transparent 60%, transparent 100%);
}

.progress-bar {
  height: 10px;
  width: 35%;
  border-radius: 30px;
  border: 2px solid #fff;
  background-color: #fff;
  margin: -2rem auto 6rem;
}

.progress-color {
  background: #1389e9;
  height: 100%;
  width: 0;
  border-radius: 30px;
  transition: width 4s linear;
}

.d-none {
  display: none;
}

/* New Styles for track-info */
#track-info {
  color: white; /* White text */
  font-size: 1.5rem; /* Adjust size as needed */
  text-align: center; /* Center the text */
  position: absolute;
  top: 10%; /* Adjust position if necessary */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  line-height: 1.6rem; /* Adjust line spacing */
  white-space: pre-wrap; /* Preserve new lines */
}

/* Ensures layout stays steady regardless of text length */
#track-info::before {
  content: '\A'; /* Add a line break to maintain space when no text */
  display: block;
  visibility: hidden;
  height: 2rem; /* Adjust to ensure the layout stays consistent */
}

@keyframes scale1 {
  0% {
    transform: scaleY(0.6);
  }
  40% {
    transform: scaleY(1.2);
  }
  100% {
    transform: scaleY(0.6);
  }
}
.bar-scale1 {
  animation: scale1 0.6s infinite;
  transform-origin: center;
}

@keyframes scale2 {
  0% {
    transform: scaleY(0.5);
  }
  30% {
    transform: scaleY(1.6);
  }
  100% {
    transform: scaleY(0.5);
  }
}
.bar-scale2 {
  animation: scale2 0.6s infinite;
  transform-origin: center;
}

@keyframes scale3 {
  0% {
    transform: scaleY(1.5);
  }
  70% {
    transform: scaleY(0.5);
  }
  100% {
    transform: scaleY(1.5);
  }
}
.bar-scale3 {
  animation: scale3 0.6s infinite;
  transform-origin: center;
}

.stop-animation {
  animation-duration: 0s;
}

.audio-buttons {
  position: relative;
}

.play-button svg {
  box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.65);
  border-radius: 50px;
}

.play-button,
.pause-button {
  width: 46px;
  height: 46px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
