.btn-light {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(
        245deg,
        var(--gradient-color-from) 34.77%,
        var(--gradient-color-to) 99.47%
    );
    color: #ffffff;
    text-transform: capitalize;
    line-height: 50px;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    padding: 0 30px;
    border-radius: 1111px;
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    cursor: pointer;
    border: none;
    height: auto;
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    box-shadow: none;
    width: max-content;
}

.btn-light:before {
    content: "";
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    -webkit-transform: skewx(-20deg);
    -khtml-transform: skewx(-20deg);
    -moz-transform: skewx(-20deg);
    -ms-transform: skewx(-20deg);
    -o-transform: skewx(-20deg);
    transform: skewx(-20deg);
    background-image: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    z-index: -1;
}

.btn-light:hover:before {
    -webkit-animation: pxl_btn_shine 1.4s ease;
    animation: pxl_btn_shine 1.4s ease;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

/* Button dark */
.btn-dark {
    font-family: "Poppins", sans-serif;
    background: black;
    color: #ffffff;
    text-transform: capitalize;
    line-height: 50px;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    padding: 0 30px;
    border-radius: 1111px;
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    cursor: pointer;
    border: none;
    height: auto;
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    box-shadow: none;
    width: max-content;
}

.btn-dark:before {
    content: "";
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    -webkit-transform: skewx(-20deg);
    -khtml-transform: skewx(-20deg);
    -moz-transform: skewx(-20deg);
    -ms-transform: skewx(-20deg);
    -o-transform: skewx(-20deg);
    transform: skewx(-20deg);
    background-image: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    z-index: -1;
}

.btn-dark:hover:before {
    -webkit-animation: pxl_btn_shine 1.4s ease;
    animation: pxl_btn_shine 1.4s ease;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

@keyframes pxl_btn_shine {
    100% {
        left: 200%;
    }
}
