@font-face {
  font-family: "Ark Pixel";
  src: url("../fonts/ark-pixel.ttf") format("truetype");
}
@font-face {
  font-family: "MS PGothic";
  src: url("../fonts/ms-pgothic.ttf") format("truetype");
}

body::selection {
  background: rgb(0, 0, 0);
}

.header::selection {
  background: rgb(255, 255, 255);
}
.footer::selection {
  background: rgb(255, 255, 255);
}

html {
  background: url("../images/4squares-bright.png");
  background-size: 1rem;
  font-family: "MS PGothic";
  display: block;
  overflow: hidden;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 4vh 0%;
  letter-spacing: 1px;
}

.mainbox {
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 4px solid black;
    border-radius: 5px;
    width: 600px;
    align-items: center;
    padding-bottom: 10px;
}

#music-player {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

#audio-player {
  width: 90%;
  border-radius: 0;
}

#track-list {
  list-style: none;
  padding: 0;
  width: 100%;
  max-height: 500px;
  overflow-y: auto;
}

#track-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 6px 8px;
  border-bottom: 1px solid black;
}

#track-list li:hover {
  background: black;
  color: white;
}

#track-list li.active {
  background: black;
  color: white;
}

.track-title {
  flex: 1;
  text-align: center;
}

.queue-btn {
  background: white;
  border: 1px solid black;
  cursor: pointer;
  padding: 2px 6px;
  font-family: "Ark Pixel";
}

.queue-btn:hover {
  background: black;
  color: white;
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: black;
  color: white;
  padding: 10px;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: black;
  color: white;
  padding: 10px;
  justify-content: center;
  align-items: center;
  z-index: 99;
  text-transform: lowercase;
}

h1 {
  text-align: center;
  font-size: 24px;
  margin: 0;
  font-family: "Ark Pixel";
  font-synthesis: weight;
  transform: scaleX(1.226);
  text-transform: lowercase;
}

p {
  text-align: center;
  font-size: 15px;
  margin: 2px;
  transform: scaleX(1.226);
}

#s-m-t-tooltip {
  /* basic */
  max-width: 220px;
  z-index: 777;
  margin: 24px 14px 7px 12px;
  /* style and design */
  padding: 6px;
  border: 3px solid black;
  border-radius: 4px;
  background-color: white;
  color: black;
  transform: scaleX(1.226);
}