*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container-player{
    color: white;

}

.control-player{
    height: 2.5rem;
    width: 2.5rem;
    background-color: var(--Preto);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

#arrow{
    position: fixed;
    bottom: 90px;
    right: 5px;
    font-size: 1.8rem;
    color: var(--Branco);
    cursor: pointer;
    z-index: 9;
    transition: .4s;
}

#arrow.activePlayer{
   animation: bounce .6s;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-20px);}
	60% {transform: translateY(-10px);}
}


#player{
    width: 100%;
    background-color: var(--Preto);
    height: 80px;
    position: fixed;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    gap: 50px;
    transition: .4s;
    right: -100%;
    z-index: 10;
}

.characteristics{
    width:40%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 80px;
}

.logo-player{
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-sound{
    width: 90%;
    height: 90%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.buttons{
    width: 20%;
    display: flex;
    align-items: center;
    justify-content:center;
    gap: 20px;
}

.buttons i{
    font-size: 2.5rem;
    cursor: pointer;
}

.counter{
    display: block;
}

.container-name{
    width: 80%;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}

.timer{
    width:40%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
}

.counter{
    width: 20%;
}

.activeSlide{
   animation: slide 10s infinite ease-in-out ;
}

#player.activePlayer{
    right: 0%;
}

@keyframes slide {
    0% {
    transform: translateX(100%); /* Inicia fora da tela na direita */
    }
    100% {
    transform: translateX(-175%); /* Desloca completamente para a esquerda */
    }
}    
.progress{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width:80%;
    height: 8px;
    background-color: #ddd;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #292929;
}

.progress-bar{
    background-color:var(--Azul-Ciano);
    height: 7px;
    border-radius: 5px;
}

.sound i{
    font-size: 2rem;
    cursor: pointer;
}

/* Para telas menores, altere para um layout de coluna */
@media screen and (max-width: 1000px) {
   #arrow{
    bottom:90px;
   }
   #arrow.activePlayer{
    bottom: 240px;
   }
    #player{
    padding: 15px;
    height: 230px;
    flex-direction: column;
    gap: 0px;
   }   
   .logo-player{
    width: 150px;
    height: 100px;
   }
   .characteristics{
    width: 100%;
   }
   .buttons{
    width: 60%;
   }
   .timer{
    width: 100%;
   }
}

@media (max-width: 400px){
    .characteristics{
    gap: 15px; 
    }
    .logo-player{
    width: 120px;
    height: 90px;
    }
}