﻿.animacion {
    margin-top: 2rem;
    display: block;
    height: 29px;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1px;
    float: left;
    width: auto;
    color: #FFF;
    font-weight: bold;
    padding: 0 10px;
    -webkit-animation: scroll 10s linear infinite;  /* Reducido de 25s a 15s */
    animation: scroll 14s linear infinite;
}

.animacion p {
    font-size: 15px;
    margin: 0 0 15px;
    color: #FFF;
    font-weight: 300;
    line-height: 24px;
    outline-width: auto;
    width: 620px;
    white-space: nowrap;  /* Añadido para evitar saltos de línea */
}

.animacion a {
    color: #c00;
}

@-webkit-keyframes scroll {
    0% {
        transform: translateX(100vw);  /* Cambiado a transform y vw */
    }
    100% {
        transform: translateX(-100%);  /* Cambiado a transform */
    }
}

@keyframes scroll {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

.animacion:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

