/* estilos de proyectos  */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 60vh;
}

.ConProyectos .nuestrosProyectos {
    font-family: "Lobster", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    color: rgb(159, 7, 186);
}

.contProyectos {
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* estilos de inicio nosotros  */
.inicioProyectos {
    position: relative;
    background-image: url(../Img/Proyectos/InicioNosotros.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.full-width {
    position: absolute;
    top: 0%;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 15%;
    background-color: rgb(14, 14, 14, 0.5);
}

.inicioProyectos p {
    font-family: 'Lobster', cursive;
    font-weight: bold;
    font-size: 2.5rem;
    letter-spacing: 1.5px;
    text-indent: 0;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-style: italic;
    max-width: 800px;
    white-space: nowrap;
}

/* ------------------------------------------------------------- Botón Donación ------------------------------------------------------------- */
.btn-donacion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 2px 16px;
    background-color: #9f07ba;
    color: white;
    border: 3px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.btn-donacion:hover {
    background-color: #ffffff;
    color: #9f07ba;
    border-color: #d6b3ff;
}

.btn-donacion .imagen-donar {
    width: 60px;
    height: 50px;
    transition: filter 0.3s ease;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.btn-donacion:hover .imagen-donar {
    filter: none;
}

/*-------------------------------------------------------------------------------------------------*/
/* fin  estilos de inicio nosotros  */

.titulo {
    font-family: 'Roboto', sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: #9f07ba;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.proyectos h5 {
    text-align: center;
    font-weight: bold;
    font-size: 19px;
    margin-bottom: 20px;
    margin-top: 15px;
    font-family: Arial, Helvetica, sans-serif;
    color: #141414;
}

.proyectos p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    text-align: justify;
    margin-bottom: 25px;
}

.proyectos a {
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border: solid 3px rgb(159, 7, 186);
    background-color: rgb(159, 7, 186);
    padding: 8px 40px;
    border-radius: 35px;
    margin-bottom: 15px;
}

.proyectos a:hover {
    background-color: rgb(213, 67, 239);
    border: solid 3px rgb(213, 67, 239);
    color: white;
}

.proyectos .card-img-top {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/*------------------------------------------------- contendor de proyectos pdf  */
.convenios {
    padding-top: 4%;
}

.contenedorProyectos h2 {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

.contenedorProyectos h4 {
    text-align: center;
    font-weight: bold;
}

.buttonProyectos button {
    position: relative;
    padding-right: 30px;
}

.buttonProyectos button i {
    position: absolute;
    right: 10px;
}

/* estilos de convenios */
.row button {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    background-color: rgb(159, 7, 186);
    border: solid 2px rgb(159, 7, 186);
    border-radius: 35px;
}

.row button:hover {
    background-color: rgb(159, 7, 186);
    color: #fff;
}

#btnConvenio,
#btnInformeAnual,
#btnestadosFinancieros,
#btnNotasestadosFinancieros,
#btnPlanOperativo,
#btnPlanEstrategico,
#btnAuditorIndependiente,
#btnNombramientoDirector,
#btnEstatutoFundacion,
#btnLeyEconomiaSocial,
#btnAcuerdioMinisterial,
#btnCodigoEtica,
#btnManuales,
#btnReglamentoInterno,
#btnRuc,
#btnSUIOS {
    padding: 10px 40px;
    padding: 10px;
    margin: 10px auto;
    width: 600px;
    text-align: left;
}

#convenios a,
#informeAnual a,
#estadosFinancieros a,
#NotasEstadosFinancieros a,
#planOperativo a,
#AuditorIndependiente a,
#NombramientoDirector a,
.contenedorProyectos a {
    display: block;
    text-decoration: none;
    color: rgb(159, 7, 186);
    font-weight: bold;
    border: 3px solid rgb(159, 7, 186);
    border-radius: 35px;
    padding: 10px;
    margin: 10px auto;
    text-align: center;
    width: 400px;
}

#convenios a:hover,
#informeAnual a:hover,
#estadosFinancieros a:hover,
#NotasEstadosFinancieros a:hover,
#planOperativo a:hover,
#AuditorIndependiente a:hover,
#NombramientoDirector a:hover,
.contenedorProyectos a:hover {
    color: #fff;
    background-color: rgb(159, 7, 186);
}

/* ----------------------------------------------------------para pantallas pequenias  */
@media (max-width: 767px) {
    #btnConvenio,
    #btnInformeAnual,
    #btnestadosFinancieros,
    #btnNotasestadosFinancieros,
    #btnPlanOperativo,
    #btnAuditorIndependiente,
    #btnNombramientoDirector,
    #btnEstatutoFundacion,
    #btnLeyEconomiaSocial,
    #btnAcuerdioMinisterial,
    #btnCodigoEtica,
    #btnManuales,
    #btnReglamentoInterno,
    #btnRuc,
    #btnSUIOS,
    #btnPlanEstrategico {
        width: 90%;
    }

    .contenedorProyectos a {
        width: 90%;
    }

    .proyectos .card-img-top {
        height: auto;
    }

    .titulo,
    .ConProyectos .nuestrosProyectos {
        font-size: 2rem;
    }

    .inicioProyectos p {
        font-size: 1.5rem;
        white-space: normal;
        padding: 0 10px;
        text-align: center;
    }

    .btn-donacion {
        font-size: 16px;
        padding: 6px 12px;
    }

    .btn-donacion .imagen-donar {
        width: 40px;
        height: 35px;
    }
}
