@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700&display=swap");

body {
  font-family: "Almarai", sans-serif;
  background-color: #121213;
  /* height: 5000px; */
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

header {
  height: 94vh;
  /* border: 1px solid white; */
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  color: white;
}

header .menu_side,
.song_side {
  background-color: #111727;
  /* border: 1px solid white; */
  width: 25%;
  height: 90%;
}

header .song_side {
  width: 75%;
  background-color: #0b1320;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.188);
  position: relative;
}

header .master_play {
  width: 100%;
  height: 13%;
  /* border: 1px solid #fff; */
  background-color: #111727;
}

header .menu_side .enwan {
  padding: 15px 20px 15px 25px;
  margin-bottom: 25px;
}

header .menu_side .enwan h2 {
  font-size: 20px;
  font-weight: 500;
}

header .menu_side .playList {
  padding: 15px 20px 15px 25px;
}

header .menu_side .playList h4 span {
  margin-right: 20px;
  transition: all 0.3s;
}

header .menu_side .playList h4 {
  font-weight: 500;
  font-size: 17px;
  color: #4c5262;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

header .menu_side .playList h4:hover {
  color: white;
}

header .menu_side .playList h4 span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid #4c5262;
  position: absolute;
  left: 0;
  top: 5px;
  transition: all 0.3s;
}

header .menu_side .playList h4:hover span::before {
  border: 1px solid white;
}

header .menu_side .playList h4 .bi {
  display: none;
}

header .menu_side .playList .active {
  color: #36e2ec;
}

header .menu_side .playList .active span {
  display: none;
}

header .menu_side .playList .active .bi {
  display: flex;
  /* margin-right: 20px; */
}

header .menu_side .menu_song {
  width: 100%;
  height: 425px;
  /* border: 1px solid #fff; */
  margin-top: 15px;
  overflow: auto;
}

header .menu_side .menu_song::-webkit-scrollbar {
  display: none;
}

header .menu_side .menu_song li span {
  font-size: 13px;
  color: #4c5262;
  margin-right: 20px;
}

header .menu_side .menu_song li img {
  width: 32px;
  height: 32px;
  margin-right: 20px;
}

header .menu_side .menu_song li h5 {
  font-size: 16px;
  margin-bottom: 0;
  width: 170px;
  /* border: 1px solid #fff; */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

header .menu_side .menu_song li h5 .subtitle {
  font-size: 9px;
  color: #4c5262;
}

header .menu_side .menu_song li .bi {
  position: absolute;
  right: 15px;
}

header .menu_side .menu_song li {
  list-style: none;
  display: flex;
  align-items: center;
  position: relative;
  padding: 6px 0 6px 20px;
  cursor: pointer;
  margin-bottom: 5px;
  transition: all 0.3s linear;
  /* background: rgb(105, 105, 105, 0.1); */
}

header .menu_side .menu_song li:hover {
  background: rgb(105, 105, 105, 0.1);
}

header .master_play {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

header .master_play .wave {
  width: 30px;
  height: 30px;
  /* border: 1px solid #fff; */
  padding-bottom: 5px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-right: 10px;
}

header .master_play .wave .wave1 {
  width: 3px;
  height: 10px;
  background-color: #36e2ec;
  border-radius: 10px 10px 0 0;
  /* animation: waver .7s linear infinite; */
  animation: unset;
}

header .master_play .wave .wave1:nth-child(2) {
  height: 13px;
  animation-delay: 0.4s;
}

header .master_play .wave .wave1:nth-child(3) {
  height: 8px;
  animation-delay: 0.8s;
}

header .master_play .wave .wave1:nth-child(4) {
  height: 15px;
  animation-delay: 0.5s;
}

/* javascript classes */

header .master_play .active1 .wave1 {
  animation: waver 0.7s linear infinite;
}
header .master_play .active1 .wave1:nth-child(2) {
  animation-delay: 0.4s;
}

header .master_play .active1 .wave1:nth-child(3) {
  animation-delay: 0.8s;
}

header .master_play .active1 .wave1:nth-child(4) {
  animation-delay: 0.5s;
}
@keyframes waver {
  0% {
    height: 10px;
  }
  50% {
    height: 15px;
  }
  100% {
    height: 10px;
  }
}


header .master_play img {
  width: 35px;
  height: 35px;
}

header .master_play h5 {
  width: 130px;
  /* border: 1px solid #fff; */
  font-size: 14px;
  margin-bottom: 0;
  margin-left: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 17px;
}

header .master_play h5 .subtitle {
  font-size: 12px;
  color: #4c5262;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

header .master_play .icon {
  margin: 0 20px 0 57px;
  display: flex;
  align-items: center;
  gap: 4px;
}

header .master_play .icon .bi {
  cursor: pointer;
}

header .master_play .icon .bi:nth-child(1) {
  margin-right: 10px;
}

header .master_play .icon .bi:nth-child(6) {
  margin-left: 10px;
}

header .master_play span {
  width: 32px;
  font-size: 11px;
  font-weight: 400;
}

header .master_play #currentStart {
  margin: 0 0 0 20px;
}

header .master_play .bar {
  position: relative;
  width: 43%;
  height: 2px;
  background-color: rgb(105, 105, 170, 0.1);
  margin: 0 15px 0 10px;
}

header .master_play .bar .bar2 {
  position: absolute;
  background-color: #36e2ec;
  width: 0%;
  height: 100%;
  top: 0.5px;
  transition: 1s linear;
}

header .master_play .bar .dot {
  position: absolute;
  width: 5px;
  height: 5px;
  top: -1.5px;
  left: -1px;
  border-radius: 50%;
  background-color: #36e2ec;
}

header .master_play .bar .dot::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #36e2ec;
  left: -4.5px;
  top: -5px;
  box-shadow: inset 0px 0px 3px #36e2ec;
}

header .master_play .bar input {
  position: absolute;
  width: 100%;
  top: -7.04px;
  left: 0;
  cursor: pointer;
  z-index: 999999999999999999;
  opacity: 0;
}

header .master_play .vol {
  position: relative;
  width: 100px;
  height: 2px;
  background-color: rgb(105, 105, 170, 0.1);
  margin-left: 50px;
}

header .master_play .vol .bi {
  position: absolute;
  color: #fff;
  font-size: 25px;
  top: -17px;
  left: -30px;
}

header .master_play .vol input {
  position: absolute;
  width: 100%;
  top: -7px;
  left: 0;
  cursor: pointer;
  z-index: 999999999999999999;
  opacity: 0;
}

header .master_play .vol .vol_bar {
  position: absolute;
  background-color: #36e2ec;
  width: 100%;
  height: 100%;
  top: 0;
  transition: 1s linear;
}

header .master_play .vol .dot {
  position: absolute;
  width: 5px;
  height: 5px;
  top: -1.5px;
  left: 100%;
  border-radius: 50%;
  background-color: #36e2ec;
}

header .master_play .vol .dot::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: -5px;
  left: -4px;
  border-radius: 50%;
  border: 1px solid #36e2ec;
  box-shadow: inset 0px 0px 3px #36e2ec;
}

header .song_side {
  z-index: 1;
}

header .song_side::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 300px;
  background-image: url(../bg.png);
  z-index: -1;
}

header .song_side nav {
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .song_side nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
}

header .song_side nav ul li {
  list-style: none;
  font-size: 13px;
  color: #4c5262;
  cursor: pointer;
  position: relative;
  transition: 0.5s linear;
}

header .song_side nav ul li:hover {
  color: #fff;
}

header .song_side nav ul li:nth-child(1) {
  color: white;
}

header .song_side nav ul li:nth-child(1)::before {
  content: "";
  position: absolute;
  bottom: -3px;
  background-color: #36e2ec;
  width: 100%;
  height: 1.5px;
}

header .song_side nav .search {
  position: relative;
  width: 40%;
  padding: 1px 10px;
  border-radius: 20px;
  /* border: 1px solid #fff; */
  color: gray;
}

header .song_side nav .search::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(184, 184, 184, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  z-index: -1;
}

header .song_side nav .search input {
  background-color: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 3px 10px;
  font-size: 13px;
}

header .song_side nav .user {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  /* border: 1px solid #fff; */
  margin-right: 10px;
}

header .song_side nav .user img {
  width: 100%;
  height: 100%;
}

header .song_side .content {
  width: 93%;
  height: 30%;
  margin: auto;
  /* border: 1px solid #fff; */
  padding-top: 20px;
}

header .song_side .content h2 {
  font-weight: bold;
}

header .song_side .content p {
  letter-spacing: 1px;
}

header .song_side .content .buttons {
  display: flex;
  align-items: center;
  gap: 5px;
}

header .song_side .content .buttons button {
  width: 130px;
  height: 30px;
  border-radius: 20px;
  border: 1px solid #36e2ec;
  outline: none;
  color: #fff;
  background: #5adae0;
  transition: 0.3s linear;
}

header .song_side .content .buttons button:hover {
  background: none;
  color: #fff;
}

header .song_side .content .buttons button:nth-child(2) {
  background: none;
  color: #5adae0;
}

header .song_side .content .buttons button:nth-child(2):hover {
  background: #5adae0;
  color: #fff;
}

header .song_side .popular_song {
  width: 93%;
  height: auto;
  margin: auto;
  /* border: 1px solid #fff; */
  margin-top: 20px;
}

header .song_side .popular_song .h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

header .song_side .popular_song .h4 h4 {
  margin-bottom: 0;
}

header .song_side .popular_song .h4 .bi {
  color: #a4a8b4;
  cursor: pointer;
  transition: 0.3s linear;
}

header .song_side .popular_song .h4 .bi:hover {
  color: #fff;
}

header .song_side .popular_song .pop_song {
  width: 100%;
  height: 150px;
  margin-top: 15px;
  display: flex;
  /* border: 1px solid #fff; */
  overflow: auto;
  scroll-behavior: smooth;
}

header .song_side .popular_song .pop_song::-webkit-scrollbar {
  display: none;
}

header .song_side .popular_song .pop_song li {
  min-width: 100px;
  height: 145px;
  list-style: none;
  margin-right: 10px;
  transition: 0.3s linear;
}

header .song_side .popular_song .pop_song li:hover {
  background-color: rgb(105, 105, 170, 0.1);
}

header .song_side .popular_song .pop_song li .img-play {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .song_side .popular_song .pop_song li .img-play img {
  width: 100%;
  height: 100%;
}

header .song_side .popular_song .pop_song li .img-play .bi {
  position: absolute;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s linear;
  opacity: 0;
}

header .song_side .popular_song .pop_song li:hover .img-play .bi {
  opacity: 1;
}

header .song_side .popular_song .pop_song li h5 {
  padding: 5px 0 0 5px;
  line-height: 17px;
  font-size: 13px;
  width: 100px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

header .song_side .popular_song .pop_song li h5 .subtitle {
  font-size: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #4c5262;
}

header .song_side .popular_artist {
  width: 93%;
  height: auto;
  margin: auto;
  margin-top: 15px;
  /* border: 1px solid #fff; */
}

header .song_side .popular_artist .h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

header .song_side .popular_artist .h4 h4 {
  margin-bottom: 0;
}

header .song_side .popular_artist .h4 .bi {
  color: #a4a8b4;
  cursor: pointer;
  transition: 0.3s linear;
}

header .song_side .popular_artist .h4 .bi:hover {
  color: #fff;
}

header .song_side .popular_artist .item {
  width: 100%;
  height: auto;
  margin-top: 15px;
  display: flex;
  /* border: 1px solid #fff; */
  overflow: auto;
  scroll-behavior: smooth;
}

header .song_side .popular_artist .item::-webkit-scrollbar {
 display: none;
}

header .song_side .popular_artist .item li {
  /* position: relative; */
  min-width: 60px;
  height: 60px;
  cursor: pointer;
  list-style: none;
  margin-right: 20px;
  border-radius: 50%;
}

header .song_side .popular_artist .item li img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* position: absolute; */
}
