:root{
    --anaranjado: #ee6c4d;
    --negroClaro: #293241;
    --azulClaro: #e0fbfc;
    --azulMedio: #98c1d9;
    --azulGris: #3d5a80;

    --fuente:'Lato', sans-serif;
}




.principal {
    font-size: 2.5rem;
    color: #2d3e50;
    text-align: center;
    margin-bottom: 20px;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}


.principal::after {
    content: "";
    display: block;
    width: 20rem;
    height: 3px;
    background-color: #3498db; 
    margin: 10px auto;
}



.principal-2 {
    font-size: 2.5rem;
    color: #2d3e50;
    text-align: center;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.principal-2::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #ffffff, transparent 50%);
    animation: fallingLetters 1.5s ease-in-out infinite;
}

@keyframes fallingLetters {
    0% {
        transform: translateY(-100%);
    }
    25% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20%);
    }
    75% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%);
    }
}




.contenedorCardan {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #3498db;
}

.contenedorCardan h2 {
    padding: 1.5rem;
    color: #333;
    text-align: justify;
    line-height: 1.6;
} 


/* Fondo de partes del cardán */

.contenedorCardan{
    width: 80vw;
    margin: 0 auto;
}
.contenedorCardan img{
    width: 100%;
}

.contenedorCardan h2{
    text-align: justify;
    font-size: 1.5rem;
    margin: 2rem 0;
    line-height: 1.5;
}
@media (min-width: 992px){
    .contenedorCardan h2{
        font-size: 2.5rem;
    }
}


/* Planos */


.plano {
    background-color: #fff;
    margin: 5rem 2rem;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
@media (min-width: 992px){
    .plano{
        margin: 5rem 20rem;
    } 
}

.plano img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.descripcion {
    font-size: 1.5rem;
    line-height: 1.6;
}
@media (min-width: 992px){
    .descripcion {
        font-size: 2rem;
        line-height: 1.6;
    }
}

.informacion-adicional {
    font-size: 1.5rem;
}







