h2{
    color: #4A4A4A;
}
h3{
    color: #0A0F2C ;
}

.contenedor-introduccion-prestamo{
    width: 100%;
    display: flex;
    height: 550px;
    
}
.introduccion-prestamo-txt{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: right;
    padding-right: 4%;
}
.introduccion-prestamo-img{
    width: 50%;
}
.introduccion-prestamo-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}
.titulo-prestamo{
    font-family: "Red Hat Display", sans-serif;
    font-size:2.5rem;
    line-height: 62px;
    color: #0A0F2C ;
}
.subtitulo-prestamo{
    font-family: "Red Hat Display", sans-serif;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 20px;
    font-weight: 200;
    color: #0A0F2C ;

}


.botones-prestamo {
    display: flex;
    gap: 20px;
}

.botones-p{
    border: 0;
    color: white;
    text-align: center;
    border-radius: 12px;
    min-width: 208px; /*REVISION*/
    padding: 12px 16px;
    font-weight: 500;
    transition: all .2s ease-in-out;
    font-size: 16px;
    font-family: "Red Hat Display", sans-serif;
    cursor: pointer;
}
.botones-in.p1:hover,.botones-in.p2:hover{
    
    filter: brightness(95%);
    text-decoration: none;
    transform: translateY(-2px);
}
.botones-p.p1{
    background-color: #00C2FF;
    color: white;
    border: 1px solid;
}
.botones-p.p2{
    background-color: #0A0F2C;
}

/*tORA*/

.contenedor-intereses{
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 3%;
}
.titulo-elementos h2{
    color: #4A4A4A;
    font-weight: 300;
}
.titulo-elementos h3{
    color: #0A0F2C;
    font-weight: bold;

}
.elementos{
    width: 25%;
    height: max-content;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
th,td{

    border-bottom: 1px solid #ccc;
}

#aviso-valor{
    color: red !important;
    font-size: 14px;
    display: none;
}
.Total-prestamo{
    height: 40px;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding-left: 10px;
    font-size: 14px;
    color: #545454;
    font-weight: 300;
}
.meses{
    display: flex;
    border: 1px solid #ccc;
    border-radius: 10px;
    color: #545454;
}


.meses div{
    text-align: center;
    flex: 1;
    border-left:1px solid  #ccc;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.meses div.selected {
    background-color: #00C2FF;
    color: black;
    border-bottom-right-radius: 10%;
    font-weight: bold;
}

.botones-p.p3{
    background-color: #0A0F2C;
    margin-top: 2%;
}

/*TABLA */
.resultados-cotizacion{
    width: 50%;
    background-color: #f8fafc;
    border-radius: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.resultados-c{
    width: 100%;
    padding: 3em 5em;
    text-align: center;
}
.tasa-interes{
    width: 90%;
    text-align: left;
    font-size: 17px;
}
.encabezado-r{
    width: 80%;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
}
.verde{
    background-color: #e5fcf1;
    color: #56d395;
    
}
.rojo{
    color: red  ;
}
.encabezado-r.verde{
    color: #56d395;
    text-align: center;

}
.encabezado-corto{
    display: flex;
    justify-content: center;
}
.encabezado-r.corto{
    width: 60%;
    text-align: center;
}
.filas{
    border: 1px solid !important;
}

/*Contenedor terminos y condiciones de la tora*/
.contenedor-terminosCalculadora{
    width: 70%;
    margin: 0 auto;
    font-size: 14px;
    text-align: justify;
    font-weight: 100;
    padding: 30px;
    color: #0A0F2C;
}


/*presentacion de prestamo*/
.contenedor-presentacion{
    display: flex;
}
.presentacion-txt{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.presentacion-txt div{
    width: 50%;
    padding: 15%;
}
.presentacion-txt h2{
    color: white;
    font-size: 40px;
    font-weight: bold;
}
.presentacion-txt p{
    color: white;
}
.presentacion-img{
    width: 40%;
}
.presentacion-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*VENTAJAS*/
.contenedor-ventajas{
width: 70%;
margin: 0 auto;
padding: 5%;
}

.contenedor-ventajas h2{
    letter-spacing: 2px;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: #4A4A4A;
    
}
.contenedor-ventajas h3{
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    margin-top: 1%;
    color: #0A0F2C;
}
.ventajas{
    display: flex;
    justify-content: center;
    align-items: center;
}
.ventajas div{
    flex: 1;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.ventajas p{
    font-weight: bold;
    font-size: 18px;
}

/*Requisitos*/
.contenedor-requisitos{
    width: 70%;
    margin: 0 auto;
}
.contenedor-requisitos h2{
    letter-spacing: 2px;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: #4A4A4A;
}
.contenedor-requisitos h3{
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    margin-top: 1%;
    color: #0A0F2C;
}

.contenedor-pasos{
    display: flex;
    align-items: center;
}
.contenedor-pasos div{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contenedor-pasos img{
    width: 55%;
}
.contenedor-pasos h2{
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    text-transform: uppercase;
    text-align: center;
    color: #0A0F2C;
}
.contenedor-pasos ul{
    width: 80%;
    color: #0A0F2C;
    font-weight: 300;
}


/*FUNCION*/

.contenedor-funcion{
    width: 70%;
    margin: 0 auto;
    margin-top: 8%;
    display: flex;
    padding: 20px;
}

.contenedor-funcion div{
    flex: 1;
    padding: 20px;
}
.contenedor-funcion h2{
    letter-spacing: 2px;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}
.contenedor-funcion h3{
    width: 50%;
    font-size: 40px;
    line-height: 48px;
    font-weight: bold;
    margin-top: 1%;
    color: #0A0F2C;
}
.contenedor-funcion p{
    line-height: 1.7 ;
    font-weight: 200;
}

/*Indice*/
.contenedor-indice{
    display: flex;
    width: 70%;
    margin: 0 auto;
    gap:10px;
    padding: 5%;

}
.contenedor-indice div{
    flex: 1;
}
.contenedor-indice h1{
    font-size: 35px;
}
.contenedor-indice h2{
    padding-left: 10px;
}
.contenedor-indice ul{
    line-height: 3.5;
}

/*Preguntas contestadas*/
.contenedor-preguntasC{
    width: 70%;
    margin: 0 auto;
} 
.preguntasRespuestas{
    line-height: 2;
}
.volver-indice{
    display: flex;
    justify-content: right;
}
.volver-indice a{
    cursor: pointer;
    color: #4b92f6;
}
.tabla-prestamos h2{
    text-align: center;
    font-size: 18px;
}

.rate{
    width: 100%;
    display: flex;
    text-align: center;
    color: white;
    vertical-align: middle;
}
.rate span{
    background-color: #60bfff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 8px;
}
.rate span.azul{
    background-color: #2d67cc;
}
.rate span.morado{
    background-color: #8e42d5;
}
.tabla-clasificacion{
    width: 100%;
    text-align: center;
}
.tabla-clasificacion div{
    display: flex;
    align-items: center;
    justify-content: center;
}
footer h2{
    color: white;
}


@media (max-width:799px) {

    .contenedor-introduccion-prestamo{
        flex-direction: column-reverse;
        width: 100%;
    }
    .introduccion-prestamo-txt{
        width: 90%;
        margin: 0 auto;
    }
    .contenedor-prestamo{
        width: 100%;
        text-align: center;
    }
    .titulo-prestamo{
        width: 100%;
        font-size: 20px;
        line-height: 1.5;
    }
    .titulo-prestamo br{
        display: none;
    }
    .botones-prestamo{
        display: flex;
        flex-direction: column;
        width: 50%;
        margin: 0 auto;
        padding: 0;
    }
    .introduccion-prestamo-img{
        width: 100%;
    }
    .introduccion-prestamo-img img{
        width: 100%;
        height: 300px;
    }


    .contenedor-intereses{
        padding: 0;
        flex-direction: column;
    }
    .elementos{
        margin-top: 10%;
        width: 100%;
    }
    .resultados-cotizacion{
        width: 100%;
    }



    .contenedor-presentacion{
        flex-direction: column;
    }
    .presentacion-txt{
        width: 100%;
    }
    .presentacion-txt div{
        width: 100%;
    }
    .presentacion-img{
        width: 100%;
    }


    .ventajas{
        flex-direction: column;
        gap: 20px;
    }
    .ventajas div{
        display: flex;
        width: 100%;
        gap: 20px;
        justify-content: space-between;
    }
    .ventajas div > p{
        width: 100%;
        text-align: left;
    }

    .contenedor-pasos {
        display: flex;
        flex-direction: column;
    }
    .contenedor-pasos div{
        width: 100%;
    }
    .contenedor-pasos.invertido{
        flex-direction: column-reverse;
    }
    .contenedor-pasos h2{
        width: 100%;
        text-align: center;
        font-size: 25px;
        padding: 0;
    }



    .contenedor-funcion{
        flex-direction: column;
    }
    .contenedor-funcion div{
        width: 100%;
    }





    .contenedor-indice{
        flex-direction: column;
    }
    .contenedor-indice ul{
        line-height: 2;
    }




    .contenedor-preguntasC{
        width: 80%;
    }
    .preguntasRespuestas{
        width: 100%;
    }
    .tabla-clasificacion{
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .resultados-c{
        padding: 0;
        margin: 0;
        width: 100%;
    }
}