/* =========================================
   BRUNO MARRO — MUSIC CATALOGUE - Play List
   ====================================== */

.bruno-catalogue {
  width: 100%;
  max-width: 1000px;
  margin: 70px auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: inherit;
}

/* TITLE */

.catalogue-title {
  margin-bottom: 25px;
}

.catalogue-title h2 {
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.catalogue-title p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.6px;
  opacity: 0.6;
}


/* MAIN PLAYER */




/* TRACK LIST */

.track-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 2px 15px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}


/* TRACK BUTTON */

.track-button {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  gap: 12px;

  height: 52px;
  padding: 0 17px;

  border: 2px solid rgba(31, 112, 203);
  border-radius: 5px;

  background: transparent;

  font-family: inherit;
  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.track-button:hover {
  transform: translateY(-3px);
}

.track-button.active {
  background: rgba(128,128,128,0.10);
  border-color: rgba(242, 48, 48, 0.5);
}


/* NUMBER */

.track-number {
  font-size: 11px;
  opacity: 0.45;
  letter-spacing: 1px;
}


/* SONG TITLE */

.track-name {
  font-size: 14px;
  white-space: nowrap;
}


/* PLAY SYMBOL */

.track-play {
  font-size: 11px;
  opacity: 0.55;
}


/* SCROLLBAR */

.track-list::-webkit-scrollbar {
  height: 5px;
}

.track-list::-webkit-scrollbar-thumb {
  border-radius: 10px;
}


/* MOBILE */

@media (max-width: 600px) {

  .bruno-catalogue {
    margin: 45px auto;
    padding: 0 15px;
  }

  .catalogue-title h2 {
    font-size: 27px;
  }

  .track-button {
    height: 48px;
    padding: 0 14px;
  }

  .track-name {
    font-size: 13px;
  }

}

  /* BRUNO MARRO — LOCAL MUSIC PLAYER */

.local-player {

  position: relative;

  width: 100%;
  min-height: 200px;

  margin-top: 30px;

  background-image: url("../img/background/peace.jpg");
  background-size: cover;
  background-position: center;

  overflow: hidden;

  border-radius: 4px;

  box-shadow:
    0 8px 30px rgb(31, 112, 203);

}


/* DARK OVERLAY */

.player-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      rgba(42, 106, 145, 0.48),
      rgba(74, 9, 111, 0.62)
    );

  z-index: 1;

}


/* PLAYER CONTENT */

.player-content {

  position: relative;

  z-index: 2;

  padding: 28px 30px 25px;

  color: white;

  text-align: center;

}


/* NOW PLAYING */

.now-playing-label {

  font-size: 11px;

  letter-spacing: 3px;

  font-weight: 600;

  opacity: 0.85;

  margin-bottom: 7px;
	  text-shadow:
    0 2px 5px rgba(0,0,0,0.6);

}


.now-playing-title {

  font-size: 24px;

  font-weight: 600;

  letter-spacing: 0.5px;

  margin-bottom: 22px;

  text-shadow:
    0 2px 5px rgba(0,0,0,0.6);

}


/* CONTROLS */

.player-controls {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 18px;

  margin-bottom: 22px;

}


.control-button,
.play-button {

  border: none;

  background: rgba(50, 191, 10, 0.45);

  color: rgb(244, 233, 63);

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  transition:
    transform 0.15s ease,
    background 0.15s ease;

}


.control-button {

  width: 38px;

  height: 38px;

  border-radius: 50%;

  font-size: 13px;

}


.play-button {

  width: 58px;

  height: 58px;

  border-radius: 50%;

  font-size: 20px;

}


.control-button:hover,
.play-button:hover {

  background: rgba(0,0,0,0.75);

  transform: scale(1.08);

}


/* PROGRESS */

.progress-container {

  display: flex;

  align-items: center;

  gap: 10px;

  width: 100%;

  max-width: 700px;

  margin: 0 auto;

}


.progress-container span {

  min-width: 38px;

  font-size: 11px;

  opacity: 0.9;

}


.progress-container span:last-child {

  text-align: right;

}


/* RANGE */

#progress-bar,
#volume-bar {

  accent-color: #f4e93f;

  cursor: pointer;

}


#progress-bar {

  flex: 1;

}


/* VOLUME */

.volume-container {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  margin-top: 15px;

}


.volume-icon {

  font-size: 13px;

}


#volume-bar {

  width: 90px;

}


/* MOBILE */

@media (max-width: 600px) {

  .player-content {

    padding: 25px 18px 22px;

  }

  .now-playing-title {

    font-size: 19px;

  }

  .control-button {

    width: 34px;

    height: 34px;

  }

  .play-button {

    width: 52px;

    height: 52px;

  }

}


/* End Player Section*/