body {
  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;
}

.logo {
  width: 138px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
}

.frames {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.frames .frame {
  position: absolute;
  display: flex;
  height: 100%;
  opacity: 0;
  transition: all 0.4s ease-out;
}

.frames .frame.in {
  opacity: 1;
}

.frames .frame.out {
  opacity: 0;
}

.frames .frame:nth-of-type(1), .frames .frame:nth-of-type(2) {
  transform: translateY(90px);
}

.frames .frame:nth-of-type(1).in, .frames .frame:nth-of-type(2).in {
  transform: translateY(0);
}

.frames .frame:nth-of-type(1) {
  left: 243px;
}

.frames .frame:nth-of-type(1).out {
  transform: translateY(-90px);
}

.frames .frame:nth-of-type(1) img {
  width: 396px;
}

.frames .frame:nth-of-type(2) {
  left: 228px;
}

.frames .frame:nth-of-type(2) img {
  width: 312px;
}

.frames .frame:nth-of-type(3) {
  left: 228px;
}

.frames .frame:nth-of-type(3) img {
  width: 259px;
}

.cta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 573px;
  width: 115px;
  height: 26px;
  background-color: #0078c1;
  opacity: 0;
  transition: opacity 0.4s 0.4s ease-out, background-color 0.1s ease-out;
}

.cta.in {
  opacity: 1;
}

.cta img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  width: 97px;
}

.cta img.visible {
  opacity: 1;
}
