:root {
  --bg: hsl(0, 0%, 14%);
  --gradient: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
}

html,
body {
  height: 100%;
}

body {
  background-color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
}

figure {
  display: flex;
  position: relative;
  flex-direction: column;
}

figure img,
.img-bg {
  height: 320px;
  width: 320px;
  -webkit-box-shadow: 5px 5px 10px 0px #000000;
    -moz-box-shadow: 5px 5px 10px 0px #000000;
    -o-box-shadow: 5px 5px 10px 0px #000000;
    box-shadow: 5px 5px 10px 0px #000000;
}

.img-bg {
  position: absolute;
  background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
  border-radius: 50%;
  filter: blur(72px);
  z-index: -1;
  animation: pulse 4s cubic-bezier(0, 0, 0, 0.5) infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.5);
  }
}
