.submit {
    position: relative;
}

.loading {
    position: absolute;
    top: 10%;
    left: 40%;
    display: none;
    justify-content: center;
    gap: 8px;
    z-index: 999;
}

.loading span {
    height: 10px;
    width: 10px;
    background-color: #d4f6ba;
    border-radius: 50%;
    animation: anim 1s infinite ease-in-out;
}

.loading span:nth-child(1) {
    animation-delay: 0s;
}

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

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

.loading span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes anim {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.6);
        opacity: 1;
    }
}