@keyframes push {
  0 {
    left: 0;
  }
  50% {
    left: 200px;
  }
  75% {
    left: 150px;
  }
  100% {
    left: 728px;
  }
}

@keyframes navyPush {
  0 {
    left: -728px;
  }
  50% {
    left: -528px;
  }
  75% {
    left: -578px;
  }
  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: 728px;
  height: 90px;
  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: -970px;
  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: 15px;
  left: 50%;
  width: 383px;
  transform: translateX(-50%);
}

.frame:nth-of-type(3) {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  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: 13px;
  width: 177px;
  height: auto;
  left: 50%;
  transform: translateX(-50%);
}

.cta {
  background-color: #0078c1;
  position: absolute;
  top: 30px;
  right: 65px;
  opacity: 0;
  transition: opacity 1s ease-in-out 1s, right 1s ease-in-out;
  max-height: 28px;
}

.cta.in {
  opacity: 1;
}

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

.cta img.visible {
  opacity: 1;
}

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