﻿
.triple-arrows-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 45px;
    text-decoration: none;
    font-size: 15pt;
    font-weight: 500;
    color: white;
    transition: 1s;
    transform: skewX(-15deg);
}

.triple-arrows-button-container:focus .triple-arrows-button {
    outline: none;
}

.triple-arrows-button-container:hover .triple-arrows-button {
    transition: 0.5s;
}

.triple-arrows-button-container:focus .triple-arrows-button {
    transition: 0.5s;
}

.triple-arrows-button span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}

.triple-arrows-button-container:hover .triple-arrows-button span:nth-child(2) {
    transition: 0.5s;
    margin-right: 15px;
}


.triple-arrows-button span {
    transform: skewX(15deg)
}

    .triple-arrows-button span:nth-child(2) {
        width: 20px;
        margin-left: 15px;
    }

/**************SVG****************/
.triple-arrows-button path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

.triple-arrows-button path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

.triple-arrows-button-container:hover .triple-arrows-button path.three {
    animation: color_anim 1s infinite 0.2s;
}

.triple-arrows-button-container:hover .triple-arrows-button path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.triple-arrows-button-container:hover .triple-arrows-button path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

/* SVG animations */

@keyframes color_anim {
    0% {
        fill: white;
    }

    50% {
        fill: #F5F5F5;
    }

    100% {
        fill: white;
    }
}
