@import './google-fonts.css';

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background-color: #222;
}

h2 {
  position: relative;
  top: 20px;
  font-size: 3em;
  color: #fff;
  font-weight: 300;
  line-height: 1.25em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
}

h2 span {
  font-size: 4.5em;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}

.spark {
  position: absolute;
  width: 40px;
  height: 40px;
}

.spark span {
  position: absolute;
  width: 1px;
  height: 20px;
  pointer-events: none;
  transform-origin: bottom;
  overflow: hidden;
}

.spark span::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #0f0;
  animation: animate 2s ease-in-out forwards;
}


@keyframes animate {
  0% {
    transform: translateY(100%);
   
  }
  100% {
    transform: translateY(-101%);
  }
}