@font-face {
  font-family: 'Archer';
  src: url("../assets/Archer-Medium.woff");
  font-weight: normal;
}

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

#wrapper {
  width: 300px;
  height: 250px;
  border: 1px solid black;
  background-color: #0078c1;
  box-sizing: border-box;
  position: relative;
  display: block;
  overflow: hidden;
  color: white;
}

#wrapper:hover .cta {
  background-color: white;
  color: #0078c1;
}

.imageGrid img {
  position: absolute;
}

.imageGrid img.out {
  opacity: 0;
}

.topLeftImages {
  position: absolute;
  top: 0;
  left: 0;
}

.topRightImages {
  position: absolute;
  top: 0;
  left: 150px;
}

.bottomLeftImages {
  position: absolute;
  top: 102px;
  left: 0;
}

.bottomRightImages {
  position: absolute;
  top: 102px;
  left: 150px;
}

.text {
  position: absolute;
  opacity: 0;
  left: 50%;
  transform: translateX(-50%);
  top: 78px;
}

.text.in {
  opacity: 1;
}

.text:nth-of-type(2) {
  top: 79px;
}

.logo {
  width: 129px;
  height: 48px;
  position: absolute;
  top: 187px;
  left: 26px;
}

.cta {
  font-size: 11px;
  padding: 4px 8px;
  border: 1px solid white;
  font-weight: 900;
  position: absolute;
  top: 200px;
  right: 16px;
}

.finalFrame {
  position: absolute;
  top: 88px;
  background-color: #0078c1;
  width: 100%;
  height: 0;
  transition: height .5s ease-in-out, top .5s ease-in-out;
  overflow: hidden;
}

.finalFrame .finalWrap {
  position: absolute;
  width: 100%;
  top: -88px;
  transition: top .5s ease-in-out;
}

.finalFrame.in {
  height: 180px;
  top: 0;
}

.finalFrame.in .finalWrap {
  top: 0;
}

.finalFrame .award {
  position: absolute;
  top: 15px;
  left: -13px;
  opacity: 0;
}

.finalFrame .award.in {
  opacity: 1;
}

.finalFrame .text {
  top: 37px;
  left: 147px;
  transform: none;
}
