* {
  margin: 0;
  padding: 0;
}
:root {
  --primary-color: #ff6f61;
  --primry-black: #2c2c2c;
  --primary-white: #ffffff;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #1e1e1e;
  color: #fff;
}

h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
}

.container {
  display: flex;
  flex-direction: column;
}

.left-side {
  /* height: 100vh; */
  /* width: 200px; */
  padding: 10px;
  /* background: var(--primry-black); */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: 100px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-buttons {
  display: flex;
}

.left-side p {
  color: var(--primary-color);
  font-size: 20px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.category-buttons button {
  width: 80px;
  padding: 10px 15px;
  margin: 5px;
  border: none;
  border-radius: 10px;
  background: #444;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.category-buttons button:hover {
  background: var(--primary-color);
}
.right-side {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.player-container {
  /* background: var(--primry-black); */
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* width: 100%; */
  max-width: 400px;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
}

.controls {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
  /* width: 100%; */
}

#pauseBtn {
  display: none;
}
button.control-btn {
  background: var(--primary-color);
  border: none;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

button.control-btn:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

.progress-container {
  width: 100%;
  height: 10px;
  background: #444;
  border-radius: 5px;
  margin-top: 20px;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--primary-color);
  border-radius: 5px;
  transition: width 0.2s;
}

@media (max-width: 480px) {
  .container {
    flex-direction: column;
  }
  .left-side {
    order: 1;
    width: 100%;
    height: 50px;
    padding: 200px 10px;
    box-shadow: none;

    background: none;
  }
  .category-buttons {
    display: flex;
  }
  .right-side {
    order: 2;
    width: 100%;
    position: absolute;
    top: 50%;
  }
  .progress-container {
    width: 80%;
  }
  button.control-btn {
    width: 50px;
    height: 50px;
  }
  .player-container {
    width: 90%;
  }
}
