@import "layout.css";

body {
background-color: #000;
}

a {color: #CD5C5C;}
li.dropdown {color: #CD5C5C;}

.a,.b {fill: #CD5C5C; stroke:#CD5C5C; stroke-width: 5px;}

.back-img img {
    position: absolute;
    z-index: -1;
    height: 100%;
    opacity: 0%;
    transition-delay: 3s;
    transition: opacity 3s;
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1024px;
      
    /* Set up proportionate scaling */
    width: 100%;
    height: auto;
      
    /* Set up positioning */
    position: fixed;
    top: 0;
    left: 0;
}


/*player code*/
/* Using flex with the column direction to
   align items in a vertical direction */
.player {
  height: 95vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: -70px;
 
}
 
.details {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: 25px;
}
 

/* Changing the font sizes to suitable ones */
.now-playing {
  font-size: 0.9rem;
  color: #000;
}
 
.track-name {
  font-size: 2.5rem;
  color: #000;
}
 
 
/* Using flex with the row direction to
   align items in a horizontal direction */
.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
}
 
.playpause-track {
  padding: 20px;
  opacity: 0.8;
  /* Smoothly transition the opacity */
  transition: opacity .2s;
  margin-left: 5vw;
  margin-right: 5vw;
}

/* Change the opacity when mouse is hovered */
.playpause-track:hover {
  float: right;
  opacity: 1.0;
  cursor: pointer;
}

 
/* Define the slider width so that it scales properly */
.slider_container {
  display: flex;
  justify-content: center;
  align-items: center;
}
 
/* Modify the appearance of the slider */
.seek_slider, .volume_slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 5px;
  background-color: #000;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

/* Modify the appearance of the slider thumb */
.seek_slider::-webkit-slider-thumb,
.volume_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #000;
  cursor: pointer;
  border-radius: 50%; 
}
 
/* Change the opacity when mouse is hovered */
.seek_slider:hover,
.volume_slider:hover {
  opacity: 1.0;
}
 
.seek_slider {
  width: 40vw;
}
 
.volume_slider {
  width: 30%;
}
 
.current-time,
.total-duration {
  padding: 10px;
  color: #000;
}
 
i.fa-volume-down,
i.fa-volume-up {
  padding: 10px;
}
 
/* Change the mouse cursor to a pointer
   when hovered over */
i.fa {
  width: 20px;
  cursor: pointer;
  color: #000;
  font-size: 21px;
}



/*mobile*/
@media only screen and (max-width: 500px) {

 i.fa {
  font-size: 16px;
}

 .now-playing {
  font-size: 0.8rem;
 
}
 
.track-name {
  font-size: 2rem;
  color: #000;
}
 
.track-artist {
  font-size: 0.8rem;
  color: #000;
}

.current-time,
.total-duration {
  font-size: 13px;
  padding: 10px;
  color: #000;
}
.slider_container {margin-left: -20px;}
.seek_slider {width: 52vw;}

}

