/* card dizine */
.card {
    transition: all 0.3s;
    cursor: pointer;
    
}

.card:hover {
    transform: scale(1.0);
}

/* glow */
.card::before {
  content: "";
  background: linear-gradient(
    45deg,
    #e1f518, #FF7300, #FFFB00, #ffa436,
    #e9ff6d, #b2c505, #f36e15, #f58718
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  z-index: -1;
  width: calc(100% + 4px);
  height:  calc(100% + 4px);
  filter: blur(8px);
  animation: glowing 20s linear infinite;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
  opacity: 0;
}

@keyframes glowing {
  0% {background-position: 0 0;}
  50% {background-position: 400% 0;}
  100% {background-position: 0 0;}
}

/* hover */
.card:hover::before {
  opacity: 1;
}

.card:active:after {
  background: transparent;
}

.card:active {
  color: #000;
  font-weight: bold;
}