@font-face {
  font-family: "myriad";
  src: url("https://files.catbox.moe/s0igcb.OTF");
}

ipod {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s;
  list-style: none;
    justify-content: center;
  align-items: center;
  min-height: 100vh;
  transform-style: preserve-3d;
}

.ipod {
  background: #ded3e0c;
  width: 100%;
aspect-ratio: 2 / 3;
    font-family: "myriad";
  border-radius: 20px;
  border: 2px solid var(--black);
  position: relative;
  box-shadow: var(--inset), inset 0px 0px 15px 10px #a497a6;
}

.ipod .screen {
  background: #fff;
  overflow: hidden;
  position: absolute;
  left: 50%;
  top: 15px;
  margin-bottom: 5px;
  transform: translate(-50%, 0);
  width: 160px;
  height: 120px;
  border-radius: 8px;
  border: 2px solid #aaa;
  box-shadow: inset 0 0 0px 2px #222;
}

.ipod .controls {
  background: #fff;
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translate(-50%, 0);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 0.5px solid #ccc;
  box-shadow: inset 0px 0px 5px 1px #00000050;
}

.ipod .controls:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ececec;
  box-shadow: inset 24px 24px 48px #c6c6c6, inset -24px -24px 48px #ffffff;
  border: 0.5px solid #ccc;
}

.ipod .controls .fa-fast-backward {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translate(0, -50%);
  color: #aaa;
  font-size: 1.2em;
  cursor: pointer;
}

.ipod .controls .fa-fast-backward:active {
  color: #888;
}

.ipod .controls .fa-fast-forward {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
  color: #aaa;
  font-size: 1.2em;
  cursor: pointer;
}

.ipod .controls .fa-fast-forward:active {
  color: #888;
}

.ipod .controls .menu {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translate(-50%, 0);
  color: #aaa;
  font-size: 0.9em;
  font-weight: 700;
  border: 0;
  outline: 0;
  background: none;
  cursor: default; /* Keeps the menu button but disables interaction */
}

.ipod .controls .menu:active {
  color: #888;
}

.ipod .controls .play-pause-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  border: 0;
  outline: 0;
  background: none;
  color: #aaa;
  font-size: 1em;
  cursor: pointer;
}

.ipod .controls .play-pause-btn:active {
  color: #888;
}

.ipod .screen .music {
  padding: 15px;
  line-height: 8px;
  display: flex;
  gap: 15px;
  
}

.ipod .screen .music img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  filter: sepia(1) hue-rotate(100deg);
  -webkit-box-reflect: below 2px
    linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.09));
}

.ipod .screen .music .content .name {
  font-size: 0.65em;
}

.ipod .screen .music .content .singer {
  font-size: 0.55em;
  font-family: "myriad";
}

.ipod .screen .music .content .date {
  font-size: 0.75em;
  line-height: 5px;
  font-weight: 700;
}

.ipod .screen .bar-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.85em;
  width: 100%;
  position: absolute;
  bottom: 0px;
}

.ipod .screen .bar-box .bar {
  width: 80px;
  height: 10px;
  font-family: "myriad";
  border: 1px solid #aaa;
}

.ipod .screen .bar-box .bar .progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(0deg,rgba(255, 196, 233, 1) 0%, rgba(235, 85, 175, 1) 7%, rgba(247, 101, 189, 1) 32%, rgba(255, 166, 222, 1) 59%, rgba(255, 148, 212, 1) 60%, rgba(255, 189, 227, 1) 89%, rgba(255, 222, 241, 1) 99%);
}
