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: 160px;
  height: 600px;
  box-sizing: border-box;
}

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

.frame {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  overflow: hidden;
}

.frame {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.frame img {
  position: absolute;
}

.frame.in {
  opacity: 1;
}

.frame.out {
  opacity: 0;
}

.noJingles img {
  width: 145px;
  height: auto;
  left: 8px;
  top: 261px;
}

.award {
  position: absolute;
  z-index: 3;
  width: 177px;
  height: auto;
  left: -13px;
  top: 163px;
  transform: translateY(450px);
  transition: all 0.5s ease-out;
}

.award.in {
  transform: translateY(0);
}

.logo {
  position: absolute;
  width: 120px;
  height: auto;
  left: 17px;
  top: 34px;
}

.rankTextContainer {
  left: 0px;
  top: 312px;
  width: 160px;
  height: 100%;
  overflow: hidden;
  transition: none;
}

.rankTextContainer img {
  left: 22px;
  transform: translateY(-200px);
  transition: all 0.4s ease-out;
}

.rankTextContainer img:first-of-type {
  top: 31px;
}

.rankTextContainer img:last-of-type {
  top: 78px;
  left: 13px;
}

.rankTextContainer.in img {
  transform: translateY(0);
}

.finalTextContainer {
  top: 12px;
  left: 144px;
  transition: none;
}

.cta {
  background-color: #0078c1;
  position: absolute;
  top: 460px;
  left: 23px;
  width: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out 0.5s;
  max-height: 27px;
}

.cta.in {
  opacity: 1;
}

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

.cta img.visible {
  opacity: 1;
}

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

.lockup.in ~ .rankTextContainer {
  display: block;
}
