
html, body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #161616;
  overflow: hidden;
  /* transform: scale(1.5); */
}

/* button */
.btn {
  margin: 40px;
  padding: 50px 40px;
  border: none;
  outline: none;
 
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10%;
}


.btn {
  background-image: url("img.png"); 
  background-size: cover; 
  background-repeat: no-repeat; 
  width: 200px;  /
  height: 200px; 
  border-radius: 50%; 
  border: none; 
  cursor: pointer; 
  outline: none; 
}







.btn::after {
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
 background-image: url("img.png"); /
  background-size: cover; 
  background-repeat: no-repeat; 
  left: 0;
  top: 0;
  border-radius: 50%;
}
/* glow */
.btn::before {
  content: "";
  background: linear-gradient(
    45deg,
    #FF0000, #FF7300, #FFFB00, #48FF00,
    #00FFD5, #002BFF, #FF00C8, #FF0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 1000%;
  z-index: -1;
  width: calc(100% + 4px);
  height:  calc(100% + 4px);
  filter: blur(8px);
  animation: glowing 30s linear infinite;
  transition: opacity .3s ease-in-out;
  border-radius: 50%;
  opacity: 1;
  
  transform: scale(1.1);
  
}

@keyframes glowing {
  0% {background-position: 0 0;}
  50% {background-position: 400% 0;}
  100% {background-position: 0 0;}
}

/* hover */
.btn:hover::before {
  opacity: 0.9;
}

.btn:active:after {
  background: transparent;
}

.btn:active {
 
  font-weight: bold;
}