
body {
    margin: 0px;
}
button {
}
section {
    padding-top: 90px;
}
main h1 {
    font-size: 4rem;
}
h2 {
    font-weight: bold;

    margin: 10px 0;
}
main h2 {
    font-size: 1.3rem;
}
/*HEADER*/
/*MAIN*/
main .custom-container {
    display: flex;
    align-content: center;
    justify-content: center;
    min-height: 450px;
    position: relative;
}
main .fila {
    align-items: center;
    width: 85%;
    position: relative;
}
main {
    /* background-image: url(../resources/conoce/recomienda.png);
    background-size: cover;
    color: white;
    background-position: center;
    align-content: center; */
}
#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.8rem;
}
.title hr {
    margin-left: auto;
    margin-right: auto;
}

/* MAIN */
#recomienda {
    background: linear-gradient(0deg, rgba(15, 207, 125, 0) 10%, #37D793 90%);
    padding-top: 7rem;
    padding-bottom: 5rem;
    margin-bottom: 2rem;
}

#recomienda #header-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

#recomienda h3 {
    font-weight: 500;
    font-size: 1.1rem;
}

/* FORM - CONTROL */
#recomienda {
    color: #28336b;
}

#recomienda h1 {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
}

#form_recomendados {
    padding: 2rem;
    background: #F2F2F2;
    box-shadow: -6px 6px 20px 5px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    margin-top: 2rem;
}

#form_recomendados input {
    background: #E8E8E8;
    border: 2px solid rgba(1, 42, 103, 0.5);
    border-radius: 6px;
    margin-bottom: 1rem;
}

#form_recomendados input::placeholder {
    opacity: .5;
}

#form_recomendados .btn {
    background: #0FCF7D;
    border-radius: 6px;
    color: white;
    font-weight: 700;
    margin: 1rem auto;
}

/*SECTION 2*/

#section2 {
    padding-bottom: 45px;
}

form button {
    background-color: #0ece7d;
    color: white;
    border: #0ece7d;
    border-radius: 20px;
    padding: 5px;
    width: 160px;
    margin: auto;
}

/*SECTION 3*/
#section3 {
    background-color: #f8f8f9;
    padding-bottom: 120px;
}
@media (max-width:1310px) {
    #banner-title {
        /* max-width: 560px; */
    }
    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 .custom-container {
        max-height: 400vh;
    }
    .painted {
        padding-top: 20px;
        padding-bottom: 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;
    }
}

@media (max-width:600px) {
    main .fila {
        margin: auto;
        margin-top: 20px;
    }
    main {
        overflow: hidden;
    }
    #banner-front {
        bottom: -30px;
        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;
    }
    .one-card {
        min-height: 40px;
    }

}

.nosotros-separator {
    color: var(--secondary-color);
    border-width: 3px;
    margin-top: 0;
}


form button {
    margin-top: 20px;
}

form button {
}


@media (min-width: 576px) {
    main .fila {
        margin-left: auto;
        margin-right: auto;
    }

    #banner-title {
        margin: 0 auto;
        max-width: 70%;
    }

    #recomienda h1 {
        /* font-size: 2.5rem; */
    }
}

@media (min-width: 768px) {
    main .fila {
        width: 100%;
    }

    #banner-title {
        max-width: 100%;
        text-align: left;
    }

    #recomienda h1 {
        text-align: left;
        line-height: 2.5rem;
        font-size: 2.5rem;
        max-width: 400px;
    }

    #recomienda {
        background: url('./../resources/recomienda/banner-recomienda-desktop.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: right;
        padding-top: 3rem;
        padding-bottom: 3rem;
        margin-bottom: -3px;
    }

    .form-control {
        font-size: .9rem;
    }

    #form_recomendados{
        padding: 1.5rem 1.5rem .5rem;
        max-width: 300px;
        margin: 2.5rem auto 0;
    }

    #form_recomendados .btn {
        margin: .5rem auto;
    }

    #form_recomendados input {
        margin-bottom: .8rem;
    }
    #banner-title {
        padding-left: 0;
    }
}

@media (min-width: 992px) {
    #recomienda {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: right;
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    #recomienda h1 {
        max-width: 400px;
    }

    #recomienda h3 {
        max-width: 400px;
    }

    #form_recomendados{
        max-width: 350px;
    }
}

@media (min-width: 1200px) {
    #recomienda h1 {
        max-width: 550px;
    }

    #recomienda h3 {
        max-width: 500px;
    }

    #form_recomendados{
        max-width: 60%;
    }
}