.text-move{
    display: flex;
    justify-content: center;
}

.text{
    font-family: "montserrat", sans-serif;
    text-transform: uppercase;
    font-size: 50px;
    -webkit-text-stroke: 1px #000;
    color: transparent;
    letter-spacing: 5px;
    position: relative;
}

.text::before{
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: #234089;
    -webkit-text-stroke: 3px #234089;
    width: 0;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #234089;
    animation: text-fill 2s ease-in-out alternate infinite;
}

@keyframes text-fill {
    100%{
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .text{
        font-size: 40px;
    }
}

@media screen and (max-width: 540px) {
    .text{
        font-size: 30px;
    }
}

@media screen and (max-width: 400px) {
    .text{
        font-size: 25px;
    }
}