body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  color: white;
  background: #000;
  overflow: hidden;
  width: 100%;
}

.main {
  display: flex;
  height: 100vh;
  padding: 0.5rem;
}

.sidebar {
  background-color: #000000;
  width: 340px;
  border-radius: 1rem;
  margin-right: 0.5rem;
}

a {
  text-decoration: none;
  color: white;
}

.content {
  background: #121212;
  flex: 1;
  border-radius: 1rem;
  overflow: auto;
  padding: 0 1.5rem;
}

.player {
  background: black;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 72px;
}

.sidebar .nav {
  background-color: #121212;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100px;
  padding: 0.5rem 0.75rem;
}

.op {
  line-height: 2.5rem;
  opacity: 0.7;
  padding: 0.5rem;
}

.op i {
  font-size: 1.25rem;
}

.op a {
  font-size: 1rem;
  margin-left: 1rem;
}

.op:hover {
  opacity: 1;
}

.library {
  background: #121212;
  border-radius: 1rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  height: 100%;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.op img {
  width: 1.25rem;
  height: 1.25rem;
}

.li {
  font-size: 1.25rem;
  display: flex;
}

.li i {
  opacity: 0.7;
  margin-right: 1rem;
}

.li i:hover {
  opacity: 1;
}

.box {
  background-color: #232323;
  height: 8rem;
  border-radius: 0.75rem;
  margin: 0.75rem 0 1.75rem 0;
  padding: 0.5rem 1rem;
}

.box-p1 {
  font-size: 1rem;
  font-weight: 500;
}

.box-p2 {
  font-size: 0.75rem;
  opacity: 0.9;
}

.badge {
  background-color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0.25rem 1rem;
  font-weight: 700;
  margin-top: 0.75rem;
  height: 2rem;
  width: fit-content;
}

.b1 {
  color: white;
  background-color: #000;
}

.sticky-nav {
  display: flex;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background-color: #121212;
  align-items: center;
  padding: 1rem 0;
  z-index: 10;
}

.sticky-nav .div1 {
  margin-left: 0.75rem;
}

.sticky-nav .div2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.n1 {
  margin-right: 2rem;
}

#user {
  transform: translateY(0.25rem);
}

.card {
  background-color: #121212;
  width: 150px;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-right: 1.5rem;
  margin-top: 1rem;
}

.card-contain {
  display: flex;
  flex-wrap: wrap;
}

.card img {
  width: 100%;
}

.in1 {
  font-weight: 600;
}

.in2 {
  font-size: 0.75rem;
  opacity: 0.8;
}

.footer {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line {
  width: 90%;
  height: 50%;
  border-top: 1px solid white;
  opacity: 0.4;
}

.card:hover {
  background-color: #232323;
}

.ima {
  height: 2.75rem;
  width: 2.75rem;
  margin-top: 1rem;
  border-radius: 0.25rem;
}

.player {
  display: flex;
  justify-content: center;
  align-items: center;
}

.part1 {
  width: 25%;
  display: flex;
}

.part2 {
  width: 50%;
}

.part3 {
  width: 25%;
}

.ic {
  height: 1rem;
  margin-right: 0.8rem;
  opacity: 0.7;
}

.time {
  display: flex;
  justify-content: center;
  align-items: center;
}

.control {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ic:hover {
  opacity: 1;
}

.range {
  width: 70%;
  appearance: none;
  background-color: transparent;
  cursor: pointer;
}

.r1 {
  width: 50%;
  appearance: none;
  background-color: transparent;
  cursor: pointer;
  transform: translateY(-0.3rem);
}

.range::-webkit-slider-runnable-track {
  border-radius: 100px;
  height: 0.2rem;
  background-color: white;
}

.range::-webkit-slider-thumb {
  appearance: none;
  height: 1rem;
  width: 1rem;
  background-color: #1bd760;
  border-radius: 50%;
  margin-top: -6px;
}

i:hover,
img:hover,
.badge:hover {
  cursor: pointer;
}

.n1:hover {
  transform: scale(1.1);
}

.icon1 {
  display: flex;
  margin: 10px;
  transform: translate(-0.25rem, 0.5rem);
}

.icon1 i {
  margin-left: 0.25rem;
}

/* Media Queries */

/* Large Tablets (max-width: 1000px) */
@media (max-width: 1000px) {
  .div1 .nn {
    display: none;
  }
  .div2 .n1 {
    display: none;
  }
  .sidebar {
    width: 280px;
  }
  .card {
    width: 140px;
    margin-right: 1rem;
  }
  .player {
    height: 60px;
  }
  .part1,
  .part3 {
    width: 30%;
  }
  .part2 {
    width: 40%;
  }
  .range {
    width: 60%;
  }
  .ima {
    height: 2.5rem;
    width: 2.5rem;
  }
}

/* Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .main {
    flex-direction: column;
    padding: 0.25rem;
  }
  .sidebar {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  .sidebar .nav {
    flex-direction: row;
    height: auto;
    justify-content: space-around;
  }
  .library {
    height: auto;
  }
  .box {
    height: 7rem;
    margin: 0.5rem 0;
  }
  .content {
    padding: 0 1rem;
  }
  .card {
    width: 45%;
    margin-right: 0.75rem;
  }
  .player {
    height: 80px;
    flex-wrap: wrap;
    padding: 0.5rem;
  }
  .part1 {
    width: 40%;
  }
  .part2 {
    width: 100%;
    order: 1;
    margin-top: 0.5rem;
  }
  .part3 {
    width: 60%;
    display: flex;
    justify-content: flex-end;
  }
  .range {
    width: 80%;
  }
  .r1 {
    width: 40%;
  }
  .sticky-nav {
    padding: 0.5rem 0;
  }
}

/* Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .sidebar {
    display: none; /* Hide sidebar on mobile, can be toggled with JS */
  }
  .content {
    padding: 0 0.5rem;
  }
  .card {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .card img {
    max-height: 150px;
    object-fit: cover;
  }
  .player {
    height: 100px;
    flex-direction: column;
    align-items: stretch;
  }
  .part1 {
    width: 100%;
    justify-content: space-between;
    padding: 0 0.5rem;
  }
  .part2 {
    width: 100%;
    margin-top: 0;
  }
  .part3 {
    width: 100%;
    justify-content: center;
    padding: 0.5rem;
  }
  .range {
    width: 90%;
  }
  .r1 {
    width: 60%;
  }
  .ima {
    height: 2rem;
    width: 2rem;
  }
  .box-p1 {
    font-size: 0.9rem;
  }
  .box-p2 {
    font-size: 0.7rem;
  }
  .badge {
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
  }
  .sticky-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .sticky-nav .div1 {
    margin-left: 0.5rem;
  }
  .sticky-nav .div2 {
    margin-top: 0.5rem;
  }
}

/* Very Small Devices (max-width: 360px) */
@media (max-width: 360px) {
  .content {
    padding: 0 0.25rem;
  }
  .card {
    padding: 0.5rem;
  }
  .player {
    height: 120px;
  }
  .part1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ima {
    margin-top: 0.5rem;
  }
  .icon1 {
    margin: 0.5rem 0;
  }
  .part3 {
    flex-wrap: wrap;
    justify-content: center;
  }
  .range {
    width: 100%;
  }
  .r1 {
    width: 80%;
  }
}