.btn {
  padding: 5px 5px;
  font-size: 1.5rem;
  cursor: pointer;
  background: #39424A;
  position: relative;
  border: none;
  border-radius: 30px;
  color: white;
  z-index: 1;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -100px;
  background: conic-gradient(
    from 0deg,
    #93d36e, #4193f7, #eb50c7, #f2a643, #f8d548, #93d36e
  );
  border-radius: 50%;
  transition: transform 1s ease;
  z-index: -2;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #39424A;
  border-radius: 28px;
  z-index: -1;
}

.btn:hover::before {
  transform: rotate(360deg);
}

.contour {
  padding: 20px;
  font-size: 1.5rem;
  background: white;
  position: relative;
  border: none;
  border-radius: 30px;
  color: black;
  overflow: hidden;
}

.contour::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from 0deg,
    #93d36e, #4193f7, #eb50c7, #f2a643, #f8d548, #93d36e
  );
  border-radius: inherit;
  z-index: -2;
}

.contour::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: white;
  border-radius: inherit;
  z-index: -1;
}
.rainbow-underline {
  text-decoration: none;
  background-image: linear-gradient(to right, #93d36e, #4193f7, #eb50c7, #f2a643, #f8d548, #93d36e);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 2px;
  padding-bottom: 2px;
}