body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ff8a80;
  font-family: 'Fjalla One', sans-serif;
  text-transform: uppercase;
}

/* Button */
.btn-slice {
  padding: 1.2rem 2.5rem;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3rem;
  position: relative;
  cursor: pointer;
  transition: all 1s cubic-bezier(0.89, -0.17, 0.14, 1.225);
}

/* Top & Bottom slices */
.btn-slice .top,
.btn-slice .bottom {
  height: 6px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(1, -0.05, 0.025, 1.04);
}

.btn-slice .bottom span {
  position: absolute;
  top: -6px;
  left: 0;
}

/* Hover animation */
.btn-slice:hover .top {
  transform: translateY(-5px);
}

.btn-slice:hover .bottom {
  transform: translateY(5px);
}

.btn-slice:hover {
  margin-left: 10px;
}

/* Line effect */
.btn-slice::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -35px;
  width: 60px;
  height: 1px;
  background: #fff;
  transition: width 1s cubic-bezier(0.89, -0.17, 0.14, 1.225);
}

.btn-slice:hover::before {
  width: 130%;
}
