<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Glowing Border Animation</title>
  <style>
    body {
      margin: 0;
      padding: 0;
      background-color: black;
    }

    .block {
      position: relative;
      margin: 10% auto 0;
      width: 50%;
      height: 400px;
      z-index: 1; /* Set z-index for stacking context */
    }

    .block::before,
    .block::after {
      content: '';
      position: absolute;
      top: -10px;
      right: -10px;
      bottom: -10px;
      left: -10px;
      z-index: -1; /* Position these pseudo-elements behind the .block */
      background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff0080);
      background-size: 400%;
      border-radius: 20px; /* Adjust the border-radius for the glow effect */
      animation: animate 20s linear infinite;
    }

    @keyframes animate {
      0%, 100% {
        background-position: 0 0;
      }
      50% {
        background-position: 100% 0;
      }
    }

    .block::after {
      filter: blur(20px); /* Adjust the blur for the glow effect */
    }
  </style>
</head>
<body>
  <div class="block"></div>
</body>
</html>
I am a button