
body {
    margin: 0px;
}
button {
}
section {
    padding-top: 90px;
}
.main h1 {
    text-align: center;
}
h2 {
    font-weight: bold;

    margin: 10px 0;
}
/*HEADER*/
/*MAIN*/
main .custom-container {
    
    display: flex;
    align-content: center;
    justify-content: center;
    background-color: rgba(11, 162, 99, 0.5);
    position: relative;
}
main .fila {
    align-items: center;
    width: 85%;
    position: relative;
}
#section_banner_mobile_index {
    padding-top: 7rem;
    text-align: center;
}

#section_banner_mobile_index p {
    width: 80%;
    margin: 0 auto 1rem;
}
#banner-title {
    position: relative;
    z-index: 2;
    padding-left: 10px;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 90%;
    align-content: center;
    justify-content: center;
    max-width: 60%;
}
#main-prestamos {
    line-height: 1;
}
/*SECTION*/
section h2 {
    color: #28336b;
}

section hr {
    color: #0ece7d;
    max-width: 550px;
}
section .title {
    width: 60%;
    min-width: 300px;
    align-content: center;
    margin: auto;
    width: max-content;
}
.title h2 {
    text-align: center;
    margin: auto;
    max-width: 700px;
    font-size: 2.4rem;
}
.title hr {
    margin-left: auto;
    margin-right: auto;
}

.logo-section img{
    height: 90px;
    margin: 0 auto;
}

.texto {
    color: #28336b;
}

.texto p{
    line-height: 1.4rem;
}


/* NOSOTROS */
#cards-nosotros {
    color: #28336b;
    display: grid;
    grid-gap: 25px;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
    margin-top: 4rem;
}

#cards-nosotros h3{
    font-weight: 700;
}

#cards-nosotros .item{
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
}

#cards-nosotros .titulo {
    padding: 1rem;
    background-color: #0FCF7D;
    width: 100%;
    height: 100%;
}

#cards-nosotros img {
    width: 100%;
}

/*SECTION 1*/
.pasos {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    color: var(--main-color) !important;
    gap: 60px;
    margin: auto;
    justify-content: center;
}
.pasos p {
    color: #28336b;
    text-align: center;
    /* width: 100%; */
    /* padding: 0 15px; */
    align-self: center;
   /*  font-size: 0.9rem;
    text-align: center; */
    margin: 10px 10px 35px 10px;
    padding: 0 10px;
}
.card-paso {
    align-items: center;
    background-color: #F2F2F2;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 300px;
    min-width: 210px;
    max-width: 320px;
    min-height: 270px;
    /* justify-content: space-between; */
    box-shadow: 5px 10px 18px #888888;
}
.card-paso img {
    margin-right: 10px;
    margin-top: 10px;
    /* max-height: 60px; */
}
.card-paso h3 {
    /* margin-top: 50px; */
    margin-bottom: 0px;
    /* margin-left: 20px; */
}
.card-paso > .fila {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#section1 {
    /* background-color: #f8f8f9; */
    padding-bottom: 30px;
}

#section1 .custom-container {
    width: 95%;
    margin: auto;
}

.card-paso>.imagen {
    width: 100%;
    background-color: #4fd79e78;
    border-radius: 10px 10px 175px 175px;
}

.imagen-card {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

/* VISION VISION */
#vision_mision {
    color: #28336b;
    margin: 5rem 0 2rem;
}

#vision_mision h1 {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
}

#vision_mision p {
    line-height: 1.2rem;
}

#vision_mision .v_item {
    padding: 1rem;
}

#vision_mision .v_item .titulo {
    position: relative;
}

#vision_mision #mision{
    background-image: url(../resources/nosotros/mision-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 2rem;
    padding-bottom: 3rem;
    padding-left: 3rem;
}

#vision_mision .v_item .titulo h1::before {
    position: absolute;
    top: -10px;
    left: -10px;
    color: transparent;
    -webkit-text-stroke: 1px #28326A;
    -moz-text-stroke: 1px #28326A;
    -ms-text-stroke: 1px #28326A;
    -o-text-stroke: 1px #28326A;
    text-stroke: 1px #28326A;
}

#vision_mision #mision h1::before{
    content: "Misión";
}

#vision_mision #vision h1::before{
    content: "Visión";
}

#vision_mision #vision{
    background-image: url(../resources/nosotros/vision-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 2rem;
    padding-bottom: 3rem;
    padding-left: 3rem;
}

#iconos {
    background-color: #0FCF7D;
    text-align: center;
    padding: 2.5rem;
    color: #E8E8E8;
}

#iconos ._item{
    max-width: 200px;
    margin: 0 auto;
}

#iconos h3 {
    font-weight: 700;
    margin-top: 1rem;
}

#iconos img {
    height: 150px;
}

/*SECTION 2*/

#section2 {
    padding-bottom: 45px;
    padding-top: 3rem;
}

/* EFECTOS PARA MIEMBROS
*/
.team {
    gap: 30px;
    row-gap: 20px;
    margin-top: 50px;
}

.member {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    max-width: 300px;
    transition: all 0.5s ease-in-out;
    margin: 0 auto;
    
}

.team h3 {
    color: #28336b;
    font-weight: 700;
    margin: 1.5rem 0 3rem;
}

.member img {
    width: 100%;
}

.member:hover::before {
    max-height: 20%;
    opacity: 0.5;
    transition: all 0.5s ease-in-out;
}

.link {
    max-height: 0;
    position: absolute;
    bottom: 0px;
    left: calc(50% - 20px);
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.link img {
    max-width: 40px;
    max-height: 40px;
}

.member:hover .link {
    position: absolute;
    bottom: calc(15% + 10px);
    opacity: 1;
    transition: all 0.5s ease-in-out;
}
.member .link:hover{
    transform: scale(1.08);
    transition: 0.3s;
}

.index-card {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 50px;
    margin-left: auto;
    margin-right: auto;
    max-width: 950px;;
}

#banner-front {
    max-height: 40vh;
    min-height: 480px;
    align-self: flex-end;
    margin-left: auto;
    position: absolute;
    right: clamp(10px, 12%, 700px);
    bottom: 0;
}

/*SECTION 3*/
#section3 {
    background-color: #f8f8f9;
    padding-bottom: 120px;
}
@media (max-width:1310px) {
    #banner-title {
        max-width: 560px;
        padding-left: 30px;
    }
    main .fila {
        justify-content: space-around;
    }
}

@media (max-width: 950px) {
    section .title {
        width: min-content;
    }
    #step-by-step {
        width: 80%;
        margin: auto;
        margin-bottom: 20px;
        min-width: 560px;
    }
    h1 {
        text-align: center;
    }
    main .fila {
        display: block;
        max-height: 300vh;
        margin-top: 50px;
    }
    main .custom-container {
        max-height: 400vh;
    }
    .painted {
        padding-top: 20px;
        padding-bottom: 20px;
        
    }

    .pasos {
        display: flow-root;
    }
    .card-paso {
        margin-top: 20px;
        max-width: 500px;
        margin-right: auto;
        margin-left: auto;
        min-height: 0;
    }
    .beneficios p {
        margin-left: 20px;
        margin-right: 20px;
    }
    #banner-title {
        margin-right: auto;
        padding: 0;
        max-width: 350px;
        justify-content: flex-start;
        
    }
    main h1 {
        font-size: 2.5rem;
        text-align: left;
    }
    .nosotros-separator {
        max-width: 350px;
    }
    #banner-title h2 {
        text-align: left;
    }
    .painted, .requisitos, .card-paso {
        border: solid #0ece7d;
        border-width: 1px;
        -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
    }
    #banner-title {
        text-align: center;

    }
    .navigation {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    #banner-front {
        /* max-width: 50vw; */
        min-width: 270px;
    }
    .index-card {
        grid-template-columns: 1fr;
    }
    .index-card {
        max-width: 600px;
        gap: 10px;
    }
    .one-card {
        min-height: 40px;
    }
    .link img {
        max-width: 30px;
        max-height: 30px;
    }
}

@media (max-width:600px) {
    main .fila {
        margin: auto;
        margin-top: 20px;
    }
    main {
        overflow: hidden;
    }
    #banner-front {
        right: -10px;
    }
    .title h2 {
        max-width: 350px;
    }
    #banner-title {
        text-align: center;
    }
    main {
        min-height: auto;
        height: auto;
    }
    main .custom-container {
        display: flow-root;
        align-content: space-between;
    }
    main .fila {
        display: flow-root;
        justify-content: center;
        align-items: center;
        gap: 50px;
        grid-row: 2;
    }
    #banner-title {
        margin: auto;

    }
    .columna-sim {
        
        z-index: 2;
        position: relative;
        margin-right: 0;
        margin-bottom: 50px;
        margin-left: 0px;
        display: flow-root;
    }
    #banner-front {
        max-height: 35vh;
    }
    .index-card {
        max-width: 400px;
        gap: 10px;
        transform: translateX(8px);
    }
    .one-card {
        min-height: 40px;
    }

}


.nosotros-separator {
    color: #28336b;
    border-width: 3px;
    margin-top: 0;
}

.nosotros-text {
    text-align: justify;
    color: var(--secondary-color);
    max-width: 900px;
    margin: auto;
    margin-bottom: 50px;
}

@media only screen and (max-width: 600px) and (min-width: 0px) {
    #banner-front {
        min-height: 270px;
        min-width: auto;
    }
}

.carousel-control-prev, .carousel-control-next, .icon-control-prev:hover, .icon-control-prev:active, .icon-control:active, .icon-control:hover {
    color: #0ece7d;
}

.custom-navigator {
    background-color: #0ece7d !important;
}

.icon-control:active, .icon-control:hover {
    color: #0ece7d !important;
}

@media only screen and (min-width: 0px) and (max-width: 760px) {
    .nosotros-text {
        text-align: justify;
    }
            
    .title h2 {
        width: auto;
    }

    .card-paso {
        box-shadow: -1px 10px 3px rgb(0 0 0 / 10%);
    }

    .paso-texto {
        padding: 0 20px;
        text-align: center;
    }

    .carousel-inner {
        height: 530px !important;
    }

    .requisitos {
        width: 100%;
    }

    .card-paso {
        height: 500px;
    }
}

#section_banner_mobile_index img {
    max-width: 300px;
}

@media (min-width: 768px) {
    #section_banner_mobile_index {
        background: transparent;
        padding-top: 1rem;
        text-align: left;
    }

    #section_banner_mobile_index h1 {
        text-align: left;
        line-height: 3.5rem;
        font-size: 3rem;
    }

    #section_banner_mobile_index img {
        max-width: 100%;
    }

    #section_banner_mobile_index .row {
        align-items: center;
    }

    #section_banner_mobile_index p {
        margin: 0 auto 0 0;
        text-align: left !important;
        font-size: 1.1rem;
    }

    .section1_nosotros {
        padding-top: 2rem !important;
        margin-top: 1rem;
    }

    .section1_nosotros .row {
        align-items: center;
    }

    .texto p {
        line-height: 1rem;
        font-size: .8rem;
    }

    #cards-nosotros {
        grid-gap: 15px;
        margin-top: 0;
    }

    #cards-nosotros h3 {
        font-size: 1.5rem;
    }

    .logo-section img {
        height: 70px;
    }

    .section1_nosotros .texto {
        margin-top: 1.5rem !important;
    }

    .section1_nosotros .logo-section {
        text-align: left !important;
    }

    #vision_mision {
        display: flex;
        flex-wrap: wrap;
        grid-template-columns: 1fr 1fr;
    }

    #vision_mision .v_item {
        width: 50%;
    }

    #vision_mision .v_item:nth-child(4) {
        order: 3;
    }

    #vision_mision .v_item:nth-child(3) {
        order: 4;
    }

    #vision_mision p {
        text-align: left !important;
        font-size: .8rem;
        line-height: 1rem;
    }

    #vision_mision #mision, #vision_mision #vision {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
        padding-left: 2.5rem;
    }

    #iconos img {
        height: 80px;
    }

    #iconos h3 {
        font-size: 1.1rem;
    }

    #iconos ._item {
        width: 25%;
    }

    .section2_nosotros {
        padding-top: 1rem !important;
    }

    .team {
        gap: 15px;
    }

    .team h3 {
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {
    .section1_nosotros .texto {
        padding-left: 1rem;
    }

    .section1_nosotros .logo-section {
        padding-left: 1rem;
    }
}