body{
    margin: 0;
    padding: 0;
    height:100vh;
    width: 100%;
    background: #2c3e50;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #3498db, #2c3e50);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #3498db, #2c3e50); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    font-family: 'Popins', sans-serif;   
}
button{
    border:none;
    outline: none;
    background: none;
    cursor: pointer;
}
.music-container{
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.music-content{
    position: relative;
   width: min(90%, 300px);
    height: 480px;
    background-color: #000;
    border-width: 8px 4px !important;
    border: solid;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(0,0,0, .52);
}
#playlist-panel {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10,10,10,0.9);
    color: white;
    padding: 10px;
    overflow-y: auto;
    display: none;
    z-index: 9999; 
}

#playlist-panel.active {
    display: block;
}

#track-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

#track-list li {
    padding: 8px 12px;
    border-bottom: 1px solid #444;
    cursor: pointer;
}

#track-list li:hover {
    background: #333;
}

#track-list li {
    padding: 5px;
    border-bottom: 1px solid #333;
    cursor: pointer;
}
#track-list li:hover {
    background-color: #222;
}

#track-list li.active {
    background-color: #444;
    color: #f1cf0f;
    font-weight: bold;
    border-radius: 6px;
}

#bg-image img{
    width:105%;
    height: 105%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
    filter: blur(4px);
    -webkit-filter: blur(3px);
}
.blacklayer{
    height:450px;
    width:100%;
    background-color: rgba(0,0,0 .404);
    position: absolute;
    z-index: 2;
}
#menu{
    position: relative;
    z-index: 3;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#menu img{
    width: 15px;
    height: 15px;
    cursor: pointer;
}
#volume-container{
    position: relative;
    width: 100%;
    height: 15px;
    z-index: 3;
    display: flex;
    justify-content:center;
    align-items: center;
}
#volume-container img{
    width: 15px;
    height: 15px;
    margin: 0 5px;
}
.slider{
    width: 110px;
    height: 1px !important;
    -webkit-appearance: none;
    border-radius: 10px;
    background-color: #fff;
    z-index: 100;
    outline: nome;
    position: relative;
}
.slider::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background-color: #e62c2f;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    transform: scale(1);
}
.slider:active::-webkit-slider-thumb{
    transform: scale(1.2);
}
#music-image{
    position: relative;
    width: 100%;
    height: 215px;
    z-index: 3;
}
#circle-image{
    position: absolute;
    top: -33%;
    left: 50%;
    transform: translate(-50%,50%);
    width: 120px;
    height: 120px;
    background-color: #000;
    border-radius: 50%;
    border: 5px solid rgba(221,221,221,0.897);
    overflow: hidden;
}
#music-image img{
    width: 100%;
    height: 100%;
     /* The animation part: */
     animation-name: spin;
     animation-duration: 10s;
     animation-iteration-count: infinite;
     animation-timing-function: linear;
}
.paused {
    animation-play-state: paused !important;
}

#music-title{
    position: relative;
    padding: 0 25px;
    top: 65%;
    color: #fff;
}
#music-title h5{
    color: #fff;
    font-size: 20px;
    margin: 20px 0 5px;
    font-weight: 300;
    text-align: center;
    line-height: 1.2;
}
#music-title h6{
    margin: 0;
    font-size:12.5;
    text-align: center;
    font-weight: 400;
}
#music-menu{
    width: 90%;
    height: 40px;
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
}
#music-menu img{
    width: 15px;
    height: 15px;
    cursor: pointer;
}
#currentTime{
    position: relative;
    z-index: 3;
    padding: 0 12px 5px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}
#currentTime span{
    font-size: 12px;
}
#progress-container {
    display: flex;
    align-items: center;
    gap: 10px; /* separa un poco los elementos */
    width: 60%;
    padding-right: 20%;
    padding-left: 20%;
}

.seekslider{
    flex:1;
    height: 2px !important;
    -webkit-appearance: none;
    border-radius: 10px;
    background-color: #fff;
    z-index: 3;
    outline: none;

}
.seekslider::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background-color: #e62c2f;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    transform: scale(1);
}
.seekslider:active::-webkit-slider-thumb{
    translate: scale(1.2);
}
#buttons{
    position: relative;
    width: 100%;
    height: 50px;
    z-index: 3;
    margin-top: 20px;
}
#buttons div{
    display: flex;
    justify-content: center;
    align-items: center;
}
.play{
    width: 60px;
    height: 50px;
    margin: 0 5px;
}
.play img{
    width:100%;
    height: 100%;
}
.pre img, .next img{
    width: 20px;
    height: 20px;
}
#buttons .like{
    position: absolute;
    top: 25%;
    right: 8%;
    cursor: pointer;
}
#buttons .like i{
    color: rgba(255,255,255,0.883);
}
#buttons .repeat{
    position: absolute;
    top: 30%;
    left: 6%;
    font-size: 15px;
    cursor: pointer;
}
#repeat img{
    width: 16px;
    height: 16px;
}

#lyrics-panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: #222;
    color: #fff;
    padding: 20px;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 10;
}

#lyrics-panel.active {
    right: 0;
}

#lyrics-panel h3 {
    margin-top: 0;
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}