@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");

:root {
  --white: #fff;
  --black: #1c2b2d;
  --blue: #31326f;
  --light-blue: #005490;
  --color-primary: #9d0191;
  --color-sec: #db6400;
  --color-grey: #eee;
  --color-dark-grey: #222831;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
}

body {
  font-family: "Open Sans", sans-serif;
}

p {
  font-size: 1.6rem;
  line-height: 1.5;
}

img {
  width: 100%;
}

.container {
  max-width: 350px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Start Here */
body {
 background-color:#240104 ;
 background: url('/ims/Sample/StudioWallpaper.jpg');    
background-color: rgb(0, 0, 0);
  background-size: cover;
  background-attachment:fixed;
}

.box {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.music {
  position: relative;
  background: rgb(43,49,49);
background: linear-gradient(45deg, rgba(43,49,49,1) 0%, rgba(18,18,21,1) 100%);
  width: 65rem;
  color: white;
  border-radius: 5px;
  padding: 1rem;
  overflow: hidden;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.header .fas {
  font-size: 1.6rem;
}

.fa-bars {
  cursor: pointer;
}

.header h2 {
  font-size: 1.6rem;
  font-weight: 400;
}

/* Details */
.details {
  margin: 2rem 0;
  text-align: center;
}

.details img {
  width: 70%;
  /* border: 1px solid silver; */
  margin-bottom: 1rem;
  border-radius: 20px;
  transition: 20s ease-in-out;
}
.details img:hover {
transform: rotate(7200deg);
transition: 20s ease-in-out;
}

.details .artist {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f68b1f;
}

/* Controls */
.controls {
  background: rgb(43,49,49);
  background: linear-gradient(45deg, rgba(43,49,49,1) 0%, rgba(18,18,21,1) 100%);

  padding: 2rem 1rem;
  border-radius: 2rem;
}

.song-timer {
  color: var(--white);
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin: 1rem 0;
}

/* Range slider */
input[type="range"] {
  appearance: none;
  width: 50%;
  outline: none;
  height: 8px;
 background-color: #1c2b2d;
  margin: 0 10%;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  height: 1rem;
  width: 1rem;
  background: #f68b1f;
  border-radius: 50%;
  cursor: pointer;
}

.duration input[type="range"] {
  width: 80%;
}

/* Buttons */
.buttons {
  text-align: center;
  margin: 2rem auto;
  width: 80%;
  padding: 5px 0;
  cursor: pointer;
  border-radius: 5px;
}

.buttons > * {
  border: none;
  outline: none;
color: whitesmoke;
  padding: 1rem;
  cursor: pointer;
  background-color:#121215;
  border-radius: 50px;
  margin-left: 1rem;
  margin-right: 1rem;
  cursor: pointer;

}

.play {
  background: #f68b1f;
  width: 5rem;
  height: 5rem;
  margin-left: 1rem;
  margin-right: 1rem;
  border-radius: 50%;
  color: var(--white);
  transition: 1.3s ease-in-out;
  cursor: pointer;
}
.play:hover {
  background: red;
  width: 5rem;
  height: 5rem;
  margin-left: 1rem;
  margin-right: 1rem;
  border-radius: 50%;
  color: var(--white);
  transform: scale(1.3);
  transition: 1.3s ease-in-out;
}
.play-all {
  display: block;
  margin: 0 auto;
  padding: 13px;
  background-color: #121215;
  color: whitesmoke;
  cursor: pointer;
  border: none;
  border-radius: 3px;
}

.volume input[type="range"] {
  margin: 0;
}

/* Volume */
.volume {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0 1rem 0;
}
.volume p {
  
  color: var(--white);
  font-size: 1.4rem;
  height: 2rem;
  padding: 0 3px;
  margin-right: 8px;
}

.volume i {

  color: var(--white);
  font-size: 1.2rem;
  height: 2rem;
  padding: 0 3px;
  margin-right: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* Music Playlist */
.music-playlist {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.9);
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  transition: all 0.5s;
}

.playlist-header {
  color: var(--white);
  padding: 5px 0;
  border-bottom: 1px solid var(--color-grey);
}

.playlist-header .fa-times {
  cursor: pointer;
}
.playlist-header .fa-times:hover {
  cursor: pointer;

}
.playlist-div {
  width: 100%;
  height: 80vh;
  overflow-y: auto;
}

/* Playlist Scroll Bar */
.playlist-div::-webkit-scrollbar {
  height: 5px;
  width: 4px;
  border: 1px solid #d5d5d5;
  background: #d5d5d5;
}

.playlist-div::-webkit-scrollbar-track {
  --webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.playlist-div::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  outline: 1px solid #eee;
}

.playlist {
  display: flex;
  align-items: center;
  color: var(--white);
}
.playlist:hover {
  display: flex;
  align-items: center;
  color: #da0024;
}
.song-index {
  font-size: 1.4rem;
  margin-right: 5px;
}

.playlist p {
  width: 90%;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--color-grey);
  padding: 5px 0;
  cursor: pointer;
}
