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

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

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

a:hover .whiteContainer .cta .button {
  background-color: #AFD7EF;
}

a:hover .whiteContainer .cta .button svg path {
  fill: #0079c2;
}

.main {
  position: absolute;
  left: 0;
  top: 0;
  transition: all 11s ease-out;
}

.main.active {
  transform: scale(1.1);
}

.blueContainer {
  position: absolute;
  left: 0;
  top: -132px;
  transition: top .5s ease-in-out;
  width: 100%;
  height: 132px;
  background-color: #0079c2;
}

.blueContainer.active {
  top: 0;
}

.blueContainer img {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  width: 254px;
  transition: opacity .25s ease-in-out .5s;
}

.blueContainer img.active {
  opacity: 1;
}

.bottomBlueContainer {
  position: absolute;
  left: 0;
  top: 132px;
  transition: top .5s ease-in-out;
  width: 100%;
  height: 132px;
  background-color: #0079c2;
}

.bottomBlueContainer.active {
  top: 0;
}

.whiteContainer {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 116px;
  width: 100%;
  z-index: 10;
  background-color: white;
}

.whiteContainer .logo {
  width: 131px;
  position: absolute;
  z-index: 11;
  top: 32px;
  left: 6px;
  display: block;
}

.whiteContainer .textFrames {
  position: relative;
}

.whiteContainer .textFrames img {
  position: absolute;
  top: 32px;
  left: 150px;
  opacity: 0;
  transition: opacity .25s ease-in-out;
  margin: 0;
}

.whiteContainer .textFrames img.active {
  opacity: 1;
}

.whiteContainer .textFrames img:nth-of-type(1) {
  width: 131px;
}

.whiteContainer .textFrames img:nth-of-type(2) {
  width: 90px;
}

.whiteContainer .cta {
  position: absolute;
  top: 32px;
  left: 150px;
  opacity: 0;
  transition: opacity .25s ease-in-out;
}

.whiteContainer .cta.active {
  opacity: 1;
}

.whiteContainer .cta .button {
  width: 133px;
  height: 25px;
  background-color: #0079c2;
  position: relative;
  border-radius: 12px;
}

.whiteContainer .cta .button svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 99px;
}

.whiteContainer .cta .link {
  position: absolute;
  top: 31px;
  width: 100%;
  text-align: center;
  color: black;
  font-size: 10px;
  margin: 0;
}
