﻿
.btn {
  color: white;
  padding: 5px 20px;
  text-transform: capitalize;
  position: relative;
  overflow: hidden;
  font-size:16px;    
  border: 2px solid white;
  font-weight:600;
  cursor: pointer;
  margin:0 5px;
}
.btn span {
  position: relative;
  z-index: 100;
}
.btn:before, .btn:after {
  content: "";
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  top: 0px;
  left:0px;
}


.btn:before {
  transform: translate3d(-100%, 0, 0);
  background-color: rgb(255 255 255 / 1);
  transition: transform 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.btn:after {
  background-color: #0083ca;
  transform: translate3d(100%, 0, 0);
  transition: transform 300ms 300ms cubic-bezier(0.16, 0.73, 0.58, 0.62);
}
.btn:hover:before {
  transform: translate3d(0, 0, 0);
}
.btn:hover:after {
  transform: translate3d(0, 0, 0);
}