* {
  margin: 0;
  border: 0;
  box-sizing: border-box;
  color: white;
  font-family: 'Open Sans', Arial, sans-serif;
}

html,
body {
  min-height: 100%;
  height: 100%;
}

body {
  background: url("/images/bg.jpg") no-repeat center center #172073;
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

button {
  font: inherit;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transition: background 0.8s ease-out;
}

#bloco {
  position: relative;
  z-index: 1;
  height: min(677px, calc(100vh - 24px));
  width: min(409px, calc(100vw - 28px));
  text-align: center;
  background: url("/images/fundo-player.png") no-repeat center center transparent;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 72px 0 28px;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  align-self: center;
  width: 260px;
  max-width: 72%;
  margin-top: 18px;
}

.main-logo {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.visualizer-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.visualizer-container canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.68;
}

.player-info {
  width: 100%;
}

.titulo {
  margin-top: 6px;
}

.titulo .musica {
  font-size: 26px;
  line-height: 1.24;
  font-weight: 300;
}

.titulo .artista {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 300;
}

.numeros {
  line-height: 25px;
  font-size: 16px;
  font-weight: 300;
  display: flex;
  justify-content: space-between;
  padding: 0 8%;
  margin: 24px 0 16px;
}

.controls-holder {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 26px 0 0;
}

.play-button {
  padding: 0;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: #fbba22;
  cursor: pointer;
}

.play-button:focus {
  outline: 0;
}

.play-button:hover {
  filter: brightness(1.04);
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 21px solid transparent;
  border-bottom: 21px solid transparent;
  border-left: 34px solid white;
}

.stop-icon {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 3px;
  background: white;
}

.play-button.is-playing .play-icon {
  display: none;
}

.play-button.is-playing .stop-icon {
  display: block;
}

.status {
  min-height: 18px;
  margin-top: 13px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
}

.logo-mega {
  bottom: 0;
  right: 0;
  position: absolute;
  width: 200px;
  padding: 20px 20px 20px 60px;
  background: url("/images/fundo-logo.png") no-repeat center center transparent;
  background-size: 100% 100%;
  z-index: 2;
}

.logo-mega img {
  max-width: 100%;
  display: block;
}

@media (max-width: 800px) {
  body {
    align-items: stretch;
    overflow: auto;
  }

  #bloco {
    min-height: 100svh;
    height: 100svh;
    width: min(509px, 100vw);
    max-width: 100vw;
    padding-top: 78px;
  }

  .logo-wrapper {
    width: min(322px, 72vw);
    margin-top: 0;
  }

  .logo-mega {
    display: none;
  }
}
