@import url('https://fonts.googleapis.com/css2?family=Recursive:slnt,wght,CASL,CRSV,MONO@-15..0,300..1000,0..1,0..1,0..1&display=swap');

:root {
  font-size: 100%;
  font-family: 'Recursive', monospace;
}

/* https://www.sliderrevolution.com/resources/css-text-animation/ */

/* 
** Change this if you need to modify
** the amount of lines displayed
*/
/*
** Leave these unless you want
** to open a whole can of worms
*/
/*
** Set up the experiment
*/
html {
  background-color: #5138BE;
  height: 100%;
}

body {
  color: #FFFFFF;
  display: flex;
}

/*
** Apply styles to the parent element
*/
.Words {
  margin: 0;
  padding: 0px 0;
  font-family: "Recursive";
  font-size: 68px;
  font-weight: 900;
  letter-spacing: -2px;
  text-transform: lowercase;
  transform: translate3d(0, 0, 0);
  -webkit-font-smoothing: antialiased;
  -webkit-font-kerning: normal;
  -webkit-text-size-adjust: 100%;
}

/*
** Apply common styles to each line of text
*/
.Words-line {
  height: 100px;
  overflow: hidden;
  position: relative;
}
.Words-line:nth-child(odd) {
  transform: skew(60deg, -30deg) scaleY(0.66667);
}
.Words-line:nth-child(even) {
  transform: skew(0deg, -30deg) scaleY(1.33333);
}
.Words-line:nth-child(1) {
  left: 19px;
}
.Words-line:nth-child(2) {
  left: 48px;
}
.Words-line:nth-child(3) {
  left: 77px;
}
.Words-line:nth-child(4) {
  left: 106px;
}
.Words-line:nth-child(5) {
  left: 135px;
}
.Words-line:nth-child(6) {
  left: 164px;
}
.Words-line:nth-child(7) {
  left: 97px;
}

/*
** Fine-grained text styles
*/
p {
  height: 50px;
  line-height: 45px;
  padding: 0 10px;
  transition: all 0.4s ease-in-out;
  transform: translate3d(0, 0, 0);
  vertical-align: top;
  white-space: nowrap;
}

/*
** The hover interaction
*/
.Words:hover p {
  transform: translate3d(0, -50px, 0);
}