/**ANIMACION DE DESLIZAMIENTO HACIA ARRIBA**/

.vertical-slider-animation {
  position: relative;
  width: min(179px, calc(33% - 35px));
  display: flex;
  flex-direction: column;
  row-gap: 36px;
}

@media (max-width: 768px) {
  .vertical-slider-animation {
    row-gap: 16px;
  }
}

.vertical-slider-animation img {
  width: 100%;
  height: auto;
}

.vertical-slider-animation:nth-child(1) {
  animation: slideUp 40s linear infinite;
}

.vertical-slider-animation:nth-child(2) {
  animation: slideDown 35s linear infinite;
}

.vertical-slider-animation:nth-child(3) {
  animation: slideUp 50s linear infinite;
}

@keyframes slideUp {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(calc(-50% - 18px));
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(calc(-50% - 18px));
  }

  100% {
    transform: translateY(0%);
  }
}

/** ANIMACION DE PULSACION **/
.brx-animate-px-pulse {
  position: relative;
}

.brx-animate-px-pulse::after,
.brx-animate-px-pulse::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px; /* Ajusta a tu select */
  border: 0px solid red;
  opacity: 1;
  pointer-events: none;
  /* box-shadow: 0 0 0px rgba(255, 0, 0, 0.5); */
  transition: all;
}

.brx-animate-px-pulse::before {
  animation: pulseRipple 0.5s ease-out 0s;
}

.brx-animate-px-pulse::after {
  animation: pulseRipple 0.8s ease-out 0.3s;
}

@keyframes pulseRipple {
  0% {
    box-shadow: 0 0 0px rgba(255, 0, 0, 0);
    transform: scale(1);
    opacity: 0.5;
    border-width: 0px;
    /* filter: blur(0px); */
  }
  50% {
    /* box-shadow: 0 0 15px rgba(255, 0, 0, 1); */
  }
  100% {
    box-shadow: 0 0 0px rgba(255, 0, 0, 0);
    transform: scaleX(1.1) scaleY(1.4); /* Se aleja del borde */
    opacity: 0;
    border-width: 10px;
    /* filter: blur(2px); */
  }
}
