
.button-1 {
  display: inline-block;
  width: 150px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid #03045e;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-in;
  z-index: 1;
 }
 
 .button-1::before,
 .button-1::after {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  transform: skew(15deg);
  transition: all 0.5s;
  overflow: hidden;
  z-index: -1;
 }
 
 .button-1::before {
  left: -10px;
  background: #240046;
 }
 
 .button-1::after {
  right: -10px;
  background: #5a189a;
 }
 
 .button-1:hover::before,
 .button-1:hover::after {
  width: 58%;
 }
 
 .button-1:hover span {
  color: #e0aaff;
  transition: 0.3s;
 }
 
 .button-1 span {
  color: #03045e;
  font-size: 18px;
  transition: all 0.3s ease-in;
 }

 .button-2 {
  outline: none;
  cursor: pointer;
  border: none;
  padding: 0.9rem 2rem;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  position: relative;
  display: inline-block;
  letter-spacing: 0.05rem;
  font-weight: 700;
  font-size: 17px;
  border-radius: 500px;
  overflow: hidden;
  background: #66ff66;
  color: ghostwhite;
 }
 
 .button-2 span {
  position: relative;
  z-index: 10;
  transition: color 0.4s;
 }
 
 .button-2:hover span {
  color: black;
 }
 
 .button-2::before,
 .button-2::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
 }
 
 .button-2::before {
  content: "";
  background: #000;
  width: 120%;
  left: -10%;
  transform: skew(30deg);
  transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
 }
 
 .button-2:hover::before {
  transform: translate3d(100%, 0, 0);
 }

 .button-3 {
  padding: 0.1em 0.25em;
  width: 13em;
  height: 65px;
  background-color: #212121;
  border: 0.08em solid #fff;
  border-radius: 0.3em;
  font-size: 12px;
}

.button-3 span {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0.4em;
  height: 50px;
  background-color: #212121;
  border-radius: 0.2em;
  font-size: 18px;
  color: #fff;
  border: 0.08em solid #fff;
  box-shadow: 0 0.4em 0.1em 0.019em #fff;
}

.button-3 span:hover {
  transition: all 0.5s;
  transform: translate(0, 0.4em);
  box-shadow: 0 0 0 0 #fff;
}

.button-3 span:not(hover) {
  transition: all 1s;
}
 
 .button-4 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #183153;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: none;
 }
 
 .button-4:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: #FFD401;
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
 }
 
 .button-4:hover::after {
  right: auto;
  left: 0;
  width: 100%;
 }
 
 .button-4 span {
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 15px 25px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
 }
 
 .button-4:hover span {
  color: #183153;
  animation: scaleUp 0.3s ease-in-out;
 }
 
 @keyframes scaleUp {
  0% {
   transform: scale(1);
  }
 
  50% {
   transform: scale(0.95);
  }
 
  100% {
   transform: scale(1);
  }
 }
 
 .button-5 {
  display: inline-block;
  border-radius: 4px;
  background-color: #3d405b;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 17px;
  padding: 16px;
  width: 130px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
 }
 
 .button-5 span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
 }
 
 .button-5 span:after {
  content: '»';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -15px;
  transition: 0.5s;
 }
 
 .button-5:hover span {
  padding-right: 15px;
 }
 
 .button-5:hover span:after {
  opacity: 1;
  right: 0;
 }