@font-face {
  font-family: 'player';
  src:
    url('./fonts/player.ttf?cxp7hr') format('truetype'),
    url('./fonts/player.woff?cxp7hr') format('woff'),
    url('./fonts/player.svg?cxp7hr#player') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

body {
  overflow: hidden;
  background-color: #000000;
  background-image: url("../bg.png");
  background-position: center center;
  background-size: cover;
  max-height: 100%;
  width: 100vw;
  height: 100vh;
  margin: 0;
}

.icon {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'player' !important;
  font: normal normal normal 25px/1 player;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-play:before {
  content: "\ea1c";
}
.icon-pause:before {
  content: "\ea1d";
}
.icon-backward:before {
  content: "\ea1f";
}
.icon-forward:before {
  content: "\ea25";
}
.icon-volume-up:before {
  content: "\ea27";
}
.icon-volume-off:before {
  content: "\ea29";
}

.title {
  padding: 5px;
  max-width: 80%;
  height: 10%;
  margin: 0 auto;
  border: 1px solid;
  border-color: rgba(0,0,0,100);
  border-radius: 10px;
  margin-bottom: 20px;
  /*background-color: rgb(0,0,0,0.5);*/

  background-image: linear-gradient(rgb(100,0,0,0.5), rgb(0,0,0,0.5));
}

.content {
  width: 100%;
  height: 100%;
  max-height: 100%;
  margin: auto;
}

h2{
  color: #ff0000;
  text-align: center;
  padding: 5px;
}

/* Custom CSS for Audio Player */
@media (min-width: 512px) {
  .player-container {

    background-image: linear-gradient(rgba(50,0,0,0.5), rgba(0,0,0,0.5));
    padding: 5px;
    max-width: 80%;
    height: 65%;
    margin: 0 auto;
    border: 1px solid #000000;
    border-radius: 10px;
  }
}

audio {
    width: 100%;
    display: none;
    margin-bottom: 4px;

}

/* Controls - Player  CSS */
.controlBar {
	position: relative;
	display: flex;
	box-sizing: border-box;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	padding: 0px;
//	background-color: rgba(0,0,0,0.5);
	--height: 80px;
	--width: 100%;
	width: var(--width);
	height: var(--height);
  border-radius: 10px;
}

.buttonContainer {
    width: calc(var(--width) * 0.125);
    display:flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin: 12px 12px
    background-color: rgba(0,0,0,100);
    background-image: linear-gradient(#880000, black);
    border-radius: 10px;
    padding: 5px;
}

.player-button {
	color: white;
  margin: 5px;
  padding: 5px;
}

@media (hover:hover) {
    .buttonContainer:hover > .player-button {
        color:#48a0f7;
    }
}

#playButton {
    margin-left: 5px;
    margin-right: 5px;
}

#progressBar {
    width:0%;
    height: calc(var(--height) * 0.35);
    background: #48a0f7;
    margin: 0px;

    background-image: linear-gradient(#880000, black);
    border-radius: 10px;
}

#progressRail {
    background: #cfcfe1c9;
    margin: 0px 4px;

    background-image: linear-gradient(#000000, #550000);
    border-radius: 10px;
}

#volumeBar {
    height: calc(var(--height) * 0.35);
    background: white;
    margin: 0px;
    background-image: linear-gradient(#880000, black);
    border-radius: 10px;
}

#volumeRail { /* range-track */
    background: #cfcfe1c9;
    margin: 10px 12px 10px 10px;
    background-image: linear-gradient(#000000, #550000);
    border-radius: 10px;
}

.currentTime {
    width: calc(var(--width) * 0.05);
    text-align: right;
    margin:2px;
    user-select: none;
    color:white;
    font-family: sans-serif;
    font-size:12px;
}

.totalTime{
    width: calc(var(--width) * 0.05);
    margin:2px;
    user-select: none;
    color:#cfcfe1c9;
    font-family: sans-serif;
    font-size:12px;
}

.note {
  color: #FF8800;
  padding: 5px;
  max-width: 80%;
  height: 15%;
  margin: 0 auto;
  margin-top: 20px;
  border: 1px solid;
  border-color: rgba(0,0,0,100);
  border-radius: 10px;
  margin-bottom: 20px;
  /*background-color: rgb(0,0,0,0.5);*/

  background-image: linear-gradient(rgb(100,0,0,0.5), rgb(0,0,0,0.5));

}

#pltable {
  width: 100%;
  overflow: scroll;
}

/* Playlist  CSS */
#playlist {
/*    box-sizing: border-box; */
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
//    background-color: rgba(0,0,0,0.5);
    border-radius: 10px;

    height: 550px;
    overflow: scroll;
    /*border: 2px solid grey;
    border-radius: 10px;*/
}

.playlist-item {
  position: relative;
  display: block;
  padding: 2px 2px;
  margin: 0px 2px;
  text-decoration: none;
}

#dwlist {
/*  box-sizing: border-box; */
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
//  background-color: rgba(0,0,0,0.5);
  border-radius: 10px;
/*  border: 2px solid grey; */
/*  border-radius: 10px; */
}

.download-item {
  position: relative;
  display: block;
  padding: 2px 2px;
  margin: 0px 2px;
  text-decoration: none;
}


a.download-item {
  color: #ff0000;
}

a.playlist-item {
    color: #ff5500;
}

a.playlist-item.active {
    color: #fff;
/*    border: 1px solid #00f826;*/
    border-radius: 15px;
    padding-left: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
/*    background-color: #0d1567;*/
    background-image: linear-gradient(#880000, black);
}

.playlist-item > span {
    float:right;
}
