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

    .rotate {
      animation: rotate 5s linear infinite;
    }
    
    

.gborder3 .tn-atom {
  position: relative;
}

.gborder3 .tn-atom::before {
  content: "";
  position: absolute;
  z-index: -1;
  /* Общие свойства (радиус) оставляем здесь, чтобы не дублировать */
  border-radius: 52px;
}

/* ДЛЯ ЭКРАНОВ 1200px И ВЫШЕ (Desktop) */
@media screen and (min-width: 1200px) {
  .gborder3 .tn-atom::before {
    top: -3px;
    bottom: -3px;
    left: -3px;
    right: -3px;
    background: linear-gradient(45deg, #B4E1FF, #D3C2FF);
  }
}

/* ДЛЯ ЭКРАНОВ МЕНЬШЕ 1200px (Планшеты и мобильные) */
@media screen and (max-width: 1199px) {
  .gborder3 .tn-atom::before {
    /* Здесь можно изменить толщину (например, сделать 2px вместо 3px) */
    top: -2px;
    bottom: -2px;
    right: -2px;
    /* Здесь можно изменить цвета градиента для мобильных */
    background: linear-gradient(45deg, #FFB4B4, #FFDEB4);
  }
}

