/*======================================= TOP BAR =======================================*/

.top-bar {
  background-color: green;
  width: 95%;
  height: 64px;
  padding-inline: 16px;
  justify-content: space-between;
  backdrop-filter: blur(50px);
  box-shadow: 2px 2px 5px Red, -2px -2px 5px Green;
  z-index: 2;
}

.logo {
  gap: 12px;
}

.logo.wrapper .material-symbols-rounded {
  background-color: red;
  color: yellow;
  width: 40px;
  height: 40px;
  padding: 3px;
  font-size: 40px;
  border: 1px solid ;
  border-radius: 50px;
}

.player-title {
  color: yellow;
  font-size: 20px;
  font-weight: bold;
  font-family: 'Times';
}

/*======================================= MUSIC CONTAINE =======================================*/

.player .player-container {
  background-color: pink;
  width: 97%;
  margin-top: 10px;
  padding: 10px;
  display: grid;
  grid-template-rows: 1fr max-content;
  gap: 24px;
}

.player .player-container#background-color-83 {
  border-radius: 20px;
}


/*======================================= PLAYER =======================================*/

.player {
  background-image: var(--gradient);
  background-color: blueviolet;
  width: 97%;
  min-height: 100vh;
  padding: 10px;
  padding-block-start: calc(40px + var(--padding));
  display: flex;
  text-align: center;
  backdrop-filter: blur(30px);
  overflow: hidden;
}

.player .container {
  width: 100%;
  display: grid;
  grid-template-rows: 1fr max-content;
  gap: 24px;
}

.music-banner {
  background-color: olive;
  aspect-ratio: 1 / 1;
  max-width: 400px;
  margin-inline: auto;
  align-self: center;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 2px 2px 5px Red, -2px -2px 5px Green;
}

.music-banner img {
  aspect-ratio: 16 / 5;
}





/*======================================= MUSIC DITLIS =======================================*/

.music-headline {
  background-color: black;
  color: yellow;
  padding: 5px;
  font-size: 20px;
  font-weight: bold;
  font-family: 'solaimanlipi;
}

.label-lg {
  font-weight: bold;
  font-family: 'solaimanlipi;
  letter-spacing: 0.1px;
}

.label-lg.label-wrapper {
  margin: 5px 0px;
  justify-content: center;
  opacity: 0.6;
}

.label-lg.label-wrapper span {
  background-color: black;
  padding: 5px:
}

.label-wrapper span:first-child::after {
  content: "|";
  color: white;
  display: inline-block;
  margin-inline: 10px;
}

.label-wrapper span:nth-child(1) {
  color: orange;
  padding: 5px;
  font-size: 10px;
  border-radius: 5px 0px 0px 5px;
}

.label-wrapper span:nth-child(2) {
  color: teal;
  padding: 5px;
  font-size: 15px;
  border-radius: 5px;
}

.label-md.artist{
  background-color: black;
  color: red;
  padding: 5px;
  font-size: 20px;
  font-weight: bold;
  font-family: 'solaimanlipi;
  letter-spacing: 0.5px;
  opacity: 0.6;
  margin-block-end: 10px;
}



.headline-sm {
  font-size: 30px;
  font-weight: bold;
}





/*======================================= SLIDE & VOLUME RENGE =======================================*/
.seek-control { margin-block-end: 20px; }

.range-wrapper { position: relative; }

.range {
  appearance: none;
  cursor: pointer;
}

.range::-webkit-slider-runnable-track {
  appearance: none;
  background-color: ;
  height: 6px;
  width: 100%;
  border-radius: ;
}

.range-fill {
  content: "";
  background-color: blue;
  width: 0;
  height: 6px;
  top: 0;
  left: 0;
  position: absolute;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: 2px 2px 5px Red, -2px -2px 5px Green;
}

.range::-webkit-slider-runnable-track {
  background-color: orange;
  width: 100%;
  height: 6px;
  appearance: none;
  border-radius: 20px;
}

.range::-webkit-slider-thumb {
  background-color: red;
  width: 16px;
  height: 16px;
  margin-block-start: -5px;
  appearance: none;
  border-radius: 20px;
  transition: 200ms cubic-bezier(0.2, 0, 0, 1);
  z-index: ;
}

.range::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 12px green;
}

.range::-webkit-slider-thumb:is(:focus, :focus-visible) {
  box-shadow: 2px 2px 5px Red, -2px -2px 5px Green;
}

.volume {
  display: none;
}
  
  
  
  
/*======================================= TIMES =======================================*/
 .duration-label.wrapper {
  margin: 10px;
  font-size: 20px;
  font-weight: bold;
  font-family: times;
  justify-content: space-between;
  margin-block-start: 12px;
}
 
span.label-md[data-running-time] {
  background-color: ;
  color: red;
  padding: 5px;
  border: 2px solid;
  border-radius: 0 10px;
}
  
span.label-md[data-duration] {
  background-color: lue;
  color: green;
  padding: 5px;
  border: 2px solid;
  border-radius: 0 10px;
}
  



/*======================================= PLAUER CONTROL BUTTON =======================================*/
 
input {
  background: none;
  width: 100%;
  border: none;
  font: inherit;
}

button {
  background: none;
  border: ;
  font: inherit;
  cursor: pointer;
}

.btn-icon {
  background-color: blue;
  color: white;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 20px;
}

.btn-icon:hover {
  background-color: magenta;
}

.btn-icon:is(:focus, :focus-visible) {
  background-color: var(--on-surface-variant-focus);
}

.material-symbols-rounded {
  background-color: red;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' -25, 'opsz' 24;
  width: 1em;
  height: 1em;
  padding: px;
  overflow: hidden;
  user-select: none;
  border-radius: 20px;
}

.wrapper {
  display: flex;
  align-items: center;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player-control {
  justify-content: space-evenly;
}

.player-control .toggle.active {
  color: yellow;
}

.player-control .play {
  background-color: gold;
  color: yellow;
}

.player-control .play.active {
  background-color: green;
  color: white;
}

.player-control .btn-icon.active .default-icon,
.player-control .btn-icon .active-icon {
  background-color: tomato;
  color: cyan;
  display: none;
  border: px solid blue;
}

.player-control .btn-icon .default-icon,
.player-control .btn-icon.active .active-icon {
  display: block;
}



/*======================================= PLAYLIST =======================================*/

.playlist {
  background-color: blue;
  width: 180px;
  height: 460px;
  position: absolute;
  top: 95px;
  right: -165px;
  padding: 20px;
  border-radius: 30px 0px 0px 30px;
  overflow-y: scroll;
  visibility: hidden;
  transition: 300ms cubic-bezier(0.2, 0, 0, 1);
  z-index: 4;
  box-shadow: 2px 2px 5px green, -2px -2px 5px red;
}

.playlist ul .music-list {
  padding: 10px 0px;
}

.playlist li {
  list-style: none;
}

.playlist li img {
  display: block;
  height: auto;
  border-radius: 10px 0px;
}
  
.playlist ul li:before {
  content: "";
}

.playlist.active {
  transform: translateX(-180px);
  visibility: visible;
}

.music-list {
  display: grid;
  gap: 20px;
}

.music-item {
  background-color: transparent;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 2px 2px 5px Red, -2px -2px 5px Green;
}

.music-item .item-icon {
  background-color: ;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
}

.music-item.playing .item-icon { opacity: 1; }

.music-item .item-icon .material-symbols-rounded {
  background-color: yellow;
  color: red;
  font-size: 30px;
  box-shadow: 2px 2px 5px Red, -2px -2px 5px Green;
}

.music-item:is(:hover, :focus-visible, :active, .playing) {
  outline: 4px solid gold;
}

.overlay {
  background-color: black;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: 300ms cubic-bezier(0.5, 0, 0, 1);
  z-index: 3;
}

.overlay.active {
  pointer-events: all;
  opacity: 0.5;
}
