/* ===========================
   MAIN LAYOUT
   =========================== */

.container {
  display: flex;
  margin-top: 10px;
  margin-bottom: 7px;
  padding: 0px 8px;
  flex: 1;
  overflow: hidden;
  gap: 8px;
}

/* ===========================
   SIDEBAR / LIBRARY
   =========================== */

.sidebar {
  background-color: #121212;
  border-radius: 12px;
  width: 18%;
  padding: 20px 14px 9px;
  display: flex;
  flex-direction: column;
}

.sidebar h3 {
  margin: 30px 8px;
  transition: color 0.5s ease-in-out;
}

.sidebar h3:hover {
  color: #1db954;
  cursor: pointer;
}

.library-section {
  background-color: #242424;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.library-section h4 {
  margin-bottom: 10px;
}

.library-section p {
  font-size: 14px;
  color: #b3b3b3;
  margin-bottom: 10px;
}

.library-section button {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  background-color: white;
  color: black;
  cursor: pointer;
  font-weight: bold;
}

.library-section button:hover {
  background-color: #1db954;
  color: white;
}

/* ===========================
   RECENT SECTION
   =========================== */

.recent-section {
  height: 80%;
  margin-bottom: 0px;
  padding: 10px !important;
}

.recent-section h3 {
  margin: 15px 5px 10px 16px;
  font-size: 22px;
}

.recent-section h4 {
  margin: 3px 0px;
  font-size: 18px;
}

.recent-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-section li {
  margin-bottom: 5px;
}

.scroll {
  height: 86%;
  overflow: auto;
}

.just {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0px 0px -9px 0px;
  border-radius: 10px;
  padding: 10px;
  overflow: hidden;
}

.just:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.just img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.justcontent p {
  margin-top: 0px;
}

.justcontent h3 {
  margin: 4px 0 2px 0;
}

/* ===========================
   MAIN CONTENT AREA
   =========================== */

.main {
  position: relative;
  flex: 1;
  background-color: #181818;
  border-radius: 14px;
  overflow-y: scroll;
}

.section {
  margin: 20px 10px;
  position: relative;
}

.main h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

/* ===========================
   CARD CONTAINERS
   =========================== */

.card-container {
  padding: 20px 10px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-x: scroll;
  max-height: 78vh;
  border-radius: 25px;
  scroll-behavior: smooth;
  justify-content: flex-start;
  align-items: center;
}

/* ===========================
   ARROW NAVIGATION
   =========================== */

.arrow-btn {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1;
  opacity: 0.6;
}

.arrow-btn.right {
  right: 2px;
}

.arrow-btn.left {
  left: 2px;
}

.arrow-btn:hover {
  opacity: 1;
  color: white;
  background-color: #0f0f0f;
  transition: all 0.3s ease-in-out;
}

.arrow-btn .material-icons {
  color: white;
  font-size: 35px;
}

.arrow2 {
  bottom: 130px;
}

/* ===========================
   CARDS
   =========================== */

.card {
  flex-shrink: 0;
  width: 180px;
  height: 250px;
  background-color: #121212;
  border-radius: 15px;
  padding: 10px;
  position: relative;
  cursor: pointer;
  border: 1px solid #2a2a2a;
  transition: transform 0.4s, background-color 0.4s, box-shadow 0.4s;
}

.card:hover {
  background-color: #141414b6;
  transform: scale(1.05);
  box-shadow: 0 0 10px #1fee673a;
}

.card img {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}

/* ===========================
   ARTIST CARDS
   =========================== */

.Artists {
  position: relative;
}

.artist {
  height: 200px;
  text-align: center;
  background-color: transparent;
  border: none;
}

.artist img {
  border-radius: 50%;
}

.artist .play-button {
  bottom: 40px;
}

/* ===========================
   MOOD CARDS
   =========================== */

.mood-card .card {
  height: 210px;
}

.mood-card .play-button {
  bottom: 52px;
}

/* ===========================
   PLAY BUTTON
   =========================== */

.play-button {
  position: absolute;
  bottom: 93px;
  right: 15px;
  background-color: #1db954;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(0%, 40%);
  transition: opacity 0.5s ease-in-out, transform 0.7s ease-in-out;
}

.card:hover .play-button {
  opacity: 1;
  transform: scale(1);
}

.play-button::before {
  content: "";
  border-left: 12px solid black;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* ===========================
   CARD INFO
   =========================== */

.card-info h4 {
  margin-top: 2px;
  font-size: 17px;
  margin-left: 4px;
}

.card .art {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
  margin-left: 7px;
  margin-bottom: 5px;
  color: rgb(172, 200, 212);
}

/* ===========================
   TAGS
   =========================== */

.tag {
  display: inline-block;
  position: absolute;
  bottom: 9px;
  background-color: #1db954;
  color: black;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  width: max-content;
  text-align: center;
}

.tag.new {
  background-color: #ff3c00;
  color: white;
}

/* ===========================
   ADDITIONAL STYLES FROM HTML
   =========================== */

.navbar-divider {
  color: #888;
}

.login-icon-white {
  color: white;
}

.section-description {
  color: #b3b3b3;
  margin-bottom: 20px;
  margin-left: 18px;
}
