@charset "utf-8";
/* CSS Document */

.button-container {
  box-sizing:border-box;
}

.wrapper-jc {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hover-button {
    display: flex;
    padding: 5px 10px;
	border-radius: 5px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
	font-weight: bold;
    color: white;
    background: #AA182C;
    transition: 1s;
    box-shadow: 6px 6px 0 black;
    transform: skewX(-15deg);
}

.hover-button:focus {
   outline: none; 
}

.hover-button:hover {
    transition: 0.5s;
    box-shadow: 10px 10px 0 #FBC638;
}

.hover-button .button-span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}

.hover-button:hover  .button-span:nth-child(2) {
    transition: 0.5s;
    margin-right: 15px;
}
.text-span {
	display: flex;
	padding: 0 10px;
	margin: auto;
}

.button-span {
    transform: skewX(15deg);
	display: inline-flex;
  }

.button-span:nth-child(2) {
    width: 20px;
	margin-left: 20px;
    position: relative;
  }
/**************SVG****************/

path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

.hover-button:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

.hover-button:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.hover-button:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

/* SVG animations */

@keyframes color_anim {
    0% {
        fill: white;
    }
    50% {
        fill: #FBC638;
    }
    100% {
        fill: white;
    }
}