
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&display=swap');


:root {
        --bg-violet: #ff00ee;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  background: #000000;
}

html,
body,
.container {
  height: 100vh;
  margin: 0;
  font-family: "Montserrat Alternates", sans-serif;
}

.container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.glow {
  position: relative;
  width: 300px;
  height: 300px;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(#000000),
    to(#262626)
  );
  background: -webkit-linear-gradient(bottom, #000000, #262626);
  background: -moz-linear-gradient(bottom, #000000, #262626);
  background: -o-linear-gradient(bottom, #000000, #262626);
  background: linear-gradient(0deg, #000000, #262626);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.glow::before,
.glow::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  background: -webkit-linear-gradient(
    45deg,
    #ff00ee,
    #0000ff,
    #00ff00,
    #ff0000,
    #ff00ee,
    #0000ff,
    #00ff00,
    #ffff00,
    #ff0000
  );
  background: -moz-linear-gradient(
    45deg,
    #ff00ee,
    #0000ff,
    #00ff00,
    #ff0000,
    #ff00ee,
    #0000ff,
    #00ff00,
    #ffff00,
    #ff0000
  );
  background: -o-linear-gradient(
    45deg,
    #ff00ee,
    #0000ff,
    #00ff00,
    #ff0000,
    #ff00ee,
    #0000ff,
    #00ff00,
    #ffff00,
    #ff0000
  );
  background: linear-gradient(
    45deg,
    #ff00ee,
    #0000ff,
    #00ff00,
    #ff0000,
    #ff00ee,
    #0000ff,
    #00ff00,
    #ffff00,
    #ff0000
  );
  -webkit-background-size: 400% 400%;
  -moz-background-size: 400%;
  -o-background-size: 400%;
  background-size: 400%;
  max-width: -webkit-calc(300px + 4px);
  max-width: -moz-calc(300px + 4px);
  max-width: calc(300px + 4px);
  max-height: -webkit-calc(300px + 4px);
  max-height: -moz-calc(300px + 4px);
  max-height: calc(300px + 4px);
  width: -webkit-calc(300px + 4px);
  width: -moz-calc(300px + 4px);
  width: calc(300px + 4px);
  height: -webkit-calc(300px + 4px);
  height: -moz-calc(300px + 4px);
  height: calc(300px + 4px);
  z-index: -1;
  -webkit-animation: animate 20s linear infinite;
  -moz-animation: animate 20s linear infinite;
  -o-animation: animate 20s linear infinite;
  animation: animate 20s linear infinite;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.disable-animation::before,
.disable-animation::after {
  animation-play-state: paused;
}

.glow::after {
  -webkit-filter: blur(20px);
  filter: blur(28px);
}

.logo{
  width: 30%;
}

#player,
#playlist {
  width: 243px;
  height: 212px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#songName {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 10px;
  color: #ff00ee;
}

.playlist-btn {
  width: 243px;
  margin-top: 40px;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translateX(-50%);
}
.playlist-btn button:hover{
  cursor: pointer;
}

.playlist-btn button:hover i{
  color: var(--bg-violet);
  transition: all 0.5s ease;
}

.hide {
  display: none;
}

#list {
  height: 118px;
  max-height: 118px;
  margin-top: 16px;
  font-size: 12px;
  overflow-x: hidden;
  overflow-y: scroll;
  color: #fff;
  text-align: left;
  padding-left: 8px;
  border: 2px solid #262626;
  border-radius: 5px;
}

.list-item {
  line-height: 30px;
  height: 30px;
  margin-top: 4px;
}

.list-container button {
  width: 30px;
  padding: 0;
  float: right;
  margin-right: 4px;
}

.add-list {
  padding: 4px 6px;
}

.wrap-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
  display: inline-block;
}

#sourceUrl {
  background: none;
  padding: 8px;
  border: 2px solid #1f1f1f;
  border-radius: 47px;
  outline: none;
  color: white;
  height: 30px;
  width: 192px;
}

#sourceUrl:active,
#sourceUrl:focus {
  border: 2px solid #0088ff;
}

.text {
  color: #ffffff;
  display: block;
}

button {
  background: #000000;
  color: #ffffff;
  background: linear-gradient(0deg, #000000, #262626);
  font-size: 14px;
  border: none;
  outline: none;
  padding: 0px 15px;
  width: 55px;
  height: 30px;
  line-height: 30px;
  border-radius: 32px;
}

button:hover {
  box-shadow: 0 0 8px 0px #ffffff61;
}

button:hover i{
  color: var(--bg-violet);
  transition: all 0.5s ease;
}

button:active {
  box-shadow: inset 0 0 6px 0px #ffffff61;
}



#seek,
#volume {
  -webkit-appearance: none;
  border: 1px solid #000000;
  height: 5px;
  vertical-align: middle;
  border-radius: 20px;
  background-color: #232323;
  outline: none;
}

#seek::-webkit-slider-thumb,
#volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #000000;
  border-radius: 10px;
  background: #ffffff;
}

#seek {
  display: block;
  width: 230px;
}

.scrollbar::-webkit-scrollbar {
  max-width: 5px;
  max-height: 5px;
}

.scrollbar::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #333;
}
.scrollbar::-webkit-scrollbar-thumb:hover {
  box-shadow: inset 0 0 1px 1px #5c6670;
}

.scrollbar::-webkit-scrollbar-track:hover {
  border: 1px solid #000000;
  border-radius: 20px;
  background-color: #232323;
}

@keyframes animate {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}





        /* =========================
           TABLET
        ========================== */

        @media(max-width:768px){
          .glow{
            width: 600px;
            height: 600px;
          }

          .glow::before,
          .glow::after {
            -webkit-background-size: 800% 800%;
            -moz-background-size: 800%;
            -o-background-size: 800%;
            background-size: 800%;
            max-width: -webkit-calc(600px + 4px);
            max-width: -moz-calc(600px + 4px);
            max-width: calc(600px + 4px);
            max-height: -webkit-calc(600px + 4px);
            max-height: -moz-calc(600px + 4px);
            max-height: calc(600px + 4px);
            width: -webkit-calc(600px + 4px);
            width: -moz-calc(600px + 4px);
            width: calc(600px + 4px);
            height: -webkit-calc(600px + 4px);
            height: -moz-calc(600px + 4px);
            height: calc(600px + 4px);
          }

          .logo{
            width: 40%;
          }

          #player, #playlist {
              width: 443px;
              height: 412px;
          }

          #seek {
              width: 417px;
          }

          .btn-control {
              font-size: 16px;
              padding: 0px 10px;
              width: 70px;
              margin: 10px;
              height: 50px;
              line-height: 50px;
          }

          .text {
              /* margin: 15px 0px; */
              font-size: 20px;
          }

          #songName {
              margin-top: 0px;
          }

          #list {
              height: 240px;
              max-height: 240px;
              margin-top: 10px;
          }

          .add-list {
              padding: 4px;
              margin: 10px auto;
          }

          #sourceUrl {
              padding: 6px 20px;
              width: 383px;
          }

          .list-item {
            margin-top: 4px;
            font-size: 16px;
          }
        }

        /* =========================
           MOBILE
        ========================== */

        @media(max-width:480px){

        }

        @media(max-width:430px){
                    .glow{
            width: 300px;
            height: 300px;
          }

          .glow::before,
          .glow::after {
            -webkit-background-size: 400% 400%;
            -moz-background-size: 400%;
            -o-background-size: 400%;
            background-size: 400%;
            max-width: -webkit-calc(300px + 4px);
            max-width: -moz-calc(300px + 4px);
            max-width: calc(300px + 4px);
            max-height: -webkit-calc(300px + 4px);
            max-height: -moz-calc(300px + 4px);
            max-height: calc(300px + 4px);
            width: -webkit-calc(300px + 4px);
            width: -moz-calc(300px + 4px);
            width: calc(300px + 4px);
            height: -webkit-calc(300px + 4px);
            height: -moz-calc(300px + 4px);
            height: calc(300px + 4px);
          }

          .logo{
            width: 40%;
            margin-bottom: 5px;
          }

          #player, #playlist {
              width: 243px;
              height: 212px;
          }

          #seek {
              width: 217px;
              margin: 0 auto;
              height: 3px;
          }
          #volume {
              height: 3px;
          }
          #seek::-webkit-slider-thumb,
          #volume::-webkit-slider-thumb {
            width: 10px;
            height: 10px;
            border-radius: 5px;
          }

          .btn-control {
              font-size: 16px;
              padding: 0px 5px;
              width: 40px;
              margin: 5px;
              height: 20px;
              line-height: 20px;
          }

          .text{
            font-size: 16px;
          }

          #songName{
              padding: 5px 10px 0px;
          }

          #list {
              height: 130px;
              max-height: 130px;
              margin-top: 5px;
          }

          .add-list {
              padding: 0px 3px;
              margin: 5px auto 0px;
          }

          #sourceUrl {
              padding: 0px 10px;
              width: 180px;
          }

          .list-item {
            margin-top: 3px;
            font-size: 16px;
          }

        }
