.loader {
  width: 100vw;
  height: 100vh;
  position: fixed;
  opacity: 1;
  top: 0;
  left: 0;
  z-index: 10000;
}

.loader.loaded {
  opacity: 0;
  transition: 2s linear;
}

.loader-text {
  opacity: 1;
  padding: 5px;
  width: 100vw;
  height: 100vh;
  display: grid;
  align-items: center;
  justify-content: center;
  color: black;
  position: relative;
}

.loader-text.loaded {
  opacity: 0;
  transition: 2s linear;
}

.loader-text h1 {
  position: absolute;
  top: 5vw;
  left: 5vw;
  z-index: 10;
  mix-blend-mode: difference;
}

.loader-text h1:after {
  content: 'Who am I?';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  color: white;
}

.white {
  display: block;
  width: 100%;
  height: 0vh;
  background: white;
}

.black {
  display: block;
  width: 100%;
  height: 100%;
  background: black;
}

.top {
  top: 0vh;
  height: 0vh;
  animation: top 4s infinite linear;
}

.mid {
  top: 0vh;
  height: 0vh;
  animation: mid 4s infinite linear;
}

.bot {
  top: 0vh;
  height: 100vh;
  animation: bot 4s infinite linear;
}

.ll, .lm, .rm, .rr {
  width: 25vw;
  z-index: -100;
  position: absolute;
}

.ll {
  left: 0;
}

.lm {
  left: 25vw;
  animation-delay: 0.2s;
}

.rm {
  left: 50vw;
  animation-delay: 0.4s;
}

.rr {
  left: 75vw;
  animation-delay: 0.6s;
}

@keyframes top {
  0% {
    top: 0vh;
    height: 0vh;
  }

  20% {
    top: 0vh;
    height: 0vh;
  }

  50% {
    top: 0vh;
    height: 0vh;
  }

  70% {
    top: 0vh;
    height: 100vh;
  }
}

@keyframes mid {
  0% {
    top: 0vh;
    height: 0vh;
  }

  20% {
    top: 0vh;
    height: 100vh;
  }

  50% {
    top: 0vh;
    height: 100vh;
  }

  70% {
    top: 100vh;
    height: 0vh;
  }
}

@keyframes bot {
  0% {
    top: 0vh;
    height: 100vh;
  }

  20% {
    top: 100vh;
    height: 0vh;
  }

  50% {
    top: 100vh;
    height: 0vh;
  }

  70% {
    top: 100vh;
    height: 0vh;
  }
}