/* SIDE-BAR */
.sidebar {
  background-color: #121212;
  width: 397px;
  border-radius: 0.75rem;
  margin-right: 0.5rem;
  margin-top: 3.5rem;
  padding: 0 0.5rem 0.5rem 0.5rem;
  overflow: auto;
  overflow-x: hidden;
  position: relative;
  scrollbar-gutter: stable overlay;
  margin-bottom: 6rem;
}
.sidebar-search {
  height: 2rem;
  width: 96%;
  padding: 0.125rem 0.5rem 0;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.sidebar::-webkit-scrollbar {
  width: 0.6rem;
  background: transparent;
}
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.sidebar:hover::-webkit-scrollbar-thumb {
  background-color: rgba(106, 99, 99, 0.4);
}
#i1 {
  background-color: #121212;
  border: 0;
  border-radius: 50%;
  color: #656565;
  height: 2.125rem;
  width: 2.125rem;
  font-size: medium;
}
#i1:hover {
  background-color: #1f1f1f;
  cursor: pointer;
}
#recent {
  font-size: 0.9rem;
  font-weight: 600;
  background-color: #121212;
  border: 0;
  color: #656565;
}
#recent:hover {
  color: #969696;
  font-size: 0.925rem;
}
#recent i {
  font-size: medium;
}
.sidebar-top {
  background-color: #121212;
  height: 6.5rem;
  width: 104%;
  margin-left: -0.5rem;
  border-top-right-radius: 1rem;
  border-top-left-radius: 1rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  z-index: 10;
  /* box-shadow: 0 4px 8px rgba(0,0,0,0.5); */
}
.sidebar-top-header1 {
  width: 92%;
  height: 2.25rem;
  padding: 0.75rem 1rem 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
}
#sidebar-heading {
  margin: 0;
  font-size: medium;
  align-content: center;
}
#sidebar-heading:hover {
  cursor: pointer;
}
#create {
  justify-items: end;
  position: relative;
  left: 4.125rem;
  background-color: #1f1f1f;
  border: 0;
  border-radius: 1rem;
  font-size: small;
  padding: 0.5rem 1rem;
  font-weight: 900;
  color: white;
}
#create i {
  color: #656565;
  font-size: medium;
}
#create:hover {
  background-color: #282828;
  cursor: pointer;
}
#expand {
  background-color: #121212;
  border: 0;
  border-radius: 50%;
  color: #656565;
  align-content: baseline;
  padding: 0 0.6rem;
}
#expand:hover {
  background-color: #1f1f1f;
  cursor: pointer;
}
.sidebar-top-header2 {
  width: 92%;
  height: 3rem;
  margin: 0.5rem 1rem;
  align-content: center;
}
.badge {
  background-color: #ffffff1a;
  border-radius: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.badge:hover {
  background-color: #343434;
  cursor: pointer;
}
.mini-card {
  height: 4rem;
  width: 100%;
  background-color: #121212;
  display: flex;
  position: relative;
}
.mini-image {
  height: 3rem;
  width: 3rem;
  position: relative;
  top: 0.5rem;
  left: 0.6rem;
  border-radius: 0.25rem;
}
.mini-image-artist {
  height: 3rem;
  width: 3rem;
  position: relative;
  top: 0.5rem;
  left: 0.6rem;
  border-radius: 0.25rem;
  border-radius: 50%;
}
.mini-card-text {
  margin: 0;
  font-size: medium;
  position: relative;
  left: 1.25rem;
  top: 0.75rem;
  font-weight: 500;
  height: 0;
}
.mini-card p {
  margin: 0;
  position: absolute;
  top: 2.3rem;
  font-size: smaller;
  height: 0;
  left: 4.25rem;
  color: #898989;
  font-weight: 600;
}
.mini-card:hover {
  border-radius: 0.75rem;
  background-color: #1f1f1f;
  cursor: pointer;
}
.mini-play {
  position: absolute;
  left: 1.75rem;
  top: 1.45rem;
  opacity: 0;
}
.mini-card:hover .mini-play {
  opacity: 1;
}
.mini-card:hover .mini-image {
  opacity: 0.5;
}
.mini-card:hover .mini-image-artist {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .sidebar {
    width: 25%;
  }
  .sidebar-top, .mini-card-text, .mini-card p, .sidebar-search {
    display: none;
  }
  
}