@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700&family=Inter:wght@400;500;600&family=Jost:wght@400;500;600&family=Poppins:wght@400;500;700&display=swap");

:root {
  --Gray-1: #333;
  --Gray-2: #4f4f4f;
  --Gray-3: #828282;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 35px;
  caret-color: transparent;
  box-sizing: border-box;
}

p {
  margin: 0px;
}

button {
  outline: none;
  border: none;
}

input[type="range"] {
  accent-color: #ce036a;
}

.music-player {
  display: flex;
  justify-content: space-between;
  width: 100%;
  column-gap: 20px;
  /* height: calc(100vh - 70px); */
  height: max-content;
}

.left-section {
  background: #f3f3f3;
  border-radius: 21px;
  flex-grow: 1;
  padding: 40px 30px 40px 50px;
  display: flex;
  flex-direction: column;
  row-gap: 60px;
  box-sizing: border-box;
}

.wsa-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.songs-list-container {
  display: flex;
  flex-direction: column;
}

.item-container {
  display: flex;
  align-items: center;
  column-gap: 6px;
  padding: 6px;
}

.item-img {
  flex-grow: 0;
}

.track-year {
  color: var(--Gray-3, #828282);
  font-family: "Poppins";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.track-data-container {
  flex-grow: 1;
}

.track-title {
  color: var(--Gray-1, #333);
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 110.5%;
}

.current-song {
  color: #ce036a;
}

.track-artist {
  color: var(--Gray-2, #4f4f4f);
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 110.5%;
}

.track-duration {
  color: var(--Gray-1, #333);
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 110.5%;
}

.player-container {
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 21px;
  background: #f3f3f3;
  box-sizing: border-box;
}

.thumbnail-container {
  padding: 100px;
  border-radius: 21px;
  background: linear-gradient(0deg, #d9d9d9 0%, #d9d9d9 100%), #fff;
}

.track-details {
  margin-top: 30px;
  text-align: center;
  row-gap: 5px;
}

#player-title {
  color: var(--Gray-1, #333);
  font-family: "Poppins";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 110.5%;
}

#player-description {
  color: var(--Gray-2, #4f4f4f);
  font-family: "Poppins";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 110.5%;
  /* 19.89px */
}

#thumbnail {
  max-width: 100%;
  height: auto;
}

.controls {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: fit-content;
}

.track-progress {
  width: 397px;
  position: relative;
  margin-bottom: 48px;
}

#progress {
  position: absolute;
  top: 16px;
}

.time {
  color: var(--Gray-3, #828282);
  font-family: "Poppins";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 110.5%;
  /* 15.47px */
}

#current-time {
  position: absolute;
  top: 0;
  left: 0;
}

#time-left {
  position: absolute;
  top: 0;
  right: 0;
}

input[type="range"] {
  width: 100%;
  margin: 8px 0;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
}

input[type="range"]::-webkit-slider-thumb {
  margin-top: -6px;
}

/* styles for firefox */
input[type="range"]::-moz-range-track {
  height: 4px;
}

input[type="range"]::-moz-range-thumb {
  margin-top: -6px;
}

#time-info {
  margin: 5px;
}

.btn-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-group > button {
  cursor: pointer;
}

.control-btn {
  width: 44px;
  height: 44px;
  border-radius: 100%;
  background-color: #ce036a;
  display: flex;
  align-items: center;
  justify-content: center;
}

#play-pause {
  margin: 0 50px;
}

.next-prev-btn {
  padding-top: 16px;
}

.volume-container {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.volume-range {
  width: 310px !important;
}
