@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --main-color: #483D8B;
    --background-dim: #0000007f;
    --secondary-color: #556699;
    --secondary-color-bright: #7788bb;
    --background-image: url("images/guytile.png");
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    overflow: hidden;
    background: linear-gradient( var(--background-dim), var(--background-dim) ), var(--background-image);
    font-family: "Figtree", sans-serif;
    color: var(--main-color);
}
#bgdiv {
    pointer-events: none;
    background: linear-gradient( var(--background-dim), var(--background-dim) ), var(--background-image);
    z-index: -10000;
    position: absolute;
    width: 100vw;
    height: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
}
@keyframes k3grid-movement {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 128px 128px;
  }
}

#app-header {
    background: linear-gradient(#fdfdfddd, #fdfdfddd), url("images/bg-texture.png");
    margin: auto;
    padding: 8px 0;
    font-family: "Figtree", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    text-align: center;
    color: #000;
    box-shadow: 0 7px 5px rgba(0, 0, 0, 0.5);
}

#app-header h1 {
    font-weight: 700;
}

.main {
    display: flex;
    flex-direction: column;
    height: 90vh;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.box {
    background: linear-gradient(#fdfdfddd, #fdfdfddd), url("images/bg-texture.png");
    height: auto;
    border-radius: 12px;
    margin: 15px;
    padding: 12px;
    box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.5);
}

.radio {
    width: 425px;
    line-height: 90%;
    display: flex;
    flex-direction: column;
}

.np-header {
    font-size: 14pt;
    font-weight: bold;
    margin: 0 auto 10px;
    text-align: center;
    color: black;   
    border-radius: 12px;
    padding: 12px;
    border: 2px solid var(--secondary-color);
    background: linear-gradient(#C6D7F7, #FDFDFD, #C6D7F7);
}

#songName {
    font-family: "Crimson Text", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 18pt;
    padding: 5px 0;
    line-height: 100%;
}

#song-artist {
    font-size: 14pt;
    padding: 5px 0;
}

#game-list {
    font-style: italic;
    padding: 5px 0;
    
}
.time-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}
#songTime, #songLength {
    font-size: 12px;
    min-width: 40px;
}
#songTime {
    text-align: start;
}
#songLength {
    text-align: end;
}

hr {
    margin: 8px 0;
}
#radio-controls {
    height: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
#radio-controls * {
    vertical-align: middle;
}
#pauseButton {
    border: none;
    padding-right: 2em;
}

#pauseButton i {
    filter: drop-shadow(0 3px 2px rgba(0,0,0,0.5));
}


#page-block {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse closest-side, #000000bb, #000000ee);
    font-family: "Fira Mono", monospace;
    display: flex;
    flex-direction: column;
    padding: 0;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    z-index: 1000;
    transition: 100ms ease;
}
/* #page-block {
    opacity: 0;
    pointer-events: none;
} */
#page-block.hidden {
    opacity: 0;
    pointer-events: none;
}

#entry {
    border: 5px solid white;
    background-color: black;
    color: white;
    padding: 10px;
    font-family: "Fira Mono", monospace;
}

.time-container {
  flex: 1 0 auto;
  display: flex;

  gap: 0.2rem;

  align-items: center;
}

.time-container > div {
  flex: 0 0 50px;
  text-align: center;
}

/* .time-container > div:last-of-type {
} */


#time-bar {
    display: flex;
    background: #00000000;
    vertical-align: center;
    border-radius: 12px;
    border-color: var(--secondary-color);
    border-style: solid;
    border-width: 3px;
    padding: 0px;
    flex: 1 1 auto;
}

#time-bar>div {
    transition: width 1s linear;
    background: var(--secondary-color);
    border-radius: 7px;
    height: 15px;
}

#time-bar {
  flex: 1 1 auto;
  width: 1px;
}

#time-bar:disabled {
  filter: unset;
  opacity: 1;
  cursor: unset;
}
#time-bar:disabled::-webkit-slider-thumb {
	cursor: unset;
}
#time-bar:disabled::-moz-range-thumb {
	cursor: unset;
}

#time-bar:active::-moz-range-thumb,
#time-bar:active::-moz-range-progress {
	filter: unset;
}

#time-bar:active::-webkit-slider-thumb {
	filter: unset;
	cursor: unset;
}
progress[value] {
  /* Reset the default appearance */
  -webkit-appearance: none;
  appearance: none;
  border: none;
  height: 12px;
}

progress[value]::-webkit-progress-bar {
  border-radius: 4px;
  background: var(--clear-hover);
  /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) inset; */

}
progress[value]::-webkit-progress-value {
  border-radius: 4px;
  background: var(--secondary-color-bright);
}

progress[value]::-moz-progress-bar {
  background: var(--clear-hover);
  background: var(--secondary-color-bright);
  /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) inset; */
}

