@font-face {
  font-family: 'mangat';
  src: url('../../../../fonts/mangat.woff') format('woff'),
      url('../../../../fonts/mangat.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}


body {
  background-color: white;
  font-family: 'mangat', sans-serif;
  /* Smoothly transition the background color */
  transition: background-color .5s;
  }
   
h1,h2 {
  margin: 5px;
  display: flex;
  justify-content: center;
}

.mainpageBG {
  /* background-color: white; */
  background-size: 300px, 300px; 
  background-position: bottom 75px left; 
  background-image: url('./img/SittingManAI.png'); 
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.subpageBG {
  /* background-color: white; */
  background-size: 300px, 300px; 
  background-position: bottom 75px left; 
  background-image: url('./img/SittingManBeats.png'); 
  background-attachment: fixed;
  background-repeat: no-repeat;
}


  /* Using flex with the column direction to
     align items in a vertical direction */
.player {
  width: 100%;
  height:5rem;
  position:fixed;
  border-color: black;
  padding:0.35em 1.2em;
  border-image: url(./img/BoundaryBoxSketch.png);
  border-image-slice: 20;
  border-image-width: 10;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  box-sizing: border-box;
  left:0;
  bottom:0;
  padding:0;
  margin:0;
  flex-direction: row;
  justify-content: center;
  flex-flow: row nowrap;
}

.details {
  justify-content: space-evenly;
  justify-items: center;
  align-content: space-evenly;
  align-items: center;
  display: flex;
  flex-direction: row;
  margin: 20px;
}
   
.track-art {
  margin-top: -8px;
  margin-left: 16px;
  height: 50px;
  width: 50px;
  background-image: URL("https://source.unsplash.com/Qrspubmx6kE/640x360");
  background-size: cover;
  background-position: center;
  border-radius: 15%;
}
   
  /* Changing the font sizes to suitable ones */
  .now-playing {
    padding-left: 10px;
    font-size: 1em;
  }
   
  .track-name {
    padding-left: 10px;
    font-size: 1em;
  }
   
  .track-artist {
    padding-left: 10px;
    font-size: 1em;
  }
   
  /* Using flex with the row direction to
     align items in a horizontal direction */
  .buttons {
    display: flex;
    justify-content: right;
    flex-direction: row;
    padding-right: 2px;
  }
   
  .playpause-track,
  .prev-track,
  .next-track {
    padding: 0px;
    opacity: 0.8;
   
    /* Smoothly transition the opacity */
    transition: opacity .2s;
  }
   
  /* Change the opacity when mouse is hovered */
  .playpause-track:hover,
  .prev-track:hover,
  .next-track:hover {
    opacity: 1.0;
  }
   
  /* Define the slider width so that it scales properly */
  .slider_container {
    width: 105%;
    max-width: 50%;
    display: flex;
    justify-content: 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: black;
    cursor: pointer;
    border-radius: 50%;
  }
   
  /* Change the opacity when mouse is hovered */
  .seek_slider:hover,
  .volume_slider:hover {
    opacity: 1.0;
  }
   
  .seek_slider {
    width: 70%;
    margin-top: 15px;
  }
   
  .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;
  }

  @media screen and (max-width: 720px) {
    .track-name,.track-artist,.now-playing{
      display: none;
    }

  }



#wave{
  display: flex;  
  flex-direction: row;  
  align-items: center;
  justify-content: center;
  height: 100px;  width: 100%;
  background: transparent;
}

#canvasid {
  position: fixed;
  left: 0;
  top: 0;
  height: 400px;
  width: 100%;
  z-index: -1;
}


.backbutton {
  font-size: larger;
}