.squiggly2 {
  display: inline;
  color: black;
  font-weight: normal;
  cursor: pointer;
  text-decoration: none;
  padding-bottom: 2px;

  background: url("data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cstyle%3E.squiggle{animation:shift .3s linear infinite;}@keyframes shift {from {transform:translateX(0);}to {transform:translateX(-20px);}}%3C/style%3E%3Cpath fill='none' stroke='%23337AB7' stroke-width='1' class='squiggle' d='M0,3.5 c 5,0,5,-2,10,-2 s 5,2,10,2 c 5,0,5,-2,10,-2 s 5,2,10,2'/%3E%3C/svg%3E");
  background-position: 0 97%;
  background-size: auto 3px;
  background-repeat: repeat-x;
}


@keyframes shift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-20px);
  }
}

@media (max-width: 768px) {
  .squiggly2 {
    background-size: auto 3px !important;
    background-position: 0 95% !important;
  }
}


.squiggly1 {
  display: inline;
  color: black;
  font-weight: normal;
  cursor: text;
  text-decoration: none;
  padding-bottom: 2px;
  background: url("/en/squiggle.svg");
  /* Путь к вашему файлу */
  background-position: 0 97%;
  background-size: auto 3px;
  background-repeat: repeat-x;
}


@keyframes shift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-20px);
  }
}

@media (max-width: 768px) {
  .squiggly1 {
    background-size: auto 3px !important;
    background-position: 0 95% !important;
  }
}
