.scroll-icon {
    position: fixed;
    bottom: 40px;
    right: 30px;
}

.scroll-icon span {
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid #161a6e;
    border-right: 2px solid #161a6e;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.scroll-icon span:nth-child(2) {
    animation-delay: -0.2s;
}

.scroll-icon span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {

    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}