@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@200;300;400;700&display=swap');

body,
html {
  overscroll-behavior: none;
}

:root {
  --primary-color: #302AE6;
  --secondary-color: #536390;
  --font-color: #fff;
  --bg-color: #000;
  --heading-color: #292922;
  --font-family:'Lexend'
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--font-color);
  background-image: var(--bg-image);
  background-position: center;
  font-family: var(--font-family);
}

h1 {
  margin-bottom: 20px;
  font-size: 34px;
}

h2 {
  font-weight: 300;
  font-size: 18px;
}

h4 {
  line-height: 1.2;
}

p {
  font-size: 14px;
  line-height: 1.2;
}

a{
  text-decoration:none;
  color: #FFFFFF;
}

.sidebar {
  width: 20%;
  height: calc(100vh - 84px);
}

.sidenavbar {
  margin: 15px 0px 15px 15px;
  background: #111111;
  border-radius: 15px;
  padding: 20px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  gap: 20px;
}

.sidebar li {
  display: flex;
  gap: 10px;
}

.sidebar li a,
.sidebar li .fa-solid{
  transition: all 300ms !important;
}

.nav-link {
  color: #fff;
  transition-duration: 300ms;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-link:hover {
  color: gray;
}

.nav-link:hover{
  opacity: 0.6;
  color: #fff;
}

.sidebar li a:hover {
  color: #fff;
}

.music-container {
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  position: fixed;
  width: 100%;
  bottom: 0px;
  gap: 20px;
  height: 84px !important;
  z-index: 999999;
}

.middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 40%;
}
#lyricsTextBox {
  white-space: pre-line;
}
.img-container {
  width: 40px;
}

.img-container img {
  height: 40px;
  border-radius: 5px;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
  width: 40vw;
}

.action-btn {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  margin: 0 10px;
  transition: 50ms;
}

.navigation .action-btn:hover {
  transform: scale(1.05);
}

.action-btn:hover {
  color: #dfdbdf;
}

.action-btn:focus {
  outline: 0;
}

.action-btn-big {
  color: #000;
  background: #fff;
  border-radius: 17.5px;
  font-size: 20px;
  width: 35px !important;
  height: 35px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.action-btn-big:hover {
  transform: scale(1.1);
  color: #000;
}

.action-btn-big:active {
  transform: scale(1);
}

.music-info {
  display: flex;
  width: 40vw;
  align-items: center !important;
  gap: 30px;
}

.music-info h4 {
  margin: 0;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-container {
  background: #575657;
  border-radius: 5px;
  cursor: pointer;
  height: 6px;
  width: 100%;
}

.progress {
  background: #1cd96a;
  border-radius: 5px;
  height: 100%;
  width: 0%;
  transition: width 0.1s linear;
}

.progress:hover {
  background: #1cd96a;
}

@media screen and (max-width: 600px) {
  .progress-container {
    display: none;
  }
}

.playlist-container {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0px;
  gap: 20px;
}

.playlist-card {
  max-width: calc(20% - 16px);
  background-color: #161616;
  padding: 15px;
  border-radius: 15px;
  display: inline-block;
  cursor: pointer;
  transition: 300ms;
  text-align: center;
  width: 170px;
}

.playlist-card:hover {
  background-color: #282828;
}

.playlist-card h3 {
  color: white;
  margin: 5px 0px;
  line-height: 1.5;
}

.song-image {
  width: 100%;
  height: inherit;
  border-radius: 10px;
}
#cover{
  border-radius:10px;
  width: 55px;
  height: 55px;
  overflow: hidden;
  background-image: cover;
  object-fit: cover;
}

.main-content {
  margin: 15px;
  background: #111111;
  border-radius: 15px;
  padding: 20px;
  width: 55%;
  height: calc(100vh - 114px);
  overflow: auto;
}

.right {
  padding: 15px; 
  padding-left: 0px;
  width: 25%;
  height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#queue-container {
  background: #111111;
  border-radius: 15px;
  padding: 20px;
  height: calc(100vh - 84px);
  list-style-type: none;
  text-overflow: ellipsis;
  overflow: auto;
  display: none;
}

.now-playing {
  background: #111111;
  border-radius: 15px;
  padding: 20px;
  height: calc(100vh - 84px);
  list-style-type: none;
  text-overflow: ellipsis;
  overflow: auto;
}

.now-playing h1 {
  font-size: 24px;
  margin: 0;
}

#now-playing-cover {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.now-playing-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.show-queue {
  display: block;
}

.main-container {
  display: flex;
  height: calc(100vh - 84px);
  margin-bottom: 84px !important;
}

#queue-container li {
  display: flex;
  align-items: center;
  margin: 10px 0px;
  padding: 7px;
  border-radius: 10px;
  text-overflow: ellipsis;
  justify-content: space-between;
}

.queue-song-desc {
  display: flex;
  align-items: center;
  gap: 10px;
}

#queue-container img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.current-song {
  border: 1px solid #575657;
  color: #1cd96a;
}

#playlist-indicator {
  font-size: 14px;
}

.queue-title {
  display: flex;
  justify-content: space-between;
}

.queue-title {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 1664px) {
  .playlist-card {
    max-width: calc(25% - 15px);
  }

  .playlist-card img {
    width: 100%;
    height: inherit;
  }
}

@media screen and (max-width: 700px) {
  .right {
    display: none;
  }

  .playlist-card {
    max-width: calc(50% - 10px) !important;
  }

  .playlist-card img {
    width: 100%;
    height: inherit;
  }

  .main-content {
    width: calc(100% - 30px);
  }

  .music-container {
    padding: 20px 15px;
    justify-content: space-between;
    gap: 10px;
  }

  .navigation {
    display: none;
  }

  .music-info {
    max-width: 40vw;
    text-overflow: ellipsis;
    gap: 20px;
    align-items: center !important;
  }

  .action-btn {
    margin: 0px 5px;
  }

  .sidebar {
    display: none;
  }

  #playlist-logo {
    width: 30vw !important;
  }

  .playlist-info h1 {
    font-size: 24px;
  }

  #toggle-button {
    display: none;
  }
}

body {
  background: #000;
}

.lightrope {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  margin: -15px 0 0 0;
  padding: 0;
  pointer-events: none;
  width: 100%;
}
.lightrope li {
  position: relative;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  width: 12px;
  height: 28px;
  border-radius: 50%;
  margin: 20px;
  display: inline-block;
  background: #00f7a5;
  box-shadow: 0px 4.6666666667px 24px 3px #00f7a5;
  animation-name: flash-1;
  animation-duration: 2s;
}
.lightrope li:nth-child(2n+1) {
  background: cyan;
  box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.5);
  animation-name: flash-2;
  animation-duration: 0.4s;
}
.lightrope li:nth-child(4n+2) {
  background: #f70094;
  box-shadow: 0px 4.6666666667px 24px 3px #f70094;
  animation-name: flash-3;
  animation-duration: 1.1s;
}
.lightrope li:nth-child(odd) {
  animation-duration: 1.8s;
}
.lightrope li:nth-child(3n+1) {
  animation-duration: 1.4s;
}
.lightrope li:before {
  content: "";
  position: absolute;
  background: #222;
  width: 10px;
  height: 9.3333333333px;
  border-radius: 3px;
  top: -4.6666666667px;
  left: 1px;
}
.lightrope li:after {
  content: "";
  top: -14px;
  left: 9px;
  position: absolute;
  width: 52px;
  height: 18.6666666667px;
  border-bottom: solid #222 2px;
  border-radius: 50%;
}
.lightrope li:last-child:after {
  content: none;
}
.lightrope li:first-child {
  margin-left: -40px;
}
@keyframes flash-1 {
  0%, 100% {
    background: #00f7a5;
    box-shadow: 0px 4.6666666667px 24px 3px #00f7a5;
  }
  50% {
    background: rgba(0, 247, 165, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 0.2);
  }
}
@keyframes flash-2 {
  0%, 100% {
    background: cyan;
    box-shadow: 0px 4.6666666667px 24px 3px cyan;
  }
  50% {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.2);
  }
}
@keyframes flash-3 {
  0%, 100% {
    background: #f70094;
    box-shadow: 0px 4.6666666667px 24px 3px #f70094;
  }
  50% {
    background: rgba(247, 0, 148, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 0.2);
  }
}

.input-div {
  text-align: center;
  margin: 10px 0px;
}

.input-div input {
  width: 80%;
}

input {
  background: #282828;
  border: none;
  padding: 15px 20px;
  font-size: 16px;
  width: 250px;
  color: #fff;
  text-align: center;
  margin: 10px;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  text-decoration-style: solid;
  text-decoration-color: #fff;
  transition: 500ms;
  outline: none;
}

::placeholder {
  color: #757575;
  font-size: 16px;
  font-family: 'Lexend';
}
.main-content-settings {
  margin: 15px;
  background: #111111;
  border-radius: 15px;
  padding: 20px;
  width: 80%;
}
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  
  em {
    margin-left: 10px;
    font-size: 1rem;
  }
}
.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.theme-switch input {
  display:none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 26px;
}

input:checked + .slider {
  background-color: #66bb6a;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
.artist-container{
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0px;
  gap: 20px;
}

.library {
  margin: 15px 0px 15px 15px;
  background: #111111;
  border-radius: 15px;
  padding: 20px 20px 20px 15px;
}

.playlist-rows {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.playlist-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 5px;
  margin: 10px 0px;
  cursor: pointer;
  border-radius: 7px;
  transition: 300ms;
}

.playlist-row:hover {
  background: #161616;
}

.playlist-row-image {
  height: 100%;
  border-radius: 5px;
  width: 40px;
  height: 40px;
}

.playlist-info-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.playlist-info-container .action-btn-big {
  height: 50px !important;
  width: 50px !important;
  border-radius: 50%;
  background: #1cd96a;
  font-size: 24px;
}

.playlist-info {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

#playlist-logo {
  width: 10vw;
  border-radius: 15px;
  box-shadow: 0px 0px 20px 0px #000;
  transition: 100ms;
  cursor: pointer;
}

#playlist-logo:hover {
  transform: scale(1.03);
}

.songs-container li {
  display: flex;
  align-items: center;
  margin: 10px 0px;
  padding: 7px;
  border-radius: 10px;
  text-overflow: ellipsis;
  justify-content: space-between;
  transition: 300ms;
  cursor: pointer;
}

.songs-container p {
  color: #a7a7a7;
}

.songs-container li:hover {
  background: #282828;
}

.songs-container img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.banner-top {
  display: flex;
  justify-content: space-between;
}

#google_translate_element {
  margin: 20px 0px;
}

#google_translate_element select {
  background: #161616;
  font-family: 'Lexend';
  color: #fff;
  border-radius: 5px;
  padding: 5px;
  outline: none;
  transition: 300ms;
  border: none;
}

#google_translate_element label {
  font-family: 'Lexend';
}

#google_translate_element option {
  font-family: 'Lexend';
  color: #fff;
  padding: 5px;
}

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

.library-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.playlist-menu {
  margin-bottom: 15px;
}
.playlist-menu li{
  width: 40px;
  height: 40px;
  font-size: 20px;
  border-radius: 20px;
  list-style-type: none;
  background: #161616;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 300ms;
  cursor: pointer;
}

.playlist-menu li:hover {
  transform: scale(0.95);
}

.visualizer {
  position: relative;
  width: 15px;
  height: 15px;
  overflow: hidden;
  margin-right: 10px;
}

.bar {
  position: absolute;
  width: 3px;
  background-color: #1cd96a;
  border-radius: 2px;
}

.bar:nth-child(1) {
  left: 0;
  bottom: 0;
  animation: soundwave1 0.5s infinite alternate;
}

.bar:nth-child(2) {
  left: 4px;
  bottom: 0;
  animation: soundwave2 0.6s infinite alternate;
}

.bar:nth-child(3) {
  left: 8px;
  bottom: 0;
  animation: soundwave3 0.4s infinite alternate;
}

.bar:nth-child(4) {
  left: 12px;
  bottom: 0;
  animation: soundwave4 0.7s infinite alternate;
}

@keyframes soundwave1 {
  0% {
    height: 10%;
  }

  100% {
    height: 90%;
  }
}

@keyframes soundwave2 {
  0% {
    height: 20%;
  }

  100% {
    height: 80%;
  }
}

@keyframes soundwave3 {
  0% {
    height: 30%;
  }

  100% {
    height: 70%;
  }
}

@keyframes soundwave4 {
  0% {
    height: 40%;
  }

  100% {
    height: 60%;
  }
}

/* ::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar:hover {
  visibility: visible;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

::-webkit-scrollbar-track {
  background-color: transparent;
} */