body, html {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  color: #fff;
}

body {
  background-image: url('images/bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

video {
  z-index: 0;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


header {
  margin-top: 1em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header > img {
  width: 8em;
  height: 8em;
  border-radius: 100%;
  border: 1px solid #fff;
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
}

header > h1 {
  display: inline-block;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 1em;
  background-color: #000a;
  color: #fff;
  padding: 0.3em 0.6em;
  border: 1px solid #fffa;
  backdrop-filter: blur(6px) saturate(180%) contrast(0.8);
  -webkit-backdrop-filter: blur(6px) saturate(180%) contrast(0.8);
}

header > h2 {
  display: inline-block;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: -2px;
  border-radius: 1em;
  background-color: #000a;
  color: #fff;
  padding: 0.3em 0.6em;
  border: 1px solid #fffa;
  backdrop-filter: blur(6px) saturate(180%) contrast(0.8);
  -webkit-backdrop-filter: blur(6px) saturate(180%) contrast(0.8);
  width: 70%;
}

main {
  position: relative;
  opacity: 0;
  filter: blur(10px);
  width: min(65ch, 100% - 1rem);
  transition: opacity 2s ease-in-out, filter 2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.player {
  border-radius: 1em;
  border: 2px solid #fff;
  padding: 1em;
  padding-bottom: 2em;
  width: 78%;
  background-color: #000a;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
 
.details {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: 25px;
}
 
/* Changing the font sizes to suitable ones */
.now-playing {
  padding-bottom: 1em;
  font-size: 1rem;
}
 
/* Using flex with the row direction to
   align items in a horizontal direction */
.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
}
 
.playpause-track {
  opacity: 0.8;
 
  /* Smoothly transition the opacity */
  transition: opacity .2s;
}
 
/* Change the opacity when mouse is hovered */
.playpause-track:hover {
  opacity: 1.0;
}
 
/* Define the slider width so that it scales properly */
.slider_container {
  width: 100%;
  max-width: 400px;
  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: black;
  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: white;
  cursor: pointer;
  border-radius: 50%;
}
 
/* Change the opacity when mouse is hovered */
.seek_slider:hover,
.volume_slider:hover {
  opacity: 1.0;
}
 
.seek_slider {
  width: 60%;
}
 
.volume_slider {
  width: 30%;
}
 
.current-time,
.total-duration {
  padding: 10px;
}
 
i.fa-volume-down,
i.fa-volume-up {
  padding: 10px;
}
 
/* Change the mouse cursor to a pointer
   when hovered over */
i.fa-play-circle,
i.fa-pause-circle,
i.fa-step-forward,
i.fa-step-backward {
  cursor: pointer;
}


.container {
  padding-top: 2rem;
  width: 100%;
  max-width: 40rem;
  border-radius: 50px;
  border: 2px solid #fff;
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  margin-left: 1rem;
  margin-right: 1rem;
}


ul {
  box-sizing: border-box;
  list-style: none;
  margin: 0 auto;
  margin-top: 1rem;
  padding: 2em;
  padding-top: 0em;
  width: 100%;
}

ul > a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  padding: 1em;
  background-color: #fffa;
  backdrop-filter: blur(6px) saturate(180%) contrast(0.8);
  -webkit-backdrop-filter: blur(6px) saturate(180%) contrast(0.8);
  border-radius: 10em;
  margin: 1rem;
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
}

a {
  color: black;
  text-decoration: none;
}

