@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  /* background-color: #181818; */
  background-color: #0e0e0e;
  color: #f0f0f0;
}

button {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 10px 20px;
  font-size: 1.1rem;
}

.play {
  cursor: pointer;
}

.pause {
  cursor: pointer;
}

.play:hover {
  background: #fff;
  color: #181818;
}

.pause:hover {
  background: #fff;
  color: #181818;
}

.img-x {
  position: absolute;
  z-index: -999;
  width: 400px;
  height: 400px;
}

.previous {
  position: absolute;
  left: 10px;
  color: #fff;
  cursor: pointer;
}

.next {
  position: absolute;
  right: 10px;
  color: #fff;
  cursor: pointer;
}

.total-container {
  display: flex;
  flex-direction: column;
  color: #858585;
}

.total {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 20px;
  font-size: 14px;
  height: 56px;
  color: #a3a3a3;
  transition: color 0.2s ease-in-out 0s;
  display: flex;
  align-items: center;
}

.total:hover {
  color: #d4d4d4;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
li {
  list-style: none;
}

.visibility-list {
  visibility: hidden;
  opacity: 0;
  transform-origin: left top;
  transform: scale(0.9);
  transition: opacity 0.15s ease 0.05s, transform 0.2s ease 0s, visibility 0s ease 0.2s;
}

.visibility-list::before {
  content: '';
  position: absolute;
  top: calc(var(--screenHeight) * -1);
  left: 0;
  width: 100%;
}

.submenu-list {
  width: 340px;
  position: absolute;
  top: 56px;
  left: 0;
  z-index: 9999;
  margin: 0;
  padding: 16px;
  background: #1d1d1d;
  border: 1px solid #252525;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.submenu-item .submenu-list li{
  opacity: 0;
  transition: opacity 0.5s ease 0s;
}

.submenu-item {
  list-style: none;
  color: #858585;
  display: flex;
  flex-direction: column;
  position: relative;
}

.submenu-item a {
  font-size: 14px;
  white-space: nowrap;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a3a3a3;
  transition: color 0.2s ease-in-out 0s;
}

.submenu-item a:hover {
  color: #d4d4d4;
}

.img-music {
  /* font-size: 32px;
  display: inline-block;
  color: currentColor; */
  width: 28px;
  height: 28px;
  background: currentColor;
  display: inline-block;
}

.text {
  display: flex;
  flex-direction: column;
}

.title-music {
  color: inherit;
  line-height: 150% !important;
  font-size: 12px;
  letter-spacing: -0.0125em;
  font-weight: 400;
  white-space: nowrap;
}

.subtitle-music {
  color: #666666;
  font-size: 12px;
  letter-spacing: inherit;
  line-height: inherit;
}