body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  background-color: #000;
  color: #fff;
  overflow: hidden;
  padding: 0.5rem;
}

.main {
  display: flex;
  height: 100vh;
}

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

.sidebar {
  background-color: #000;
  width: 350px;
  border-radius: 1rem;
  margin-right: 0.5rem;
}

.main-content {
  background-color: #121212;
  flex: 1;
  border-radius: 1rem; /*16px*/
  overflow: auto;
  padding: 0 1.5rem 0 1.5rem;
}

.music-player {
  background-color: #000;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 72px;
}

.nav {
  background-color: #121212;
  border-radius: 1rem; /*16px*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100px;
  padding: 0.5rem 0.75rem;
}

.nav-option {
  line-height: 2.5rem;
  opacity: 0.7;
  padding: 0.3rem 0.75rem;
}

.nav-option:hover {
  opacity: 1;
}

.nav-option i {
  font-size: 1.25rem;
}

.nav-option a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  margin-left: 1rem;
}

.library {
  background-color: #121212;
  border-radius: 1rem;
  height: 100%;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
}

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

.lib-options img {
  height: 1.25rem;
  width: 1.25rem;
}

.icons {
  font-size: 1.25rem;
  display: flex;
}

.icons i {
  margin-right: 0.5rem;
  opacity: 0.7;
}

.icons i:hover {
  opacity: 1;
}

.box {
  background-color: #232323;
  height: 8rem;
  border-radius: 0.75rem;
  margin: 0.75rem 0 1.6rem 0;
  padding: 0.2rem 1.25rem 1rem 1.25rem;
}

.box-p1 {
  font-size: 1rem;
  font-weight: 500;
}

.box-p2 {
  font-size: 0.85rem;
  opacity: 0.9;
}

.badge {
  background-color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0.25rem 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  height: 2rem;
  width: fit-content;
}

.dark-badge {
  background-color: #000;
  color: #fff;
}

.sticky-nav {
  position: sticky;
  top: 0;
  background-color: #121212;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 1rem 0;
  z-index: 10;
}

.sticky-nav-left {
  margin-left: 0.75rem;
}

.sticky-nav-left img {
  border-radius: 100%;
  background-color: #000;
  padding: 0.3rem;
  height: 1.2rem;
  width: 1.2rem;
  margin-right: 0.2rem;
}

.sticky-nav-right {
  margin-right: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-item-right {
  margin-right: 1rem;
}

.nav-item-right i {
  font-size: 1.1rem;
}

@media (max-width: 1000px) {
  .hide-1000px {
    display: none;
  }
}

.card {
  background-color: #232323;
  width: 168px;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
}

.card-image {
  width: 100%;
  border-radius: 0.5rem;
}

.card-title {
  font-weight: 600;
}

.card-info {
  font-size: 0.85rem;
  opacity: 0.5;
}

.footer {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line {
  height: 50%;
  width: 90%;
  border-top: 1px solid #fff;
  opacity: 0.4;
}

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

.album {
  width: 25%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 10px;
  margin-left: 1rem;
}

#album-image {
  border-radius: 0.8rem;
  width: 60px;
  height: 60px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.album-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

#album-title {
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

#album-title:hover {
  text-decoration: underline;
}

.album-artists {
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.album-artists a {
  opacity: 0.7;
}

.album-artists a:hover {
  opacity: 1;
  text-decoration: underline;
}

#add-icon {
  font-size: 1.2rem;
  opacity: 0.7;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

#add-icon:hover {
  transform: scale(1.1);
  opacity: 1;
}

.player {
  width: 50%;
}

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

.player-control-icon {
  height: 1rem;
  margin-right: 1.75rem;
  opacity: 0.7;
  cursor: pointer;
}

.player-control-icon:hover {
  opacity: 1;
}

.playback-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}

.current-time {
  font-size: 0.75rem;
  opacity: 0.8;
}

.progress-bar {
  width: 70%;
  appearance: none;
  background-color: #ddd;
  cursor: pointer;
  margin: 0 0.5rem 0 0.5rem;
  border-radius: 100px;
  height: 0.22rem;
  outline: none;
}

.progress-bar::-webkit-slider-runnable-track {
  background-color: transparent;
  border-radius: 100px;
  height: 0.22rem;
}

.progress-bar::-webkit-slider-thumb {
  appearance: none;
  height: 1rem;
  width: 1rem;
  background-color: #1bd760;
  border-radius: 50%;
  margin-top: -6px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  border: none;
}

.progress-bar:hover::-webkit-slider-thumb {
  opacity: 1;
}

.total-time {
  font-size: 0.75rem;
  opacity: 0.8;
}

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

.controls span {
  font-size: 1.35rem;
  margin-right: 0.5rem;
  opacity: 0.7;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.controls span:hover {
  opacity: 1;
  transform: scale(1.1);
}

.volume {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.5rem;
}

#volume-slider {
  width: 75%;
  appearance: none;
  background-color: #ddd;
  cursor: pointer;
  border-radius: 100px;
  height: 0.22rem;
  outline: none;
}

#volume-slider::-webkit-slider-runnable-track {
  background-color: transparent;
  border-radius: 100px;
  height: 0.22rem;
}

#volume-slider::-webkit-slider-thumb {
  appearance: none;
  height: 1rem;
  width: 1rem;
  background-color: #1bd760;
  border-radius: 50%;
  margin-top: -6px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  border: none;
}

#volume-slider:hover::-webkit-slider-thumb {
  opacity: 1;
}

@media (max-width: 768px) {
  .sidebar_menu {
    width: 240px;
  }

  .sidebar_menu .logo a {
    font-size: 18px;
    left: 30px;
  }

  .sidebar_menu .menu i,
  .sidebar_menu .menu a {
    font-size: 16px;
  }

  .sidebar_menu .btn_two i {
    left: 210px;
  }

  .sidebar_menu .social_media {
    left: 22%;
  }

  .btn_one i {
    font-size: 24px;
  }

  .btn_one i:hover {
    font-size: 30px;
  }

  .btn_two i:hover {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .sidebar_menu {
    width: 200px;
  }

  .sidebar_menu .logo a {
    font-size: 16px;
    left: 20px;
  }

  .sidebar_menu .menu i,
  .sidebar_menu .menu a {
    font-size: 14px;
  }

  .sidebar_menu .btn_two i {
    left: 180px;
  }

  .sidebar_menu .social_media {
    left: 18%;
  }

  .btn_one i {
    font-size: 20px;
  }

  .btn_one i:hover {
    font-size: 24px;
  }

  .btn_two i:hover {
    font-size: 22px;
  }
}
