* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  height: 100vh;
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main {
  position: relative;
  height: 80%;
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #bc82d9, #440663);
}

.main button {
  padding: 10px 12px;
  margin: 0 10px;
}

.main #logo {
  position: absolute;
  top: 10px;
  left: 30px;
  font-size: 25px;
  color: #a571bf;
}

.main #logo i {
  margin-right: 15px;
}


/* left & right part */
.right,
.left {
  position: relative;
  height: 100%;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* song image */
.left img {
  height: 200px;
  width: 200px;
  border-radius: 15px;
  box-shadow: 1px 0px 20px 12px rgba(230, 230, 250, 0.96);
}

/* both range slider part */
input[type="range"] {
  -webkit-appearance: none;
  width: 50%;
  outline: none;
  height: 2px;
  margin: 0 15px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  background: #2b0340;
  border-radius: 50%;
  cursor: pointer;
}

.right input[type="range"] {
  width: 40%;
}

/* volume part */
.left .volume {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.left .volume p {
  font-size: 15px;
}

.left .volume i {
  cursor: pointer;
  padding: 8px 12px;
  background: #b781d4;
}

.left .volume i:hover {
  background: purple;
}

.volume #volume_show {
  padding: 8px 12px;
  margin: 0 5px 0 0;
  background: #440663;
}

/* right part */
.right .middle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.right .middle button {
  border: none;
  height: 70px;
  width: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: 0.5s;
  background: rgba(230, 230, 250, 0.96);
}

.right #title {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-transform: capitalize;
  color: #E6E6FA;
  font-size: 35px;
}

.right #artist {
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  text-transform: capitalize;
  color: #E6E6FA;
  font-size: 18px;
}

.right .duration {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 20px;
  margin-top: 40px;
}

.right .duration p {
  color: #E6E6FA;
  font-size: 15px;
  margin-left: 20px;
}

.right #auto {
  font-size: 18px;
  cursor: pointer;
  margin-top: 45px;
  border: none;
  padding: 10px 14px;
  color: #E6E6FA;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  border-radius: 10px;
}

.right #auto i {
  margin-left: 8px;
}

#play {
  background: #440663;
}

.right button:hover {
  background: #3a1b59;
}

.right i:before {
  color: #000;
  font-size: 20px;
}

.right .show_song_no {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: #000;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
}

.right .show_song_no p:nth-child(2) {
  margin: 0 5px;
}