
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
     font-family: 'Lato', sans-serif;
    margin: 0;
    background-color: #f0f0f0;
}


.barrat{position:fixed;bottom:150px;right:0px; left: 80%; z-index: 150; width: 100px; background-color: #FFF; padding: 15px; border-radius: 25px;}
#barrag{display: none;}
.music-container{
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.music-body{
    box-shadow: 0 20px 50px #3d11839f;
    background: #fff;
    padding: 1.3rem;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

.btn{
    outline: none;
    border: 0;
    background: #eee6fc;
    font-size: 0.9rem;
    color: #7D30FA;
    height: 2.188rem;
    width: 2.188rem;
    border-radius: 50%;
    cursor: pointer;
}

.top-icons{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.volume{
    z-index: 5;
}

.layer{
    z-index: 4;
    position: absolute;
    background:#ffff;
    border: 2px solid #eee6fc;
    height: 2.188rem;
    width: 17.5rem;
    left: 0;
    right: 0;
    margin: auto;
    top: 1.3rem;
    border-radius: 1.5rem;
    display: grid;
    place-items: center;
    visibility: hidden;
}
.volume-slider,.progress-bar{
    position: relative;
    width: 100%;
    height: 0.2rem;
    background: #7D30FA;
}

.volume-slider{
    width: 80%;
}

.volume-slider {
    right: -15px;;
}

.volume-slider .bar,.progress-bar .progress-line{
    display: block;
    width: 0;
    height: inherit;
    background-color: #7D30FA;
}

.volume-slider .bar{
    width: 100%;
}

.volume-slider .volumerange, .progress-bar .progress{
   width: 100%;
  -webkit-appearance: none;
  height: inherit;
  background: transparent;
  outline: none;
  position: absolute;
  top: 0;
  left: 0;
}

.volume-slider .volumerange::-webkit-slider-thumb,  .progress-bar .progress::-webkit-slider-thumb{
    -webkit-appearance: none;
    height: 15px;
    width: 15px;
    background-color: #7D30FA;
    border-radius: 50%;
    cursor: pointer;
}

/* volume range slider design end */

.layer.hide{
    visibility: visible;
}

.music-img{
    margin-top: 1rem;
    width: 17.5rem;
    height: 15rem;
    overflow: hidden;
    border-radius: 1.4hrem;
}

.music-img img{
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.music-info{
    text-align: center;
}

.music-info h2{
    font-size: 1rem;
    margin-top: 1rem;
    letter-spacing: 0.02rem;
    color: rgb(117, 116, 116);
    color: #7D30FA;
}

.music-progress{
    margin-top: 1rem;
}

.music-progress .progress-bar{
    background: #ebdfff;
    height: 0.2rem;
    width: 100%;
    margin-bottom: 0.4rem;
    position: relative;
}

.progress-bar{
    cursor: pointer;
}

.progress{
    background: #7D30FA;
    width: 0;
    height: 100%;
    position: relative;
}

.progress::before{
    content: "";
    position: absolute;
    height: 0.7rem;
    width: 0.7rem;
    border-radius: 50%;
    top: 50%;
    right: -5px;
    z-index: 2;
    transform: translateY(-50%);
    background: inherit;
    transition: all 0.1s ease;
}

.duration{
    display: flex;
    color: #7D30FA;
    justify-content: space-between;
}

.duration span{
    font-size: 0.7rem;
}

.music-controls{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prevbtn, .nextbtn, .playpause{
    border: 0;
    outline: 0;
    font-size: 2rem;
    background: #fff;
    color: #7D30FA;
    cursor: pointer;
}

.prevbtn:hover, .nextbtn:hover{
    color: #5717be;
}


.playpause{
    font-size: 1.7rem;
    /* position: absolute; */
    background: #7D30FA;
    height: 7.5rem;
    width: 7.5rem;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.fa-play{
    position: relative; 
    display: inline-block;
    left: 0.1rem;
}



.main-controls{
    position: relative;
    /* border: 1px solid #b88ffa; */
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1.3rem;
}

.color{
    color: #fc00b0;
}

/* music list */

.list-close{
    background: none;
    font-size: 1.1rem;
    color: #ff1b1bf3;
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
}

.songs-list{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    top: 0;
    left: 0;
    z-index: 10;
    visibility: hidden;
}
.showlist{
    visibility: visible;
}

.md1{
    background: rgb(57,44,124);
    background: radial-gradient(circle, rgba(57,44,124,1) 0%, rgba(18,13,43,1) 55%, rgba(18,13,43,1) 100%);
}

.md2{
   background: rgb(123,13,13);
background: radial-gradient(circle, rgba(123,13,13,1) 56%, rgba(29,3,3,1) 100%, rgba(29,3,3,1) 100%);
}

.md3{
  background: rgb(51,51,51);
background: radial-gradient(circle, rgba(51,51,51,1) 56%, rgba(0,0,0,1) 100%, rgba(0,0,0,1) 100%);

}

.md4{
    background: rgb(255,51,0);
background: radial-gradient(circle, rgba(255,51,0,1) 56%, rgba(176,35,0,1) 100%, rgba(176,35,0,1) 100%);
}

.md5{
    background: rgb(64,64,0);
    background: linear-gradient(0deg, rgba(64,64,0,1) 0%, rgba(178,133,0,1) 100%);
}

.modelo1{
    width: 103vw; height: 100%; position: absolute; overflow-y: hidden; 
    background: rgb(57,44,124);
    background: radial-gradient(circle, rgba(57,44,124,1) 0%, rgba(18,13,43,1) 55%, rgba(18,13,43,1) 100%);
    }

.modelo2{
    width: 100vw; height: 104vw; position: absolute; overflow-x: hidden; overflow-y: hidden;
    background: rgb(123,13,13);
background: radial-gradient(circle, rgba(123,13,13,1) 56%, rgba(29,3,3,1) 100%, rgba(29,3,3,1) 100%);
}

.modelo3{
    width: 100vw; height: 100vw; position: relative; overflow-x: hidden; overflow-y: hidden;
   background: rgb(51,51,51);
background: radial-gradient(circle, rgba(51,51,51,1) 56%, rgba(0,0,0,1) 100%, rgba(0,0,0,1) 100%);
}

.modelo4{
    width: 100vw; height: 100vw; position: relative; overflow-x: hidden; overflow-y: hidden;
   background: rgb(255,51,0);
background: radial-gradient(circle, rgba(255,51,0,1) 56%, rgba(176,35,0,1) 100%, rgba(176,35,0,1) 100%);
}

.modelo5{
    width: 100vw; height: 100vw; position: relative; overflow-x: hidden; overflow-y: hidden;
    background: rgb(64,64,0);
    background: linear-gradient(0deg, rgba(64,64,0,1) 0%, rgba(178,133,0,1) 100%);
}