@media (max-width: 768px) {
  .sidebar,.album,.controls {
    display: none !important;
  }
  .main-content{
    padding: 0!important;
    margin: 0 !important;
  }
}

* {
  font-family: "Montserrat", sans-serif;
  color: white;
}

body {
  background: black;
  overflow: hidden;
}

.main {
  display: flex;
  height: 100vh;
}

.sidebar {
  flex-basis: 330px;
  background: black;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 98px);
}

.nav {
  display: flex;
  flex-direction: column;
  width: calc(100% - 24px);
  ;
  background: #121212;
  border-radius: 1rem;
  padding: 8px 12px;
}

.nav-option-1 {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
}

.nav-option-2 {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  opacity: 0.7;
}



.nav-option a {
  text-decoration: none;
  border: 0;
  margin-left: 12px;
  font-size: 16px;
}

.icon {
  color: white;
  width: 1.5rem;
  height: 1.5rem;
}

.library {
  display: flex;
  margin-top: 10px;
  flex-direction: column;
  width: calc(100%-16px);
  background: #121212;
  border-radius: 1rem;
  height: 100%;
  padding: 8px;
}

.lib-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
}

.lib-left {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
}

.lib-left img {
  height: 1.25rem;
}

.lib-left span {
  font-size: 16px;
  font-weight: 600;
}

.lib-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lib-right .icon {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.7;
}

.lib-bottom {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.box {
  height: 140px;
  background-color: #232323;
  border-radius: 0.75rem;
  margin: 5% 0%;

}

.box p {

  margin-left: 20px;
}

.b1 {
  font-weight: bold;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.b2 {
  font-size: 12px;
  margin-top: 0px;
  margin-bottom: 10px;
}

.b3 {
  font-size: 14px;
  background-color: white;
  font-weight: bold;
  height: 30px;
  border-radius: 1.5rem;
  width: 50%;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
}

.box div {
  color: black;
  justify-content: center;
  align-items: center;
  display: flex;
}



.main-content {
  flex: 1 1 75%;
  background: #121212;
  border-radius: 0.75rem;
  margin-left: 8px;
  padding-left: 16px;
  overflow-y: auto;
  /* Firefox */
  scrollbar-width: none;

  /* IE / Edge (old) */
  -ms-overflow-style: none;
}

/* Chrome, Safari, Edge */
.main-content::-webkit-scrollbar {
  display: none;
}

.sticky-nav {
  position: sticky;
  top: 0;
  height: 4rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  background: #121212;
}


.sticky-nav-icons {
  display: flex;
  align-items: center;
}

.sticky-nav-icons>img {
  height: 24px;
  width: 24px;
}

.sticky-nav-options {
  display: flex;
  justify-content: space-around;
}

.sticky-nav-options>a {
  font-size: 14px;
  font-weight: bold;
  height: 2rem;
  border-radius: 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 16px;
  margin-left: 16px;
}



.sticky-nav-options-premium {
  font-size: 14px;
  background-color: white;
  font-weight: bold;
  height: 2rem;
  border-radius: 1.5rem;
  color: black;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 16px;
  margin-left: 16px;
}

.sticky-nav-options-install {
  font-size: 14px;
  background-color: black;
  font-weight: bold;
  height: 2rem;
  border-radius: 1.5rem;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 16px;
  margin-left: 16px;
}

.cards-container {
  display: flex;
  border-radius: 0.3rem;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE / Edge legacy */
}

.card {
  background: #2323236b;
  width: 8rem;
  padding: 0.75rem;
  margin-left: 1rem;
  flex: 0 0 auto;

}

.card>img {
  border-radius: 0.3rem;
  width: 100%;
}

.card-title {
  font-weight: 600;
}

.card-info {
  font-size: 0.7rem;
  opacity: 0.8;
}

.footer {
  height: 20rem;
  align-items: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line {
  width: 90%;
  height: 50%;
  border-top: 1px solid white;
  opacity: 0.4;
}

.music-player {
  position: fixed;
  bottom: 0;
  height: 80px;
  width: calc(100% - 16px);
  background: black;
  display: flex;
}

.album {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 8px;
  flex: 1 1 25%;
}

.album img {
  height: 56px;
  width: 56px;
  margin-right: 16px;
}

.album-name {
  display: block;
  font-size: 12px;
  margin-right: 32px;
}

.album-artist {
  display: block;
  font-size: 9px;
  opacity: 0.7;
}

.album-like * {
  background: black;
  border: 0;
}

.player {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex: 1 1 50%;
}

.player-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

.player-bar {
  width: 100%;
  display: flex;
  justify-content: center;
}

.player-bar input[type="range"] {
  -webkit-appearance: none;
  width: 75%;
  height: 4px;
  background: #4d4d4d;
  /* gray unfilled */
  border-radius: 10px;
  cursor: pointer;
}


.player-bar input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 12px;
  width: 12px;
  background: white;
  border-radius: 50%;
  margin-top: -4px;
  /* align thumb */
}

/* green filled track */
.player-bar input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 10px;
}


.player-bar input[type="range"]::-moz-range-thumb {
  height: 12px;
  width: 12px;
  background: white;
  border-radius: 50%;
  border: none;
}

.player-bar input[type="range"]::-moz-range-track {
  height: 4px;
  background: #4d4d4d;
  border-radius: 10px;
}

.player-bar input[type="range"]::-moz-range-progress {
  background: #1db954;
  /* Spotify green */
  height: 4px;
  border-radius: 10px;
}

.player-bar input[type="range"] {
  -webkit-appearance: none;
  width: 75%;
  height: 4px;
  border-radius: 10px;
  cursor: pointer;

  background: linear-gradient(to right,
      #1db954 0%,
      #1db954 var(--progress),
      #4d4d4d var(--progress),
      #4d4d4d 100%);
}



.player-icon img {
  height: 1rem;
  opacity: 0.7;
  padding-left: 15px;
  padding-right: 15px;
}

.player-icon-3 {
  height: 1.75rem !important;
  opacity: 1 !important;
}

.controls {
  display: flex;
  flex: 1 1 25%;
  justify-content: space-around;
  align-items: center;
}

.control-volume {
  display: flex;
  align-items: center;
  gap: 8px;
}

.Volume-range {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  border-radius: 10px;
  cursor: pointer;

  background: linear-gradient(to right,
    #1db954 0%,
    #1db954 var(--volume, 60%),
    #4d4d4d var(--volume, 60%),
    #4d4d4d 100%);
}

/* CHROME / EDGE / SAFARI */
.Volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  opacity: 1;
  
}

/* FIREFOX */
.Volume-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #fff;
  border: none;
  border-radius: 50%;
  opacity: 1;
  
}




.controls svg {
  height: 16px;
}
