body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  background-color: black;
  color: white;
  overflow: hidden;
}
.main {
  display: flex;
  height: 100vh;
  padding: 0.5rem;
}
.sidebar {
  background-color: #000;
  width: 330px;
  border-radius: 1rem;
  margin-right: 0.5rem;
}

.main-content {
  /*   Middle contents which includes all the songs in card form   */
  background-color: #121212;
  flex: 1;
  border-radius: 1rem;
  overflow: auto;
  padding: 0 1.5rem 0 1.5rem;
}

.music-player {
  background-color: black;
  position: fixed;
  bottom: 0px;
}
a {
  text-decoration: none;
  color: #ffff;
}

.nav {
  display: flex;
  background-color: #121212;
  border-radius: 1 rem;
  flex-direction: column;
  justify-content: center;
  height: 100px;
  padding: 0.5rem 0.75rem; /*top bottom= 8px=0.5rem left&right= 12 px */
}
.nav-option {
  line-height: 2.5rem;
  font-size: 1rem;
  opacity: 0.7;
  padding: 0.5rem 0.75rem;
}
.nav-option:hover {
  opacity: 1;
}

.nav-option i {
  font-size: 1.25rem;
}
.nav-option a {
  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-option img {
  height: 1.25rem;
  width: 1.25rem;
}
.icons {
  font-size: 1.2rem;
  display: flex;
}
.icons i {
  margin-right: 1.2rem;
  opacity: 0.7;
}

.icons i:hover {
  opacity: 1;
}

.box {
  background-color: #232323;
  height: 8rem;
  border-radius: 1rem;
  margin: 0.5rem 0 0.75rem 0;
  padding: 0.75rem 1rem;
}
.box-p1 {
  font-size: 1rem;
  font-weight: 500;
}

.box-p2 {
  font-size: 0.85rem;
  opacity: 0.9;
}

.badge {
  background-color: white;
  border: none;
  border-radius: 100px;
  padding: 0.25rem 1.5rem;
  font-weight: 700;
  margin-top: 0.5rem;
  height: 2rem;
  width: fit-content;
  cursor: pointer;
}

.box-2 {
  background-color: #232323;
  height: 10rem;
  border-radius: 1rem;
  margin: 1.5rem 0 0.75rem 0;
  padding: 0.75rem 1rem;
}
#darkbadge {
  background-color: black;
  color: white;
}
.sticky-nav {
  position: sticky;
  top: 0px;
  background-color: #121212;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 1rem 0;
  z-index: 10;
}

.sticky-nav-icons {
  margin-left: 0.75rem;
}

.sticky-nav-options {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 2rem;
}

.nav-item {
  margin-right: 1.5rem;
  cursor: pointer;
}

.nav-item:hover{
scale: 1.1;
}
@media (max-width: 1000px) {
  .hide {
    display: none;
  }
}

.card {
  width: 140px;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-left: 1.5rem;
  margin-top: 1rem;
}

.card:hover {
  background-color: #232323;

  opacity: 2;
  cursor: pointer;
}
.cards-container {
  display: flex;
  flex-wrap: wrap;
}

.card-img {
  width: 100%;
  border-radius: 0.5rem;
}
.card-title {
  font-weight: 600;
}
.card-info {
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer {
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.line {
  width: 90%;
  height: 50%;
  border-top: 1px solid white;
  opacity: 0.4;
}

.music-player {
  height: 80px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.album {
  width: 25%;
}
.player {
  width: 50%;
}
.album .playing {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.heartcompress {
  margin-left: 60px;
  cursor: pointer;
}

.playing img {
  height: 3rem;
  width: 3rem;
  /* margin: 0.5rem; */
  padding: 0.5rem;
}
.control {
  width: 25%;
}
.control-option {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-around;
  margin-right: 20px;
  cursor: pointer;
}

.control-option img {
  opacity: 0.7;
}
.control-option img:hover {
  opacity: 5;
}

.volume-bar {
  display: flex;
  justify-content: center;
  align-items: center;
}
.volume-progress-bar {
  width: 70%;
  appearance: none;
  cursor: pointer;
  background-color: transparent;
}

.volume-icon {
  opacity: 0.6;
}
.volume-icon:hover {
  opacity: 1;
}
.size {
  opacity: 0.6;
}
.size:hover {
  opacity: 2;
}

.volume-progress-bar::-webkit-slider-runnable-track {
  background-color: white;
  border-radius: 100px;
  height: 2px;
}

.volume-progress-bar::-webkit-slider-thumb {
  appearance: none;
  height: 16px;
  width: 16px;
  background-color: #1bd760;
  border-radius: 50%;
  margin-top: -6px;
}

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
}

.player-control-icon {
  cursor: pointer;
  height: 1rem;
  margin-right: 1.75rem;
  opacity: 0.7;
}
.player-control-icon:hover {
  opacity: 1;
}
.playback-bar {
  display: flex;
  justify-content: center;
  align-items: center;
}
.progress-bar {
  width: 70%;
  appearance: none;
  cursor: pointer;
  background-color: transparent;
}

.progress-bar::-webkit-slider-runnable-track {
  background-color: white;
  border-radius: 100px;
  height: 0.2rem;
}

.progress-bar::-webkit-slider-thumb {
  appearance: none;
  height: 16px;
  width: 16px;
  background-color: #1bd760;
  border-radius: 50%;
  margin-top: -6px;
}
