.animated-box {
    background-color: #89b7f361;
    border: 1px solid #333;
    padding: 10px 20px;
    text-align: center;
    margin: 20px auto;
    overflow: hidden;
    font-family: "Merriweather", serif; /* Alterado de Lilita One */
    font-weight: 600; /* SemiBold */
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    display: block;
    width: fit-content;
    max-width: 100%;
}

.animated-box p {
    display: block;
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #000;
    font-family: "Merriweather", serif; /* Alterado de Lilita One */
    font-weight: 600; /* SemiBold */
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.animated-box .label {
    display: block;
    overflow: hidden;
    position: relative;
    height: 25px;
    margin: 0 auto;
}

.animated-box .label span.labels {
    display: inline-block;
    color: #4b7723;
    font-size: 22px;
    font-family: "Merriweather", serif; /* Alterado de Lilita One */
    font-weight: 600; /* SemiBold */
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    line-height: 25px;
    white-space: nowrap;
    position: relative;
    animation: move 25s infinite;
    animation-delay: 2s;
}

@keyframes move {
    0% { transform: translateY(0); }
    15% { transform: translateY(0); }
    20% { transform: translateY(-25px); }
    35% { transform: translateY(-25px); }
    40% { transform: translateY(-50px); }
    55% { transform: translateY(-50px); }
    60% { transform: translateY(-75px); }
    75% { transform: translateY(-75px); }
    80% { transform: translateY(-100px); }
    98% { transform: translateY(-100px); }
    100% { transform: translateY(0); }
}

@media (min-width: 768px) {
    .animated-box {
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        max-width: 600px;
    }

    .animated-box p {
        margin: 0 10px 0 0;
        font-size: 18px;
    }

    .animated-box .label {
        margin: 0;
    }
}