:root {
  --cyan: #36d1dc;
  --blue: #063291;
  --orange: #f78e15;
  --gold: #f7b92e;
  --footer: #1e272e;
  --cover: #e9e8e2;
  --dot: #bcbcbd;
  --dot-hover: #666;
  --vol-track: #ccc;
  --card-border: #303030;
  --problem: #444;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  min-height: 100vh;
  background-image: linear-gradient(var(--cyan), var(--blue));
  background-attachment: fixed;
  background-size: cover;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
}

#header {
  width: 100%;
  min-height: 125px;
}

.logo,
.box-center,
.footer-area {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.logo {
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 0;
}

.imagen-logo {
  display: block;
  width: 200px;
  height: 120px;
  margin: 0 auto;
  background: url("../img/logo_cumbia_mix.png") center / contain no-repeat;
  text-indent: -9999px;
  overflow: hidden;
}

.box-center {
  background: #fff;
  overflow: hidden;
  padding: 16px 10px 24px;
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

.conten-responsive {
  display: none;
}

.player-col {
  padding: 8px 12px 0;
}

.image-cover {
  height: min(270px, 72vw);
  width: min(270px, 72vw);
  display: block;
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--cover);
  background-size: 86%;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.image-cover.has-artwork {
  background-size: cover;
}

.now-playing {
  text-align: center;
  padding: 10px 0 5px;
}

.programa {
  font-size: 18px;
  font-family: Roboto, sans-serif;
  color: #000;
  font-weight: 700;
}

.tema_artista_generico {
  font-size: 18px;
  font-family: Roboto, sans-serif;
  margin-top: 4px;
}

.name-song {
  margin: 6px 0 0;
  color: #202020;
  font-size: 16px;
  font-weight: 700;
}

.name-artist {
  margin: 2px 0 0;
  color: #424242;
  font-size: 14px;
}

.bloque {
  text-align: center;
}

.reproductor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 7px solid var(--orange);
  border-radius: 50%;
  background: transparent;
  color: var(--orange);
}

.icon-play,
.icon-pause {
  display: block;
  width: 28px;
  height: 28px;
  background: currentColor;
}

.icon-play {
  margin-left: 6px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.icon-pause {
  display: none;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 32% 100% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 32% 100% no-repeat;
}

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

#playerComponent.is-playing .icon-pause {
  display: block;
}

#playerComponent.is-loading .reproductor {
  animation: spin 1.1s linear infinite;
}

#playerComponent.is-loading .icon-play,
#playerComponent.is-loading .icon-pause {
  opacity: 0.35;
}

.animated.pulse.infinite {
  animation: pulse 1s ease-in-out infinite;
}

#playerComponent.is-playing .reproductor,
#playerComponent.is-loading .reproductor {
  animation: none;
}

#control_volumen {
  width: 175px;
  margin: 1rem auto 0;
}

.volumen-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}

.volumen-icono {
  width: 22px;
  height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--orange);
  flex: 0 0 auto;
}

.volumen-icono svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.volumen-icono.is-muted {
  opacity: 0.45;
}

.barra-volumen {
  flex: 1 1 auto;
}

.barra-progreso {
  width: 100%;
  height: 9px;
  border-radius: 12px;
  background-color: var(--vol-track);
  position: relative;
  cursor: pointer;
}

.volumenProgreso {
  height: 100%;
  width: 90%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 12px;
  background-color: var(--orange);
}

.problema {
  text-align: center;
  margin: 16px 0 0;
}

.problema,
.problema a {
  color: var(--problem);
}

.footer-area {
  border-top: 4px solid var(--gold);
  background-color: var(--footer);
  overflow: hidden;
  padding-bottom: 5px;
}

.content-footer {
  margin: 12px 0;
  text-align: center;
}

.text-white {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin: 10px 0;
}

.store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
}

.store-badges img {
  width: 170px;
  height: auto;
}

.sub-text-white {
  color: #fff;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0;
}

.carrousel {
  position: relative;
  width: min(450px, 92vw);
  height: min(550px, 118vw);
  margin: 0 auto 28px;
}

.slides,
.puces {
  margin: 0;
  padding: 0;
  list-style: none;
}

.slides {
  height: calc(100% - 36px);
}

.slides li {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  text-align: center;
  width: 100%;
  height: calc(100% - 36px);
}

.slides .current {
  z-index: 1;
  display: block;
}

.slides img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slides .scale {
  transform: scale(1.2);
  opacity: 0;
}

.slides .shrink {
  transform: scale(0.8);
  opacity: 0;
}

.carrousel li,
.puces::after,
.anime {
  transition: 0.3s cubic-bezier(0.435, 0.045, 0.58, 0.96);
}

.prev,
.next {
  position: absolute;
  width: 36px;
  height: 36px;
  top: 46%;
  text-indent: -9999px;
  background: none;
  z-index: 5;
  border: 0;
  padding: 0;
  border-radius: 18px;
}

.prev {
  left: 4px;
  transform: translateY(-50%) rotate(-45deg);
}

.next {
  right: 4px;
  transform: translateY(-50%) rotateY(180deg) rotate(-45deg);
}

.prev::before,
.next::before,
.prev::after,
.next::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 3px;
  top: 50%;
  left: 50%;
  transform-origin: 0 100%;
  margin-left: -10%;
  margin-top: -10%;
  background: var(--orange);
}

.prev::after,
.next::after {
  transform: translateY(-100%) rotate(90deg);
}

.puces {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.puces li {
  display: inline-block;
  margin: 0 3px;
}

.puces button {
  display: block;
  width: 10px;
  height: 10px;
  background: var(--dot);
  border: 0;
  padding: 0;
  border-radius: 5px;
}

.puces button.selected,
.puces button:hover {
  background: var(--dot-hover);
}

.carrousel .indic {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: var(--orange);
  z-index: 10;
  pointer-events: none;
}

.page-error {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #fff;
}

.page-error a {
  color: #fff;
  font-weight: 700;
}

@keyframes pulse {
  from { transform: scale3d(1, 1, 1); }
  50% { transform: scale3d(1.08, 1.08, 1.08); }
  to { transform: scale3d(1, 1, 1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 768px) {
  #header {
    height: 200px;
  }

  .logo {
    display: block;
  }

  .imagen-logo {
    width: 360px;
    height: 180px;
    margin: 7px 0 0;
  }

  .box-center {
    padding: 15px 10px 25px;
    border-top: 1px solid var(--card-border);
    border-left: 1px solid var(--card-border);
    border-right: 1px solid var(--card-border);
  }
}

@media (min-width: 1025px) {
  .logo,
  .box-center,
  .footer-area {
    width: 68%;
    max-width: 1160px;
  }

  .conten-responsive {
    display: block;
  }

  .layout {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .carrousel {
    width: 450px;
    height: 550px;
    margin: 0 auto;
  }

  .prev {
    left: -40px;
  }

  .next {
    right: -40px;
  }

  .prev:hover {
    left: -50px;
  }

  .next:hover {
    right: -50px;
  }

  .image-cover {
    width: 270px;
    height: 270px;
  }
}

@media (min-width: 1500px) {
  .logo,
  .box-center,
  .footer-area {
    width: 56%;
    max-width: none;
  }
}
