.block-npi-countdown {
  position: absolute;
  bottom: 110px;
  width: 100%;
  z-index: 100;
}

.with-countdown.front .c-hero-text {
  bottom: 150px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.with-countdown.front .c-hero-text .c-hero-text__main {
  left: 0;
  margin-left: 50px;
  top: -35px;
}

.npi-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
}

.npi-countdown .heading {
  color: white;
  font-family: "adrianna", sans-serif;
  font-size: 52px;
  font-weight: bold;
  letter-spacing: 0.02em;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
}

.npi-countdown .link {
  margin-left: 20px;
  margin-right: 20px;
}

.npi-countdown #countdown-flip {
  display: flex;
  align-items: center;
  margin: 20px 15px 0;
}

.flip-clock {
  text-align: center;
  perspective: 400px;
}
.flip-clock *,
.flip-clock *:before,
.flip-clock *:after {
  box-sizing: border-box;
}
.flip-clock__piece {
  display: inline-block;
  margin: 0 5px;
}
.flip-clock__slot {
  color: #FFF;
  display: block;
  font-family: "adrianna", sans-serif;
  font-size: 13px;
  font-weight: bold;
  margin-top: 10px;
  text-transform: uppercase;
  text-align: center;
}
.npi-countdown .card {
  display: block;
  position: relative;
  padding-bottom: 30px;
  font-family: "Gotham SSm A", "Gotham SSm B";
  font-size: 36px;
  font-weight: bold;
}
.npi-countdown .card__top,
.npi-countdown .card__bottom,
.npi-countdown .card__back::before,
.npi-countdown .card__back::after {
  display: block;
  height: 30px;
  color: #FFF;
  background: #009AD8;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.07)), #009AD8;
  padding: 0.25em 0;
  border-radius: 8px 8px 0 0;
  backface-visiblity: hidden;
  transform-style: preserve-3d;
  width: 70px;
  transform: translateZ(0);
}
.npi-countdown .card__bottom {
  color: #FFF;
  position: absolute;
  top: 50%;
  left: 0;
  background: #009AD8;
  border-radius: 0 0 8px 8px;
  pointer-events: none;
  overflow: hidden;
}
.npi-countdown .card__bottom::after {
  display: block;
  margin-top: -30px;
}
.npi-countdown .card__back::before,
.npi-countdown .card__bottom::after {
  content: attr(data-value);
}
.npi-countdown .card__back {
  position: absolute;
  top: 0;
  height: 100%;
  left: 0%;
  pointer-events: none;
}
.npi-countdown .card__back::before {
  position: relative;
  z-index: -1;
  overflow: hidden;
}
.flip .card__back::before {
  animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
  animation-fill-mode: both;
  transform-origin: center bottom;
}
.flip .card__back .card__bottom {
  transform-origin: center top;
  animation-fill-mode: both;
  animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
}
@keyframes flipTop {
  0% {
    transform: rotateX(0deg);
    z-index: 2;
  }
  0%,
  99% {
    opacity: 0.99;
  }
  100% {
    transform: rotateX(-90deg);
    opacity: 0;
  }
}
@keyframes flipBottom {
  0%,
  50% {
    z-index: -1;
    transform: rotateX(90deg);
    opacity: 0;
  }
  51% {
    opacity: 0.99;
  }
  100% {
    opacity: 0.99;
    transform: rotateX(0deg);
    z-index: 5;
  }
}

.npi-countdown .c-btn {
  height: 48px;
  line-height: 48px;
  padding-left: 35px;
  padding-right: 35px;
}

@media only screen and (max-width: 800px) {
  .block-npi-countdown {
    bottom: 80px;
  }

  .npi-countdown {
    flex-direction: column;
  }

  .with-countdown.front .c-hero-text {
    bottom: 130px;
  }

  .npi-countdown .heading {
    font-size: 30px;
  }

  .npi-countdown #countdown-flip {
    margin: 15px 0;
  }

  .with-countdown.front .c-hero-text .c-hero-text__main {
    left: 0;
    margin-left: 50px;
    top: -10px;
  }

  .npi-countdown .card {
    line-height: 40px;
  }

  .flip-clock__slot {
    font-size: 8px;
  }
}
