@font-face {
  font-family: "SF Pro";
  src: url("./assets/fonts/SF-Pro-Text-Regular.woff2") format("woff2"),
    url("./assets/fonts/SF-Pro-Text-Regular.woff") format("woff"),
    url("./assets/fonts/SF-Pro-Text-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "SF Pro";
  src: url("./assets/fonts/SF-Pro-Text-Bold.woff2") format("woff2"),
    url("./assets/fonts/SF-Pro-Text-Bold.woff") format("woff"),
    url("./assets/fonts/SF-Pro-Text-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  user-select: none;
}

html {
  scroll-behavior: smooth;
  font-family: "SF Pro";
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  margin: 0;
}

.wrapper {
  height: 100vh;
  /* width: 100%; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.background__container {
  width: 100%;
}

.background__img {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  filter: blur(5px);
  z-index: -1;
  transform: scale(1.03, 1.03);
  object-fit: cover;
}

.player {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 390px;
  width: 100%;
  /* height: 650px; */
  margin-bottom: 10px;
  padding: 34px;
  background-color: white;
  border-radius: 9px;
  box-shadow: 0 0 25px 0px rgba(255, 255, 255, 0.3);
}

.cover__img {
  height: 320px;
  width: 320px;
  margin-bottom: 40px;
  filter: grayscale(100%);
  transition: 0.5s;
  user-select: none;
}

.song__name {
  font-weight: 700;
  font-size: 24px;
  color: #000;
  margin-bottom: 8px;
  user-select: all;
}

.song__artist {
  font-weight: 400;
  font-size: 16px;
  color: #0b40ff;
  margin-bottom: 40px;
  user-select: all;
  text-align: center;
}

.progress {
  margin-bottom: 30px;
}

.progress-bar__container {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: 1px;
  width: 248px;
  height: 2px;
  background: rgba(196, 196, 196, 0.5);
  margin-bottom: 5px;
}

.progress-bar__container:after {
  content: "";
  position: absolute;
  left: 0px;
  top: -20;
  width: 100%;
  height: 15px;
  /* background: #000; */
}

.progress-bar {
  border-radius: 1px;
  height: 2px;
  background: #0b40ff;
  /* transition: width 0.5s; */
}

.progress__time {
  display: flex;
  justify-content: space-between;
  font-weight: 400;
  font-size: 8px;
  text-align: center;
  color: #000;
  user-select: none;
}

.buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 220px;
  width: 100%;
  margin-bottom: 40px;
}

.btn {
  opacity: 100%;
  cursor: pointer;
  transition: opacity 0.5s;
}

.btn:hover {
  opacity: 80%;
}

.btn:active {
  filter: grayscale(100%);
}

.active {
  filter: grayscale(100%);
}

.volume {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.volume-bar__container {
  border-radius: 3px;
  width: 222px;
  height: 6px;
  margin: 3px;
  background: rgba(196, 196, 196, 0.5);
  cursor: pointer;
}

.volume-bar {
  border-radius: 3px;
  /* width: 105px; */
  height: 6px;
  background: #0b40ff;
}

.volume__icon {
  cursor: pointer;
}

.volume__icon:active {
  opacity: 50%;
}

.hint {
  font-size: 10px;
  color: rgba(196, 196, 196, 0.5);
}

.footer {
  position: fixed;
  bottom: 0;
  margin: 0 auto;
  width: 100%;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: end;
  max-width: 99%;
  margin: 0 auto;
  margin-bottom: 5px;
}

.footer__info {
  font-size: 10px;
  color: rgba(196, 196, 196, 0.5);
}

.footer__link {
  text-decoration: none;
  color: rgba(196, 196, 196, 0.5);
}

.logo__link {
  font-size: 0;
}

@media only screen and (max-width: 768px) {
  .background__img {
    transform: none;
  }

  .hint {
    display: none;
  }

  .player {
    margin-bottom: 0px;
  }

  /* .footer__container {
    max-width: 90%;
  } */
}

@media only screen and (max-width: 413px) {
  .footer {
    display: none;
  }
}

@media only screen and (max-width: 390px) {
  .background__img {
    display: none;
  }

  .player {
    border-radius: 0px;
  }
}
