@font-face {
  font-family: "Play";
  src: url("font/play.ttf") format("truetype");
}

@font-face {
  font-family: "minecraft";
  src: url("font/MinecraftStandard.otf") format("truetype");
}

a {
  text-decoration: none;
}

html {
  width: 100%;
}

body {
  font-family: "minecraft", sans-serif;
  background: #111;
  color: #f2c90a;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

button {
  margin-right: 10px;
  font-family: "minecraft", sans-serif;
  display: flex;
  color: #fff;
  align-items: center;
  padding: 3px 10px;
  gap: 6px;
  font-size: 10px;
  text-align: left;
  background: #665;
  cursor: pointer;
  transition: transform 0.3s ease;
}

button img {
  width: 28px;
}

button:hover {
  transform: scale(1.1);
}

.main {
  max-width: 1000px;
  padding: 40px;
  padding-top: 0;
  margin: 0 auto;
}

.audio-player {
  width: 100%;
  border-radius: 0px;
  padding: 5px;
  font-family: "minecraft", sans-serif;
}

.audio-player {
  width: 400px;
  margin: 20px;
}

.pixelate {
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-top: 10px;
}

.controls img {
  cursor: pointer;
  width: 52px;
  transition: transform 0.3s ease;
}

.controls img:hover {
  transform: scale(1.1);
}

.controls-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.controls-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress {
  height: 22px;
  background-color: #665;
  margin-top: 10px;
}

.progress-bar {
  width: 0;
  height: 100%;
  background-color: #f2c90a;
}

#current-time,
#total-time {
  margin-top: 10px;
  width: 100px;
}

#total-time {
  text-align: right;
}

#volume-control {
  width: 300px;
  margin: 20px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 7px;
  background: #665;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #f2c90a;
  cursor: pointer;
  margin-top: -1px;
  border: 2px solid #111;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #f2c90a;
  cursor: pointer;
}

.time-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
}

#volume-control-container {
  margin-left: -10px;
  display: none;
}

.overlay {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  display: none;
}

.modal {
  width: 70%;
  height: 70%;
  background: #111;
  z-index: 20;
  position: fixed;
  padding: 40px;
  font-size: 15px;
  line-height: 30px;
}

.modal b {
  font-size: 18px;
}

.modal a {
  color: #c1a316;
}

#close-button {
  cursor: pointer;
  width: 35px;
  float: right;
}

img {
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

img:hover {
  opacity: 0.9;
  transform: scale(1.1);
}

#playlist {
  display: grid;
  column-gap: 40px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  counter-reset: list-counter;
  padding: 0;
  font-size: 12px;
  padding: 0;
  margin: 0;
  margin-top: 20px;
}

#playlist li {
  margin-bottom: 10px;
  cursor: pointer;
}

#playlist li:nth-child(odd) {
  grid-column: 1;
}

#playlist li:nth-child(even) {
  grid-column: 2;
}

#playlist li:hover {
  color: #c1a316;
}

.playlist-row {
  display: flex;
  justify-content: space-between;
}

.playlist-content {
  display: flex;
  gap: 8px;
}

#current-track {
  font-size: 15px;
  margin-top: 5px;
}

#github-button {
  margin-top: 8px;
}

.buttons-spacer {
  display: none;
}

#tab-container {
  display: flex;
  margin-top: 10px;
}

#cover-container {
  display: none;
  width: 100%;
  flex-direction: row;
  gap: 30px;
  margin: 0 auto;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
}

#cover-container img {
  max-width: 46px !important;
  cursor: pointer;
}

#cover-image-container img {
  width: 100%;
  max-width: 140px !important;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.track-cover {
  width: 140px !important;
  height: 140px;
  filter: grayscale(1);
  transform-origin: center;
}

#prev-track {
  width: 35%;
  text-align: right;
}

#cover-image-container {
  width: 30%;
  text-align: center;
}

#cover-title {
  margin-top: 2px;
  font-size: 11px;
  height: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #665;
  color: #fff;
  border-radius: 8px;
}

#next-track {
  width: 35%;
  text-align: left;
}

#cover-play {
  width: 75px !important;
  margin: 0 auto;
  margin-top: 10px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
