/* GLOW EFFECT */
@property --rotate {
  syntax: "<angle>";
  initial-value: 132deg;
  inherits: false;
}

:root {
  --card-height: 95px;
  --card-width: 155px;
}

.glow {
  background: #191c29dd;
  width: var(--card-width);
  padding: 3px;
  /*position: relative;*/
  border-radius: 26px;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  display: flex;
  cursor: pointer;
}

.glow div {
  background: #191c29dd;
  width: var(--card-width);
  height: var(--card-height);
  /*position: relative;*/
  border-radius: 26px;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;    
  padding-top:8px;
}

.glow div:hover {
  color: #5ddcff;
  transition: color .5s;
}

.glow::before {
  content: "";
  width: 102%;
  height: 102%;
  /*left: -2%;*/
  /*top: -2%;*/
  border-radius: 28px;
  background-image: linear-gradient(
    var(--rotate),
    #5ddcff,
    #3c67e3 43%,
    #4e00c2
  );
  position: absolute;
  z-index: -1;
  animation: spin 2.5s linear infinite;
}

.glow::after {
  position: absolute;
  content: "";
  top: calc(var(--card-height) / 6);
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.8);
  filter: blur(calc(var(--card-height) / 6));
  background-image: linear-gradient(
    var(--rotate),
    #5ddcff,
    #3c67e3 43%,
    #4e00c2
  );
  opacity: 1;
  transition: opacity 0.5s;
  animation: spin 2.5s linear infinite;
}

@keyframes spin {
  0% {
    --rotate: 0deg;
  }
  100% {
    --rotate: 360deg;
  }
}
