:root{
  --bgColor : hsla(242, 86%, 6%, 1);
  --bgColorLight : hsla(242, 86%, 24%, 1);
  --textColor : hsla(242, 86%, 88%, 1);
  --textColorDark : hsla(242, 36%, 0%, 1);
  --paperColor: hsla(242, 86%, 44%, 1);
  --paperColorDark: hsla(242, 86%, 34%, 1);
  --shadowColorFaint: hsla(0, 0%, 0%, 0.2);
}

::selected{
  color: var(--textColorDark);
}

html, body{
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  background: var(--bgColor);
  background: linear-gradient(135deg, var(--bgColor), var(--bgColorLight));
  color: var(--textColor);
  font-family: 'Saira', sans-serif;
  position: relative;
}

*{
  box-sizing: border-box;
  transition: all 0.12s cubic-bezier(0.42, 0.54, 0.22, 1.26);
}

#canvas,
#out canvas {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.player-bar {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(8, 6, 40, .45);
}

.player-title {
  min-width: 0;
  flex: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.player-title strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
}

.player-title span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.3;
  opacity: .75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-btn {
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  background: var(--paperColor);
  color: var(--textColor);
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--shadowColorFaint);
}

.player-btn:hover {
  background: var(--paperColorDark);
}

audio {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: calc(100% - 32px);
  z-index: 5;
  border-radius: 12px;
}

#thefile{
  width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: 1;
}

label.file{
  display: inline-block;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 6;
  margin: 0;
  transform: translate3d(-50%, -50%, 0);
  padding: 1rem 2rem;
  border-radius: 8px;
  transition: background-color .12s ease, transform .12s ease;
  
  background: var(--paperColor);
  color: var(--textColor);
  font-size: 1.25em;
  font-weight: 700;
  box-shadow: 0 20px 60px var(--shadowColorFaint);

  cursor: pointer;
}


label.file:hover{
    background: var(--paperColorDark);
    transform: translate3d(-50%, -55%, 0);
}

label.file:active{
    background: var(--paperColorDark);
    transform: translate3d(-50%, -45%, 0);
}

label.file.normal{
  position: static;
  top: auto;
  left: auto;
  margin: 0;
  transform: none;
  padding: 8px 16px;
  font-size: 14px;
  align-self: center;
}

label.file.normal:hover,
label.file.normal:active{
  transform: none;
}