body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f8ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
  }
  .container {
    background-color: #ffdead;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  .button {
    background-color: #ff69b4;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
  }
  .button:hover {
    background-color: #ff6eb4;
  }
  input[type="text"] {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
  }
  .result {
    margin-top: 20px;
    font-size: 20px;
    color: #4169e1;
  }
  #animationContainer div {
    font-size: 35px; /* Ajusta esto según sea necesario para hacerlo grande */
    color: #000; /* Color del texto, ajusta según necesites */
    width: 100%; /* Ocupar todo el ancho del contenedor */
    text-align: center; /* Centrar el texto horizontalmente */
    background-color: rgb(255, 255, 255); /* Fondo naranja para el nombre seleccionado */
    padding: 20px 0; /* Añade algo de padding vertical */
    box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
}
  
  .moving-names {
    position: absolute;
    white-space: nowrap;
  }
  
  @keyframes moveNames {
    0% { top: -100%; }
    100% { top: 100%; }
  }