@media only screen and (min-width: 320px) {

    .next-project-container .query-loop-container {
        padding-bottom: 0;
    }

    .next-project-container .gb-query-loop-wrapper .gb-query-loop-item {
        padding-bottom: 40px;
    }
    
    a.gb-button.next-icon.icon-move {
        position: relative;        /* Pitää elementin paikoillaan */
        opacity: 1;
        transform: translateY(0);  /* Lähtöpiste */
        animation: moveDown 1.6s infinite; 
        text-decoration: none;
        padding-bottom: 100px;
        will-change: transform;    /* Tehostaa animaatiota */
        background: none
    }

    a.gb-button.next-icon.icon-move::after {
        display: none;
    }

    @keyframes moveDown {
        0% {
        bottom: 0px;
        opacity: 1;
        }
        
        100% {
        bottom: -50px;
        opacity: 0;
        }
    }
}

@media only screen and (min-width: 768px) {
    .next-project-container .gb-query-loop-wrapper .gb-query-loop-item {
        padding-bottom: 0px;
    }
}

@media only screen and (min-width: 1024px) {
   
}