/* slide out */
.reveal-container {
  position: relative;
  display: inline-block;
  overflow: hidden; /* Clips the box as it slides away */
}
.reveal-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00ff40;
  /* opacity: 0; */
  transform: translateX(0);
  animation: slideOut 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes slideOut {
  0% {
  }
  100% {
    width: 0%;
  }
}

/* fade-in */
.fade-in {
  opacity: 0;
  animation: slowFade 2.5s ease-out forwards;
}

@keyframes slowFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
