:root {
  --pageBlack: #262626;
  --pageYellow: #fadf72;
  --pagePurple: #552b55;
  --pageRed: #814995;
  --pageGreen: #2ce771;
  --grey: #879c9b;
  --lightGreen: #47bc9f;
  --pageGrey: #212121;
  --lightBlue: #acc0ce;
}
body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  background-color: var(--lightBlue);
}
h1 {
  margin: 0;
  padding: 0;
  font-family: verdana;
  font-size: 120px;
  color: var(--pageRed);
  text-transform: uppercase;
  position: relative;
}
h1:before {
  content: "text";
  position: absolute;
  top:0;
  left: 0;
  color: black;
  width: 0%;
  overflow: hidden;
  transition: all .5s;
}
h1:hover:before {
  width: 100%;
}
