
.custom_button1, .t-btn  {
   position: relative;
   overflow: hidden;
    border-radius: 30px; /* Закругление кнопки */
    z-index: 1;
    cursor: pointer; /* Указатель мыши */
}

.custom_button1::before, .t-btn::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 200%;
   height: 100%;
   background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
   transform: skewX(-30deg);
   animation: shine 3s ease-in-out infinite;
   pointer-events: none; /* Игнорируем клики на псевдоэлементе */
}

.custom_button1:hover::before {
   animation: shine 2s ease-in-out;
}

@keyframes shine {
   0% {
      left: -100%;
   }
   100% {
      left: 100%;
   }
}

