* {
  box-sizing: border-box;
}

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
}

.button {
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px #000;
  border-radius: 12px;
  transition: all 0.3s;
  font-size: 24px;
  padding: 6px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scaleY(1) translateY(0px);
  background: linear-gradient(to bottom right, #0100ec, #fb36f4);
}

.button:active {
  transform: scaleY(0.95) translateY(2px);
  box-shadow: 0 0 10px gray;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.3s;
}

.button span:after {
  content: "\00bb";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

.result {
  width: 100%;
  max-width: max-content;
  color: #000;
  background: rgba(32, 32, 32, 0.1);
  padding: 8px 30px;
  border-radius: 6px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  font-family: "Courier New", Courier, monospace;
}
