.circle-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  font-family: sans-serif;
  gap: 15px;
}

/* Circle album art */
.circle-art {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 6px;
  position: relative;
  box-shadow: 0 0 25px rgba(255,255,255,0.4),
              0 0 60px rgba(255,255,255,0.2);
  transition: box-shadow 0.6s ease;
}

.circle-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* ← VIKTIG */
  border-radius: 50%;
  background: rgba(0,0,0,0.25);
}


.circle-art img.show {
  opacity: 1;
}

.circle-art.zoom img {
  transform: scale(1.02);
}

/* Glow pulse */
.circle-art.pulse {
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0% { box-shadow: var(--glow); }
  50% { box-shadow: var(--glow-strong); }
  100% { box-shadow: var(--glow); }
}

/* Scrollende artist/track */
.track-info {
  width: 240px;
  overflow: hidden;
  margin: 6px 0 6px 0; /* topp | bunn */
}

.scroll-container {
  overflow: hidden;
  white-space: nowrap;
}

.scroll-text {
  display: inline-block;
  padding-left: 100%;
  font-size: 18px;
  font-weight: 700;
  animation: scroll-text 12s linear infinite;
}

@keyframes scroll-text {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* Volume slider */
/* Modern volum slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 160px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

input[type="range"]:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Webkit (Chrome, Safari) */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #fff;
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
  background: #fff;
}

/* Track styling for Firefox */
input[type="range"]::-moz-range-track {
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}

/* Track styling for IE */
input[type="range"]::-ms-track {
  height: 6px;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type="range"]::-ms-fill-lower {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}
input[type="range"]::-ms-fill-upper {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}
input[type="range"]::-ms-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
}

/* Play/Pause button under volum */
.circle-btn.below {
  margin-top: 7px;
  background: white;          /* hvit knapp */
  border-radius: 50%;
  border: none;
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-btn svg {
  width: 30px;
  height: 30px;
  fill: black;               /* svarte ikoner */
}

#volume {
  margin-top: 6px;
  margin: 6px auto 0 auto;
}
/* Volume wrapper */
.volume-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

/* Speaker icon */
.volume-icon {
  width: 20px;
  height: 20px;
  fill: rgb(255, 255, 255);
  opacity: 0.9;
}
.transparent-background-box {
    background-color: blue;
    border: 2px solid black; /* Optional: adds a border to show the box boundaries */
    padding: 10px;
}
.my-div {
  background-color: rgba(255,255,255,0.5);
}