/* (PART A) WHOLE PAGE */
* {
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}
#player, #playTimeD, #playButtons { display: flex; }

/* (PART B) WRAPPER & LAYOUT */
#player {
  flex-direction:column;
  align-items: center;
  min-width: 350px; max-width: 460px;
  padding: 20px; border-radius: 10px;
  background: #111;
  margin:auto;
}

/* (PART C) CURRENT SONG IMAGE */
#playImg {
  width: 250px; height: auto; aspect-ratio: 1/1;
  object-fit: cover; border-radius: 0px;
  margin-bottom: 20px;
}

/* (PART D) CURRENT SONG NAME & CONTROLS */
/* (D1) WRAPPER & SHARED */
#playControls { width: calc(100% - 120px); padding-left: 10px; }
#player input[type="range"] {
  padding: 0; margin: 0;
  border: none; outline: none; box-shadow: none;
  accent-color: #52e980;
}

/* (D2) SONG NAME */
#playName {
  font-size: 24px; margin-bottom: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color:#52e980;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

/* (D3) SONG TIME */
#playTimeN, #playTimeT { width: 50%; font-size: 14px; }
#playTimeR { width: 100%; }
#playTimeT { text-align: right; }

/* (D4) ICOMOON - https://icomoon.io/ */
@font-face{font-family:icomoon;src:url(fonts/icomoon.eot?d3ybsy);src:url(fonts/icomoon.eot?d3ybsy#iefix) format('embedded-opentype'),url(fonts/icomoon.ttf?d3ybsy) format('truetype'),url(fonts/icomoon.woff?d3ybsy) format('woff'),url(fonts/icomoon.svg?d3ybsy#icomoon) format('svg');font-weight:400;font-style:normal;font-display:block}
[class*=" icon-"],[class^=icon-]{color: #515151;font-family:icomoon!important;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.icon-play3:before{content:"\ea1c"}.icon-pause2:before{content:"\ea1d"}.icon-previous2:before{content:"\ea23"}.icon-next2:before{content:"\ea24"}.icon-volume-high:before{content:"\ea26"}.icon-volume-mute2:before{content:"\ea2a"}

/* (D5) CONTROL BUTTONS */
#playButtons {     margin-top: 10px;
  align-items: center;
  text-align: center;
  justify-content: space-evenly;
  /* width: 10px; */
  width: 100%; }
#playLast, #playTog, #playNext, #playVolI { cursor: pointer; }
#playLast, #playTog, #playNext { font-size: 42px; flex-grow: 0; }
.volButtons {display:none;}
#playVolI { font-size: 16px; margin-right: 5px; }
#playVolR { flex-shrink: 1; max-width: 120px; }

/* (PART E) PLAY LIST */
#playList { width: 100%; max-width: 350px; margin-top: 20px; text-align: center; }
#playList div { padding: 10px; cursor: pointer; background-color: #222; border:2px solid #111; }
#playList div.current { font-weight: 700; color: #52e980; background-color: #111; }
