:root{
--tic-color-primary: #C956FF;
--tic-color-primary-grad1: #7327FF;
    --tic-color-primary-grad2: #5215FF;
}
#butons .wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

#butons .cta {
    display: flex;
    padding: 10px 45px;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
 
    color: white;
    background: transparent linear-gradient(109deg, var(--tic-color-primary) 0%, var(--tic-color-primary-grad1) 61%, var(--tic-color-primary-grad2) 100%) 0% 0% no-repeat padding-box;
    transition: 1s;
    box-shadow: 10px 10px 0 #FCF008; 
    transform: skewX(-15deg);
}
#butons .cta:hover {
    background: transparent linear-gradient(109deg, var(--tic-color-primary) 0%, var(--tic-color-primary-grad1) 100%, var(--tic-color-primary-grad2) 100%) 0% 0% no-repeat padding-box;
    transform: skewX(-15deg) scale(1.05); /* Escala ligeramente en hover */
}

#butons .cta .text1{
    font-size: 30px;
}
#butons .cta .text2{
    font-size: 15px;
}
#butons .cta:focus {
    outline: none;
}

#butons .cta span:nth-child(2) {
    transition: 0.5s;
    margin-right: 45px; 
}

#butons span {
    transform: skewX(15deg);
}

#butons span:nth-child(2) {
    width: 20px;
    margin-left: 30px;
    position: relative;
    top: 12%;
}

/* SVG styles */

#butons path.one {
    transition: 0.4s;
    transform: translateX(0%); /* Aplica la transformación desde el inicio */
    animation: color_anim 1s infinite 0.6s; /* Aplica la animación desde el inicio */
}

#butons path.two {
    transition: 0.5s;
    transform: translateX(0%); /* Aplica la transformación desde el inicio */
    animation: color_anim 1s infinite 0.4s; /* Aplica la animación desde el inicio */
}

#butons path.three {
    animation: color_anim 1s infinite 0.2s; /* Aplica la animación desde el inicio */
}




/* SVG animations */

@keyframes color_anim {
    0% {
        fill: white;
    }
    50% {
        fill: #6D0367;
    }
    100% {
        fill: white;
    }
}

#bt2 {
  width: 80%;
  position: relative;
  display: inline-block;
  padding: 25px 30px;
  margin: 40px 0;
  color: white;
  background-color: black;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  letter-spacing: 4px;
  overflow: hidden;
}

/* Aseguramos que la imagen dentro del botón no sea afectada */
#bt2 img {
  filter: none; /* Elimina cualquier filtro aplicado a las imágenes */
  transition: none; /* Evita que las transiciones del botón afecten a la imagen */
}

/* Efecto hover del botón */
#bt2:hover {
  background: #7920E6;
  box-shadow: 0 0 5px #7920E6, 0 0 25px #7920E6, 0 0 50px #7920E6,
    0 0 200px #7920E6;
  -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
}

#bt2 span {
  position: absolute;
  display: block;
}

/* Animaciones de los bordes */
#bt2 span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, transparent, #7920E6);
  animation: animate1 1s linear infinite;
}

@keyframes animate1 {
  0% {
      left: -100%;
  }
  50%, 100% {
      left: 100%;
  }
}

/* Otros bordes animados... */

  
  #bt2 span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #7920E6);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
  }
  @keyframes animate2 {
    0% {
      top: -100%;
    }
    50%,
    100% {
      top: 100%;
    }
  }
  #bt2 span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(270deg, transparent, #7920E6);
    animation: animate3 1s linear infinite;
    animation-delay: 0.5s;
  }
  @keyframes animate3 {
    0% {
      right: -100%;
    }
    50%,
    100% {
      right: 100%;
    }
  }
  
  #bt2 span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #7920E6);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
  }
  @keyframes animate4 {
    0% {
      bottom: -100%;
    }
    50%,
    100% {
      bottom: 100%;
    }
  }
  