/* 
Plugin Name: Animated Hover Button
Author: Asad
Author Url: http://asadpro.com
*/
.button_su {
  overflow: hidden;
  position: relative;
  display: inline-block;
  border-radius: 5px;
  margin-bottom: 20px;
  margin-right: 15px;
}
.button_su a:hover,
.button_su button:hover {
  color: #ffffff;
}

.su_button_circle {
  background-color: red;
  border-radius: 1000px;
  position: absolute;
  left: 0;
  top: 0;
  width: 0px;
  height: 0px;
  margin-left: 0px;
  margin-top: 0px;
  pointer-events: none;
  animation-timing-function: ease-in-out;
}

.button_su_inner {
  display: inline-block;
  background: #ffffff;
  color: #0093da;
  font-size: 1.2rem;
  font-weight: normal;
  text-align: center;
  border-radius: 5px;
  transition: 700ms;
  text-decoration: none;
  padding: 15px 30px;
  z-index: 100000;
}

.button_text_container {
  position: relative;
  z-index: 10000;
}

.explode-circle {
  animation: explode 1s forwards;
}

.desplode-circle {
  animation: desplode 0.5s forwards;
}

@keyframes explode {
  0% {
    width: 0px;
    height: 0px;
    margin-left: 0px;
    margin-top: 0px;
    background-color: rgba(42, 53, 80, 0.2);
  }
  100% {
    width: 1000px;
    height: 1000px;
    margin-left: -500px;
    margin-top: -500px;
    background-color: #08a659;
  }
}

@keyframes desplode {
  0% {
    width: 1000px;
    height: 1000px;
    margin-left: -500px;
    margin-top: -500px;
    background-color: #08a659;
  }
  100% {
    width: 0px;
    height: 0px;
    margin-left: 0px;
    margin-top: 0px;
    background-color: rgba(129, 80, 108, 0.6);
  }
}
