/** Brian Tracy https://codepen.io/alvarotrigo/pen/ExvqdNa **/

.box {
    /* height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left; */
    height: 100vh;
    display: block;
    text-align: left;
    padding: 2em 0 0;
    position: relative;
    z-index: 10;
}

/** not needed 
h1 {
  max-width: 40ch;
  text-align: center;
  transform: scale(0.94);
  animation: scale 3s forwards cubic-bezier(0.5, 1, 0.89, 1);
}
**/

@keyframes scale {
  100% {
    transform: scale(1);
  }
}

span{
  display: none;
}

.active {
  span {
    display: inline;
    opacity: 0;
    filter: blur(4px);
  }
  
  span:nth-child(1) {
      animation: fade-in 0.6s 0.1s forwards cubic-bezier(0.11, 0, 0.5, 0);
  }
  
  span:nth-child(2) {
      animation: fade-in 0.6s 0.75s forwards cubic-bezier(0.11, 0, 0.5, 0);
  }
  
  span:nth-child(3) {
      animation: fade-in 0.6s 1.5s forwards cubic-bezier(0.11, 0, 0.5, 0);
  }
  
  span:nth-child(4) {
      animation: fade-in 0.6s 2.25s forwards cubic-bezier(0.11, 0, 0.5, 0);
  }
  
  span:nth-child(5) {
      animation: fade-in 0.6s 2.75s forwards cubic-bezier(0.11, 0, 0.5, 0);
  }
}

@keyframes fade-in {
    100% {
      opacity: 1;
      filter: blur(0);
    }
  }

@media (max-width: 991.98px) {
    .box{
        padding: 1.25em 0 0;
    }
}

@media (max-width: 767.98px) {
    .box{
        padding: 2em 0 0;
    }

    .slide{
        font-size: 34px;
        line-height: 50px;
    }
}