.hide {
  display: none;
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-110%);
  }
}
@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}
.transition p {
  font-size: 1.125rem;
}
.transition .show-first,
.transition .show-second {
  display: grid;
  grid-template-columns: 1fr;
  place-content: center;
  height: 100vh;
  text-align: center;
}
.transition .show-first {
  animation: 0.75s ease-out 0s 1 slideInFromLeft;
  animation-delay: 2s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  background-color: #005daa;
  color: #fff;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 10;
}
.transition .show-first:after {
  background-image: url("/Portals/_default/Skins/lennarmortgage/img/transition-arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  height: 129px;
  position: absolute;
  right: -60px;
  top: calc(50% - 64px);
  width: 61px;
}
.transition .show-second {
  background-color: #fff;
  animation: 0.75s ease-out 0s 1 slideInFromRight;
  animation-delay: 2s;
  height: 100%;
  padding-left: 25px;
  padding-right: 25px;
  position: fixed;
  width: 100%;
  z-index: 5;
}
.transition .show-second:before {
  content: "";
  position: absolute;
  background: white;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 300px;
}
.transition .show-second .company-logo {
  margin: 50px 0;
}
.transition .show-second .redirect-link {
  position: absolute;
  bottom: 80px;
  width: 100%;
}
