:root {
    font-size: 15px;
  }
  
  body {
   background-image: linear-gradient(to top, #fddb92 0%, #d1fdff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    gap: 5rem;
  }
  
  button {
    --border-width: 2px;
    --border-radius: 0.35rem;
    --background-spread: 200px;
    
    font-family: Helvetica;
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: -0.02rem;
    position: relative;
    color: #fff;
    border: 0;
    border-radius: var(--border-radius);
    background-color: transparent;
    overflow: hidden;
    padding: var(--border-width);
  }
  
  button::after {
    content: '';
    position: absolute;
    background: conic-gradient(from 180deg at 50% 50%, #00D1FF 0deg, #EE27FF 106.88deg, #205EFF 206.25deg, #00F0FF 286.87deg, #00D1FF 360deg);
    top: calc(var(--background-spread) * -1);
    right: calc(var(--background-spread) * -1);
    bottom: calc(var(--background-spread) * -1);
    left: calc(var(--background-spread) * -1);
    z-index: -1;
    animation: 3s rotate linear infinite;
  }
  
  button#line::after {
    background: conic-gradient(from 180deg at 50% 50%, rgba(0, 209, 255, 0) 0deg, rgba(0, 209, 255, 0) 153.75deg, #00D1FF 345deg, rgba(0, 209, 255, 0) 360deg);
  }
  
  button > span {
    display: block;
    padding: 0.8rem 2.5rem;
    border-radius: calc(var(--border-radius) - var(--border-width) / 2);
  }
  
  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }