.herotext {
  top: 0px;
  left: 0px;
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-width: 100vw;
  z-index: 2;
}

herotext2 {
  display: block;
  width: 980px;
  font-size: 125px;
  font-family: Helvetica;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #000000;
  -webkit-text-stroke: 1px #cbcbcb;
}

.mask {
  height: 156px;
  position: relative;
  overflow: hidden;
  margin-top: var(--offset);
}

.mask span {
  display: block;
  box-sizing: border-box;
  position: absolute;
  top: 140px;
  padding-bottom: var(--offset);
  
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-repeat: no-repeat;
}

.mask span[data-show] {
  transform: translateY(-100%);
  transition: .5s transform ease-in-out;
}

.mask span[data-up] {
  transform: translateY(-200%);
  transition: .5s transform ease-in-out;
}

.mask span:nth-child(1) {
  background-image: linear-gradient(45deg, #000000 50%, #000000);
}

.mask span:nth-child(2) {
  background-image: linear-gradient(45deg, #000000 50%, #000000);
}

.mask span:nth-child(3) {
  background-image: linear-gradient(45deg, #000000 50%, #000000);
}

.mask span:nth-child(4) {
  background-image: linear-gradient(45deg, #fa7671 50%, #f45f7f);
}


