/* ===== Buttons (flip) ===== */
.btn-flip {
  display: inline-block;
  width: 100%;
  margin-top: 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Open Sans", Roboto, sans-serif;
  letter-spacing: 1px;
  line-height: 40px;
  color: #fff;
  text-align: center;
  position: relative;
  outline: 0;
  opacity: 1;
  height: 40px;
}

.btn-flip:hover:after {
  opacity: 1;
  transform: translateY(0) rotateX(0);
  box-shadow: 0 0 15px #ff6bcb;
}

.btn-flip:hover:before {
  opacity: 0;
  transform: translateY(50%) rotateX(90deg);
}

.btn-flip:after {
  content: attr(data-back);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) rotateX(90deg);
  padding: 0 30px;
  height: 40px;
  line-height: 40px;
  opacity: 0;
  background: linear-gradient(45deg, #ff6bcb, #ff4040);
  color: #fff;
  text-shadow: 0 0 5px #fff;
  border-radius: 40px;
  transition: transform .35s ease-in-out, opacity .35s ease-in-out;
  white-space: nowrap;
}

.btn-flip:hover:after {
  transform: translateX(-50%) translateY(0) rotateX(0);
}

.btn-flip:before {
  content: attr(data-front);
  display: inline-block;
  padding: 0 30px;
  height: 40px;
  line-height: 40px;
  background: #27273e;
  color: #adadaf;
  border-radius: 40px;
  transition: transform .35s ease-in-out, opacity .35s ease-in-out;
}