:root {
    --login-title: 20px;
}

.box-effect-title {
    transform: translate(0);
}

.box-effect-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    z-index: -1;
    animation: animate2 8s infinite linear;
    animation-direction: alternate;
}

.box-effect-title h1 {
    position: relative;
    mix-blend-mode: difference;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}

@media only screen and (min-width: 768px) {
    @keyframes animate2 {
        0% {
            left: 90%;
        }

        50% {
            left: 50%;
        }

        100% {
            left: 0%;
        }
    }
}

@media only screen and (max-width: 768px) {
    @keyframes animate2 {
        0% {
            left: 80%;
        }

        50% {
            left: 50%;
        }

        100% {
            left: 5%;
        }
    }

    .box-effect-title {
        margin-bottom: 3rem;
    }
}

@media only screen and (max-width: 500px) {
    @keyframes animate2 {
        0% {
            left: 70%;
        }

        50% {
            left: 50%;
        }

        100% {
            left: 10%;
        }
    }
}

@media only screen and (min-width: 1366px) {
    :root {
        --login-title: 30px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1366px) {
    .box-effect-title::before {
        top: -10px;
    }
}
