

.wrap {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 310px;
}


/* Countdown */
.countdown {
  width: 800px;
  margin: 0 auto;
}

.bloc-time {
  float: left;
  margin-right: 45px;
  text-align: center;
}

.bloc-time:last-child {
  margin-right: 0;
}

.count-title {
  display: block;
  margin-bottom: 15px;
  font-size: 0.94em;
  font-family: 'Lato', sans-serif;
  color: #1a1a1a;
  text-transform: uppercase;
}

.figure {
  position: relative;
  float: left;
  height: 110px;
  width: 100px;
  margin-right: 10px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .2), inset 2px 4px 0 0 rgba(255, 255, 255, .08);
  
}

.figure:last-child {
  margin-right: 0;
}

.figure > span {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 5.94em;
  line-height: 107px;
  font-weight: 700;
  color: #795548;
  font-family: 'Lato', sans-serif;
  
}

.top {
  z-index: 3;
  background-color: #f7f7f7;
  transform-origin: 50% 100%;
  perspective: 200px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.bottom {
  z-index: 1;
  position: relative;
}

.bottom:before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: rgba(0, 0, 0, .02);
}

.bottom-back {
  z-index: 2;
  top: 0;
  height: 50%;
  overflow: hidden;
  background-color: #f7f7f7;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.bottom-back span {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.top-back {
  z-index: 4;
  bottom: 0;
  background-color: #fff;
  transform-origin: 50% 0;
  transform: perspective(200px) rotateX(180deg);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.top-back span {
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  margin: auto;
}

.top, .top-back {
  height: 50%;
  overflow: hidden;
  backface-visibility: hidden;
}
