.hidden {
  display: none;
}

body {
  background-color: #4a2e87;
  font-family: monospace;
}

div {
  border-radius: 4px;
}

.container {
  width: 60%;
  max-width: 400px;
  margin: auto;
}

.station {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid black;
  background-color: #ffffff;
  padding: 8px;
  min-height: 160px;
}

.station::before {
  display: block;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0;
  transition: opacity 2s linear;
  content: "";
  pointer-events: none;
}

.station.loading::before {
  content: "loading...";
  padding-top: 12px;
  color: yellow;
  text-align: center;
  opacity: .4 !important;
  transition: opacity 2s linear;
}

.controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
  margin-block: 40px;
  padding: 20px;
}

.dial {
  width: 80%;
  margin: auto;
}

.plyr {
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.plyr.plyr--loading::after {
  content: "Loading..."; /* You can replace this with an image or spinner */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF; /* Adjust color to fit your design */
  font-size: 20px; /* Adjust font size as needed */
  z-index: 10;
}
