@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");
@import url("bootstrap.min.css");

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  background: #070b14;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
}

.cover-site {
  min-width: 100%;
  min-height: 100%;
  position: fixed;
  inset: 0;
  background: url("../img/bg_site.jpg") no-repeat center center / cover;
  background-attachment: fixed;
}

#bgCover {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: blur(35px) brightness(0.35) saturate(1.2);
  -webkit-filter: blur(35px) brightness(0.35) saturate(1.2);
  transform: scale(1.12);
  transition: background-image 0.6s ease, transform 0.6s ease;
  z-index: 1;
}

.bg-mask {
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 7, 18, 0.55) 0%,
    rgba(3, 7, 18, 0.72) 100%
  );
  z-index: 2;
}

main,
#player,
.container {
  position: relative;
  z-index: 3;
}

.web-player {
  color: #fff;
  padding: 16px;
  position: relative;
  z-index: 3;
  margin-top: 0;
}

.cover-album {
  max-width: 80%;
  margin: 10px auto 20px auto;
  background: url("../img/cover.png") no-repeat center center / cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

#currentCoverArt {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 22px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-image 0.5s ease;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

body.is-playing #currentCoverArt {
  transform: scale(1.015);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.logo {
  display: none;
}

.watermark {
  display: none;
}

.info-current-song {
  text-align: center;
  margin-top: 10px;
}

.info-current-song h2 {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.info-current-song h3 {
  font-size: 1.15rem;
  font-weight: 500;
  opacity: 0.82;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.current-song,
.current-artist {
  overflow: hidden;
  text-overflow: ellipsis;
}

.play-pause {
  font-size: 65px;
  color: white;
}

.play-pause i {
  cursor: pointer;
  color: white;
}

#playerButton {
  font-size: 72px;
  cursor: pointer;
  color: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

#playerButton:hover {
  transform: scale(1.08);
  opacity: 0.92;
}

.fa-play-circle,
.fa-pause-circle {
  color: #ffffff;
}

.volume-control {
  display: none;
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
}

.volume-icon {
  font-size: 28px;
  margin-top: -5px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  border: none;
}

.volume-slide {
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.volume-slide input[type="range"] {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
  outline: none;
  border-radius: 5px;
  border: none;
}

.percentual-volume {
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  border: none;
}

.lyrics {
  display: inline-block;
  margin-top: 14px;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  outline: none;
  transition: opacity 0.25s ease;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.lyrics:hover,
.lyrics:focus,
.lyrics:active,
.lyrics:visited {
  color: #ffffff;
  text-decoration: none;
}

.call-lyrics {
  margin-top: 10px;
}

.modal-content {
  background-color: rgba(0, 0, 0, 0.82);
  color: #fff !important;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.modal-content .btn {
  border-radius: 20px;
  background-color: #00e1e7;
  border: none;
  color: #000;
  font-weight: 700;
}

.close {
  color: white;
  opacity: 1;
}

/* Range input */
input[type="range"] {
  -webkit-appearance: none;
  background: transparent;
  width: 100%;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  background: #fff;
  border-radius: 999px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  margin-top: -8px;
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  background: #fff;
  border-radius: 999px;
}

input[type="range"]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
}

input[type="range"]::-ms-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type="range"]::-ms-fill-lower,
input[type="range"]::-ms-fill-upper {
  background: #fff;
  border-radius: 999px;
}

input[type="range"]::-ms-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
}

.btn-play,
.btn-play-circle,
#buttonPlay {
  display: none;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.fade-in {
  animation: fadeText 0.45s ease;
}

.cover-pop {
  animation: popCover 0.45s ease;
}

@keyframes fadeText {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popCover {
  from {
    opacity: 0.8;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 370px) {
  .cover-album {
    max-width: 100%;
  }
}

@media (min-width: 576px) {
  .volume-control {
    display: flex;
  }

  .call-lyrics {
    margin-top: 20px;
  }
}

@media (min-width: 768px) {
  .logo {
    display: block;
    z-index: 2;
  }

  .logo img {
    max-width: 300px;
    margin: 65px 0;
  }

  .web-player {
    height: auto;
  }

  .cover-album {
    margin: 10px auto;
    min-width: 320px;
    height: 320px;
  }

  .info-current-song {
    margin-top: 20px;
    text-align: left;
  }

  .info-current-song h2 {
    font-size: 2.4rem;
  }

  .volume-control {
    margin-top: 10%;
  }
}

@media (max-width: 768px) {
  .current-song {
    font-size: 1.45rem;
  }

  .current-artist {
    font-size: 1rem;
  }

  #playerButton {
    font-size: 58px;
  }

  #currentCoverArt {
    min-height: 260px;
  }
}