body {
  margin: 0;
  text-rendering: optimizeLegibility;
}

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

a:hover .cta {
  background-color: #032334;
}

.logoTop {
  position: absolute;
  top: 18px;
  left: 23px;
  width: 99px;
  opacity: 0;
}

.logoTop.in {
  opacity: 1;
}

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

.frames .frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: width 1s linear .25s;
  overflow: hidden;
  opacity: 0;
}

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

.frames .frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 222px;
}

.frames .frame img:nth-of-type(1) {
  top: 85px;
  transform: translateX(-50%);
  transition: all 1s ease-in-out;
}

.frames .frame img:nth-of-type(1).top {
  width: 100px;
  top: 18px;
  left: 23px;
  transform: none;
}

.frames .frame img:nth-of-type(2) {
  top: 152px;
  transform: translateX(-50%);
  opacity: 1;
}

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

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

.frames .frame:nth-of-type(2) img:nth-of-type(1) {
  top: 83px;
  left: 39px;
  transform: none;
}

.frames .frame:nth-of-type(3) .textHider {
  position: absolute;
  top: 65px;
  left: 445px;
  height: 140px;
  width: 90px;
  background-color: #fdf6ec;
  transition: left 1s ease-in-out;
  z-index: 10;
}

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

.frames .frame:nth-of-type(3) .award {
  z-index: 11;
  top: 65px;
  left: 400px;
  width: 170px;
  transform: none;
  transition: left 1s ease-in-out;
}

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

.frames .frame:nth-of-type(3) .rankTextContainer {
  position: relative;
  top: 79px;
  right: 15px;
  width: 0;
  height: 90px;
  overflow-x: hidden;
  transition: right 1s ease-in-out 1s, width .25s ease-in-out 1.4s;
}

.frames .frame:nth-of-type(3) .rankTextContainer .rankText {
  position: absolute;
  left: unset;
  transform: none;
}

.frames .frame:nth-of-type(3) .rankTextContainer .rankText:nth-of-type(1) {
  top: 0;
  right: 17px;
  width: 113px;
}

.frames .frame:nth-of-type(3) .rankTextContainer .rankText:nth-of-type(2) {
  top: 45px;
  right: 2px;
  width: 128px;
}

.frames .frame:nth-of-type(3) .rankTextContainer.in {
  right: -145px;
  width: 130px;
}

.cta {
  background-color: #0078c1;
  position: absolute;
  top: 173px;
  left: 143px;
  opacity: 0;
  transition: opacity 1s ease-in-out 1.7s;
  max-height: 27px;
}

.cta.in {
  opacity: 1;
}

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

.cta img.visible {
  opacity: 1;
}

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