/* 按鈕閃光 S */
.light {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    overflow: hidden;
    display: block;
    position: relative;
}

.light:after {
    content: "";
    display: block;
    position: absolute;
    left: -150%;
    top: 0;
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
    animation: light 3s infinite ease-in-out;
}

@keyframes light {
    0% {
        left: -150%;
    }

    70% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* 按鈕閃光 S */

.scale {
    animation: scale .5s infinite alternate-reverse;
}

@keyframes scale {
    0% {
        transform: scale(1, 1);
    }

    100% {
        transform: scale(1.05, 1.05);
    }
}

.moveDown {
    animation: moveDown 2s infinite ease-in-out;
}

@keyframes moveDown {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0px);
    }
}


@media (max-width:768px) {
    @keyframes moveDown {
        0% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(5px);
        }

        100% {
            transform: translateY(0px);
        }
    }
}
.arrow{
    animation: arrow 1.5s infinite ease-in-out;
}
@keyframes arrow {
    0%{
        clip-path: inset(0 100% 0 0);
    }
    80%{
        clip-path: inset(0 0 0 0);
    }
    100%{
        clip-path: inset(0 0 0 0);
    }
}