@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Rajdhani:wght@300;400;500;600;700&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sofia&family=Sofia+Sans+Condensed:ital,wght@0,1;0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap');

*{
    padding:0;
    margin: 0;
    box-sizing: border-box;

    font-family: 'Rajdhani','Open Sans';
}

.dark{
  background:#000;
  color:#fff;
}

.transmite {
  font-family: 'Rajdhani','Open Sans';
  font-size: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
}

a {
  color: #fff;
  text-decoration: none;
}

.player-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.player{
  width: 200px;
  background:#6b6b6b;
  min-height: 60px;
  border:1px solid #fff;
  box-shadow: 0 0 15px #fff1;
  padding: 10px;
  border-radius: 5px;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.player-sound{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.player-sound img{
  width:50%;
  height:auto;
  object-fit: contain;
}

.player-elements{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.player:hover{
  transform: translateY(-3px);
}

.player-play{
  padding: 10px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border:1px solid #fff;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all .2s;
}

.player-play:hover{
  background:#666;
}

.player-stop, .player-volume{
  padding: 10px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border:1px solid #fff2;
  border-radius: 50%;
  font-size: 20px;
  transition: all .2s;
  position: relative;
}

.player-stop:hover, .player-volume:hover{
  background:#666;
}

.volume-select{
  position: absolute;
  z-index: 1;
  top: 60px;
  width: 100px;
  left: 5px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border:1px solid #fff2;
  border-radius: 5px;
  background: #222;
  overflow: hidden;
  display: none;
}

.volume-select.active{
  display: flex;
}

.volume-select-line{
  width: calc(100% - 15px);
  border:1px solid #999;
  border-radius: 5px;
  position: absolute;
  left: 10px;
}
.volume-selected-line{
  height: 3px;
  background: linear-gradient(90deg, rgba(210, 0, 151, 1) 0%, rgba(210, 0, 151, 1) 25%, rgba(95, 4, 255, 1) 100%);
  border-radius: 5px;
  position: absolute;
  z-index: 1;
  width: calc(100% - 15px);
  left: 10px;
}

.volume-select-circle{
  position: absolute;
  font-size: 17px;
  cursor: pointer;
  position: relative;
  z-index: 5;
  user-select: none; /* Evita que el cursor se seleccione al arrastrar */
  cursor: grab;
  left: calc(100% - 15px);
}
.volume-select-circle:active {
  cursor: grabbing;
}

.hidden{
  opacity: 0;
  position: absolute;
  z-index: -1;
}

