/* Lock background layout */
body {
  margin: 0;
  padding: 0;
  background-image: url("./images/hdresized.png"),
                    url("./images/boxresized_scaled_upscaled.png"),
                    url("./images/smallbox_scaled_upscaled.png");
  background-color: black;
  background-position: top center, bottom left, bottom right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto, auto, auto;
  overflow: hidden;
}

/* Scale entire UI based on screen width */
.scale-wrapper {
  width: 2560px;
  height: 1440px;
  transform: scale(1);
  transform-origin: top left;
}

@media (max-width: 2560px) {
  .scale-wrapper {
    transform: scale(calc(100vw / 2560));
  }
}

@font-face {
  font-family: "Deltarune";
  src: url("./fonts/PixelOperator8-Bold.ttf");
  font-weight: 10;
}

body {
  font-family: "Deltarune";
}

.textbox-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: white;
  font-family: "Deltarune";
}

.music-player {
  border: 2px solid #8b5cf6;
  background: #fbeaff;
  width: 500px;
  box-shadow: 4px 4px 0px #a78bfa;
  padding: 10px;
}

.window-header {
  display: flex;
  justify-content: space-between;
  background: #d8b4fe;
  padding: 4px;
  font-weight: bold;
}

.window-buttons button {
  background: none;
  border: none;
  font-size: 14px;
  margin-left: 4px;
  cursor: pointer;
}

.track-info {
  display: flex;
  margin: 10px 0;
}

.cover {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
}

.meta {
  margin-left: 10px;
}

.title {
  font-size: 14px;
  font-weight: bold;
}

.subtitle {
  font-size: 12px;
  color: #7e22ce;
}

.controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

input[type="range"] {
  flex-grow: 1;
}

#timestamp {
  font-size: 12px;
}
