@keyframes push {
  0 {
    left: 0;
  }
  50% {
    left: 75px;
  }
  75% {
    left: 60px;
  }
  100% {
    left: 160px;
  }
}

@keyframes navyPush {
  0 {
    left: -160px;
  }
  50% {
    left: -85px;
  }
  75% {
    left: -100px;
  }
  100% {
    left: 0;
  }
}

body {
  font-family: 'Archer', times, serif;
  margin: 0;
  text-rendering: optimizeLegibility;
}

a {
  position: relative;
  color: #FFF;
  background-color: #032334;
  text-decoration: none;
  display: block;
  overflow: hidden;
  border: 1px solid #000;
  width: 160px;
  height: 600px;
  box-sizing: border-box;
}

a:hover .cta {
  background-color: white;
}

.frame:nth-of-type(1) {
  position: absolute;
  top: 0;
  left: 0;
  animation: 3s ease-in-out 2s forwards push;
}

.frame:nth-of-type(2) {
  position: relative;
  top: 0;
  left: -160px;
  width: 100%;
  height: 100%;
  animation: 3s ease-in-out 2s forwards navyPush;
  opacity: 1;
  transition: opacity ease-in-out;
}

.frame:nth-of-type(2).out {
  opacity: 0;
}

.frame:nth-of-type(2) img {
  position: absolute;
  top: 248px;
  left: 50%;
  transform: translateX(-50%);
}

.frame:nth-of-type(3) {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  opacity: 0;
  transition: opacity ease-in-out .5s;
}

.frame:nth-of-type(3).in {
  opacity: 1;
}

.frame:nth-of-type(3) img {
  position: absolute;
  top: 260px;
  width: 139px;
  height: auto;
  left: 50%;
  transform: translateX(-50%);
}

.cta {
  background-color: #0078c1;
  position: absolute;
  top: 351px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1s ease-in-out 1s;
  max-height: 26px;
}

.cta.in {
  opacity: 1;
}

.cta img {
  padding: 8px;
  opacity: 0;
}

.cta img.visible {
  opacity: 1;
}

.cta img:nth-of-type(2) {
  position: absolute;
  top: 0;
  left: 0;
}
