body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.carrusel-container {
    width: 100%; /* Ajusta el ancho del carrusel */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.carrusel {
    display: flex;
    width: calc(400px * 14); /* Ajusta el ancho total del carrusel según el número de imágenes */
    animation: slide 42s infinite;
}

.slide {
    min-width: 250px; /* Tamaño de cada imagen */
    transition: transform 0.5s ease-in-out;
}

.carrusel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrusel-text {
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}

.carrusel-text h2 {
    color: #004687;
    margin-bottom: 10px;
}

.carrusel-text p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

@keyframes slide {
    0% { transform: translateX(0); }
    7.14% { transform: translateX(-400px); }
    14.28% { transform: translateX(-800px); }
    21.42% { transform: translateX(-1200px); }
    28.56% { transform: translateX(-1600px); }
    35.7% { transform: translateX(-2000px); }
    42.84% { transform: translateX(-2400px); }
    49.98% { transform: translateX(-2800px); }
    57.12% { transform: translateX(-3200px); }
    64.26% { transform: translateX(-3600px); }
    71.4% { transform: translateX(-4000px); }
    78.54% { transform: translateX(-4400px); }
    85.68% { transform: translateX(-4800px); }
    92.82% { transform: translateX(-5200px); }
    100% { transform: translateX(0); }
}
