body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: black;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: black;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: orange;
}

.container {
  margin: 0;
  padding: 20px;
}

.playlist {
  margin-bottom: 20px;
}

.playlist h2 {
  margin-top: 0;
  margin-bottom: 10px;
}
#np {
  color: rgb(0, 123, 255);
  font-size: 1.7rem;
  font-family: "Briem Hand", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
#song-list {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

#song-list li {
  padding: 15px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #333;
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
  width: calc(33.33% - 20px);
  box-sizing: border-box;
}

#song-list li:hover {
  background-color: #333;
}

.thumbnail {
  width: 15vw;
  height: 15vw;
  border-radius: 5px;
  margin-bottom: 10px;
}

audio {
  width: 100%;
  background-color: #333;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.play-button {
  width: 40px;
  height: 40px;
  background-color: #1db954;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  margin-top: 5px;
}

.play-button:focus {
  outline: none;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 180px;
  width: 100%;
  background: repeating-linear-gradient();
  backdrop-filter: blur(12px);
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

#progress {
  width: 95%;
  height: 6px;
  margin-left: 20px;
  cursor: pointer;
  border-radius: 4px;
  accent-color: orange;
}

#progress::-moz-range-progress {
  background-color: #43e5f7;
}
#progress::-moz-range-track {
  background-color: #9a905d;
}
/* IE*/
#progress::-ms-fill-lower {
  background-color: #43e5f7;
}
#progress::-ms-fill-upper {
  background-color: #9a905d;
}
.logo {
  position: absolute;
  top: 10px;
  left: 10px;
}
#progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: yellow;
  accent-color: red;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

#progress::-webkit-slider-thumb:hover {
  -webkit-appearance: none;
  background-color: orange;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  scale: 1.1;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
}

.controls div {
  width: 50px;
  height: 50px;
  margin: 20px;
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: orange;
  cursor: pointer;
}

.controls div:hover {
  width: 50px;
  height: 50px;
  margin: 20px;
  background-color: orange;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  scale: 1.1;
}

.controls div:active {
  width: 50px;
  height: 50px;
  margin: 20px;
  background-color: orange;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  scale: 1;
}

i {
  align-items: center;
  scale: 2;
}

.prog {
  height: 50px;
  width: 50px;
}

.current-time {
  margin-top: 5px;
  margin-left: 30px;
}

.song-duration {
  margin-left: 93vw;
  margin-top: -20px;
}

.notifications {
  position: fixed;
  top: 30px;
  right: 20px;
}
.notifications :where(.error, .column) {
  display: flex;
  align-items: center;
}
.notifications .error {
  width: 400px;
  position: relative;
  overflow: hidden;
  list-style: none;
  border-radius: 4px;
  padding: 16px 17px;
  margin-bottom: 10px;
  background: #333;
  justify-content: space-between;
  animation: show_error 0.3s ease forwards;
}
@keyframes show_error {
  0% {
    transform: translateX(100%);
  }
  40% {
    transform: translateX(-5%);
  }
  80% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-10px);
  }
}
.notifications .error.hide {
  animation: hide_error 0.3s ease forwards;
}
@keyframes hide_error {
  0% {
    transform: translateX(-10px);
  }
  40% {
    transform: translateX(0%);
  }
  80% {
    transform: translateX(-5%);
  }
  100% {
    transform: translateX(calc(100% + 20px));
  }
}
.error::before {
  position: absolute;
  content: "";
  height: 3px;
  width: 100%;
  bottom: 0px;
  left: 0px;
  animation: progress 5s linear forwards;
}
@keyframes progress {
  100% {
    width: 0%;
  }
}
.error.warning::before {
  background: red;
}

.error.warning .column i {
  color: red;
}

#nav {
  display: flex;
  justify-content: right;
  gap: 10px;
  margin-right: 15px;
}
.tab {
  text-decoration: none;
  border-radius: 100px;
  color: white;
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
  background-color: rgb(26, 72, 198);
  height: 20px;
  width: 55px;
  margin-top: 10px;
}
a {
  color: white;
  text-decoration: none;
}
.tab:hover {
  background-color: #1db954;
  font-size: 20px;
  height: 27px;
  width: 80px;
  color: black;
}
a:hover {
  color: white;
  font-size: 20px;
}
