*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
*::before, *::after{
  padding: 0;
  margin: 0;
}
:root{
  --pink: #ff74a4;
  --violet: #9f6ea3;
  --lightblack: #515C6F;
  --white: #ffffff;
  --darkwhite: #cecaca;
  --pinkshadow: #ffcbdd;
  --lightbshadow: rgba(0,0,0,0.15);
}
body{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.wrapper{
  overflow: hidden;
  width: 800px;
  padding: 25px 30px;
  position: relative;
  border-radius: 15px;
  background: var(--white);
  background-color: #FFDF24;
  box-shadow: 0px 6px 15px var(--lightbshadow);
}
.wrapper i{
  cursor: pointer;
}
.top_bar, .progress_area .timer,
.controls, .music_list .header, .music_list li{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top_bar i{
  font-size: 30px;
  color: var(--lightblack);
}
.top_bar .span {
  font-size: 18px;
  color: var(--lightblack);
}
.img_area{
  width: 40%;
  height: 256px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0px 6px 12px var(--lightbshadow);
}
.img_area img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.song_details{
  text-align: center;
  margin: 10px 0;
  margin: 30px 0;
  color: var(--lightblack);
}
.song_details p {
  text-align: left;
}
.song_details .name{
  font-size: 21px;
}
.song_details .artist{
  opacity: 0.9;
  font-size: 18px;
}
.progress_area{
  width: 100%;
  height: 6px;
  background: #f0f0f0;
  border-radius: 50px;
  cursor: pointer;
}
.progress_area .progress_bar{
  height: inherit;
  width: 0%;
  position: relative;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink) 0%, var(--violet) 100%);
}
.progress_bar::before{
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: inherit;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  background: inherit;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.progress_area:hover .progress_bar::before{
  opacity: 1;
}
.progress_area .timer {
  margin-top: 2px;
}
.timer{
  font-size: 13px;
  color: var(--lightblack);
}
.controls{
  margin: 40px 0 5px 0;
}
.controls i{
  font-size: 28px;
  user-select: none;
  background: linear-gradient(var(--pink) 0%, var(--violet) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.controls i:nth-child(2), 
.controls i:nth-child(4){
  font-size: 43px;
}
.controls #prev {
  margin-right: -13px;
}
.controls #next {
  margin-left: -13px;
}
.controls .play_pause {
  width: 54px;
  height: 54px;
  background: linear-gradient(var(--white) 0%, var(--darkwhite) 100%);
  box-shadow: 0px 0px 5ps var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play_pause::before{
  content: '';
  position: absolute;
  width: 43px;
  height: 43px;
  border-radius: inherit;
  background: linear-gradient(var(--pink) 0%, var(--violet) 100%);
}
.play_pause i {
  width: 43px;
  height: 43px;
  line-height: 43px;
  text-align: center;
  border-radius: inherit;
  background-clip: text;
  background:inherit;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.music_list{
  width: 60%;
  padding: 15px;
  position: absolute;
  right: 0;
  bottom: -55%;
  opacity: 0;
  pointer-events: none;
  border-radius: 15px;
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1);
  background: var(--white);
  transition: all 0.14s ease-out;
}
/* show class는 자바스크립트에서 제어 할 예정 입니다. */
.music_list.show{
  top: 0%;
  opacity: 1;
  pointer-events: auto;
}
.music_list .header .row{
  display: flex;
  align-items: center;
  font-size: 19px;
  color: var(--lightblack);
}
.header .row i {
  cursor: default;
}
.header .row span{
  margin-left: 5px;
}
.header #close{
  font-size: 22px;
  color: var(--lightblack);
}
.music_list ul {
  margin: 10px 0;
  max-height: 260px;
  overflow-y: auto;
}
.music_list ul::-webkit-scrollbar{
  width: 0;
}
.music_list ul li{
  cursor: pointer;
  list-style: none;
  padding-bottom: 10px;
  margin-bottom: 5px;
  border-bottom: 1px solid #e5e5e5;
  color: var(--lightblack);
}
.music_list ul li:last-child{
  border-bottom: 0px;
}
.music_list ul li .row span{
  font-size: 17px;
}
ul li .row p{
  opacity: 0.6;
}
ul li .audio_duration{
  font-size: 16px;
}
ul li.playing{
  color: var(--violet);
  pointer-events: none;
}
