#invertir {
    background: linear-gradient(0deg, rgba(15, 207, 125, 0) 10%, #37D793 90%);
    padding-top: 7rem;
}

#amount-input {
    text-align: center;
}

body {
    margin: 0px;
}

button {
}

section {
    padding-top: 90px;
}

.main h1 {
    line-height: 2.2rem;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

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);
}

main .fila {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.accordion-button {
    color: var(--secondary-color);
}

#accordionExample {
    border: solid 2px var(--main-color);
}

/* main {
    background-image: url(../resources/invertir/banner_invertir.png);
    background-size: cover;
    color: white;
    background-position: left;
    align-content: center;
} */

#header-title {
    position: relative;
    z-index: 2;
    padding-left: 10px;
}

main select {
    background-color: white;
    outline: none;
}

.columna-sim {
    background-color: #E8E8E8;
    color: #28336b;
    border-radius: 30px;
    padding: 10px;
    max-width: 400px !important;
}

.columna-sim h2,
.columna-sim h5 {
    text-align: center;
}

.columna-sim h5 {
    margin-bottom: 10px;
}

.sim {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-direction: column;
}

.sim-param>* {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
}

.sim-param {
    font-size: 1rem;
}

.sim-param>select {
    border-radius: .25em;
}


.sim select {
    /* width: 180px; */
}

#amount-input {
    /* max-width: 160px; */
}

.sim .amount {
    border-radius: 20px;
    display: grid;
    padding: 10px;
}

.amount {
    border-radius: 1em !important;
}

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

.amount-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.amount-box>i {
    color: #0ece7d;
    margin-bottom: 30px;
    transform: translateY(15px);
    cursor: pointer;
}

.amount-box>i:hover {
    color: #28336b;
}

#amount-input {
    border-color: #28336b;
    color: #28336b;
    outline: none;
    /* height: 25px; */
}

#main-prestamos {
    line-height: 1;
}

/*SECTION*/
section h2 {
    color: #28336b;
}

section hr {
    color: #0ece7d;
    max-width: 450px;
}

section .title {
    width: 40%;
    min-width: 300px;
    align-content: center;
    margin: auto;
    width: fit-content;
}

.title h2 {
    text-align: center;
    margin: auto;
    max-width: 550px;
}

.title hr {
    margin-left: auto;
    margin-right: auto;
}


/*SECTION 1*/
.pasos {
    grid-template-columns: repeat(3, 1fr);
    color: #28336b;
    gap: 60px;
    margin: auto;
    justify-content: center;
    display: flow-root;
}

.pasos p {
    color: #28336b;
    text-align: center;
    /* width: 80%; */
    align-self: flex-end;
    /* margin-right: 20px; */
    /* font-size: 0.9rem; */
    margin: 0;
    padding: 0 10px;
    line-height: 1.2rem;
}

#section1_mobile .title h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.card-paso {
    align-items: center;
    background-color: #E8E8E8;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 400px;
    min-width: 200px;
    max-width: 300px;
    /* min-height: 270px; */
    justify-content: center;
    /* box-shadow: 5px 10px 18px #888888; */
    text-align: center;
    padding: 2rem;
    transition: all .3 ease;
    position: relative;
    overflow: hidden;
    height: 400px;
    margin-bottom: 2rem;
}

.card-paso i {
    margin-right: 10px;
    margin-top: 10px;
    /* min-height: 90px; */
}

.card-paso h3 {
    /* margin-top: 70px; */
    margin-bottom: 0px;
    /* margin-left: 20px; */
    font-weight: 500;
    font-size: 1.3rem;
}

.card-paso .fila {
    transition: all .7s ease;
    transform: translateY(60px);
}

.card-paso p {
    font-size: .9rem;
    transition: all .6s ease;
    transform: translateY(150%);
}

.card-paso:hover > * {
    transform: translateY(0);
}

.card-paso>.fila {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#section1>div>div.fila.pasos>div:nth-child(1)>p {
    margin-top: 45px;
}

#section1>div>div.fila.pasos>div:nth-child(2)>p {
    margin-top: 20px;
}

#section1>div>div.fila.pasos>div:nth-child(3)>p {
    margin-top: 0;
}

#section1>div>div.fila.pasos>div:nth-child(3)>ul {
    color: #28336b;
}

#section1 {
    background-color: #f8f8f9;
    padding-bottom: 90px;
}

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

.card-paso>.imagen {
    width: 100%;
}

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

.beneficiosTitulo{
    margin-bottom: -2.5rem !important;
}

/*SECTION 2*/
.beneficios-section h1{
    font-size: 2rem;
    font-weight: 700;
    color: #28336b;
    margin-bottom: 2rem;
}

.beneficios {
    margin: 2rem auto;
    padding-bottom: 3rem;
    color: #28336b;
    gap: 20px;
}

.beneficios .benef {
    text-align: left;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benef i {
    color: #0FCF7D;
    font-size: 1.5rem;
    position: absolute;
    left: -25px;
}

.beneficios .benef-right,
.beneficios .benef-left {
    min-width: 300px;
    padding: 10px 15px;
}

.beneficios>div {
    width: 350px;
    margin: auto;
}

.beneficios h3 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 1.4rem;
}

.beneficios p {
    margin: 0;
    line-height: 1.2rem;
}

.benef-left {
    /* padding-left: max(30%, 100px); */
}

.benef-left p {
    margin-right: auto;
}

.benef-left hr {
    margin-left: 0px;
}

.benef-right {
    text-align: right;
    padding-right: max(20%, 100px);
}

.benef-right p {
    margin-left: auto;
}

.benef-right hr {
    margin-right: 0px;
}

.benef-left.painted {
    background-color: #e7faf2;
    border-radius: 0px 10px 10px 0px;
}

.benef-right.painted {
    background-color: #e7faf2;
    border-radius: 10px 0px 0px 10px;
}

#section2 {
    padding-bottom: 2rem;
}

#section4 {
    background-color: var(--background-contrast);
    padding-bottom: 90px;
}

/* ACCEDE SECTION */
#accede {
    background-color: #0FCF7D;
    padding: 2rem 1rem;
    text-align: center;
    color: #28336b;
}

#accede h1 {
    font-size: 2.2rem;
    line-height: 2.5rem;
    font-weight: 700;
}
#accede p{
    line-height: 1.2rem;
    margin: 1rem auto 2rem;
}

.btn-accede {
    background-color: #28326A;
    color: white;
    padding: .5rem 3rem;
    font-weight: 700;
    border-color: #28326A;
}

.btn-accede:hover, .btn-accede:active, .btn-accede:focus {
    background-color: transparent;
    border-color: #28326A;
    color: white;
}

/*SECTION 3*/
#section3 {
    background-color: transparent;
    padding-bottom: 120px;
}

.requisitos-section {
    color: #28336b;

}

.requisitos-section h1 {
    font-size: 2rem;
    line-height: 2.2rem;
    font-weight: 700;
}

#section3 .requisitos {
    background-color: #E8E8E8;
    margin: 2rem auto 0;
    border-radius: 40px;
    width: 90%;
    max-width: 1200px;
    padding: 2rem 1.5rem;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

#section3 .requisitos p{
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.25rem;
}

.requisitos h3 {
    color: #0ece7d;
    font-size: 1.5rem;
}

.requisitos .columna {
    margin: 20px 40px;
    align-self: center;
}

.requisitos ul {
    padding-left: 0;
}

.requisitos li {
    list-style-type: none;
    color: #28336b;
    margin: 20px 0;
    display: flex;
    justify-content: left;
}

.checklist-icon {
    margin: auto 0;
    color: #0ece7d;
}

.checklist-text {
    margin: auto;
    margin-left: 20px;
}

.second {
    margin-left: 20px;
}

#header-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 90%;
    align-content: center;
    justify-content: center;
    max-width: 400px;
}

#benef1 {
    margin-top: 10px;
}

#step-by-step {
    max-height: 100%;
    max-width: 620px;
    overflow: hidden;
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 28px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 2rem !important;
}

@media (max-width:1310px) {
    #header-title {
        padding-left: 30px;
    }

    main .fila {
        justify-content: space-around;
    }
}

@media (max-width: 950px) {

    #step-by-step {
        width: 90%;
        margin: auto;
        margin-bottom: 20px;
    }

    h1 {
        text-align: center;
    }

    main .fila {
        display: block;
        max-height: 300vh;
    }

    main .custom-container {
        display: flow-root;
        max-height: 400vh;
    }

    .columna-sim {
        margin-left: 10px;
        ;
        margin-right: 10px;
        margin-bottom: 20px;
    }

    .beneficios {
        /* min-width: 0px;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        color: #28336b; */
    }

    .beneficios>div {
        /* width: 550px; */
        
        border-radius: 10px;
    }

    #benef1 {
        grid-row: 1;
    }

    #benef2 {
        grid-row: 2;
    }

    #benef4 {
        /* grid-row: 3; */
    }

    .beneficios hr {
        display: none;
    }

    .benef-left,
    .benef-right {
        /* padding-left: 0;
        padding-right: 0; */
        /* width: 100%; */
        text-align: center;
        transform: translateY(0);
        border-radius: 10px;
    }

    .painted {
        padding-top: 20px;
        padding-bottom: 20px;

    }

    .benef-right.painted,
    .benef-left.painted {
        border-radius: 10px;
    }

    /* .pasos {
        display: flow-root;
    } */

    .card-paso {
        margin-top: 20px;
        margin-right: auto;
        margin-left: auto;
        min-height: 0;
    }

    .beneficios p {
    }

    #header-title {
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }

    .painted,
    .requisitos,
    .card-paso {
    }

    .benef-left *,
    .benef-right * {
        font-size: 1rem;
    }

    .benef-left h3,
    .benef-right h3 {
    }

    #header-title {
        text-align: center;

    }

    .second {
        margin-left: 0;

    }

    .navigation {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width:600px) {

    .benef-left *,
    .benef-right * {
    }

    .benef-left h3,
    .benef-right h3 {
    }

    #step-by-step {
        min-width: 0px;
        padding-top: 20px;
        padding-bottom: 0px;
        align-content: center;
    }

    #regform {
        margin-top: auto;
        margin-bottom: auto;
    }

    .sim .amount button {
        border-radius: .5em;
        width: 55%;
        height: 50px;
        font-size: 18px;
        font-weight: 600;
    }

    .amount-box {
        margin-bottom: 16px !important;
    }

    .beneficios>div {
        border-radius: 10px;
    }

    .benef-right,
    .benef-left {
        
    }

    #header-title {
        text-align: center;

    }

    main {
        min-height: auto;
        height: auto;
    }

    main .custom-container {
        display: flow-root;
        align-content: space-between;
        min-height: fit-content;
    }

    main .fila {
        display: flow-root;
        justify-content: center;
        align-items: center;
        gap: 50px;
        grid-row: 2;
    }

    #header-title {
        margin: auto;
    }

    .columna-sim {

        z-index: 2;
        position: relative;
        margin-right: 0;
        margin-bottom: 50px;
        margin-left: 0px;
        display: flow-root;
    }

    #section3 .requisitos {
        display: flow-root;
    }

    .sim-param {
        margin: 0 auto;
        margin-top: 5px;
    }

    .sim select {
        width: 230px;
        height: 2.3em;
    }

    .sim .amount {
        border: none;
    }

    #seciton1 {
        margin-top: 500px !important;
    }

    main label {
        text-align: center;
    }

    .checklist-text {
        font-size: 0.9rem;
    }

    .checklist-icon {
        font-size: 1rem;
        ;
    }

}

.columna-sim {
    z-index: 1;
}

.beneficios .separator {
    border-color: #0ece7d !important;
    width: 250px !important;
    border: none !important;
    height: 2px !important;
    background-color: #0ece7d !important;
}

.beneficios .benef-right .separator {
    margin-left: auto;
    margin-right: 0%;
    border-color: #0ece7d !important;
    width: 250px !important;
    border: none !important;
    height: 2px !important;
    background-color: #0ece7d !important;
}

#step-by-step {
    max-height: 100%;
    overflow: hidden;
}

form input:focus {
    border-color: #0ece7d;
    border-width: 1px;
    ;
    box-shadow: none;
}

main h3 {
    font-weight: 400;
}

main hr {
    color: var(--secondary-color);
    border-width: 3px;
}

#section1_mobile {
    padding-top: 6rem;
    margin-top: 5rem;
}

.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) {
    #section1_mobile {
        display: inherit;
    }
            
    .title h2 {
        width: auto;
    }

    #section1 {
        display: none;
    }

    .card-paso {
    }

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

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

    .requisitos {
        width: 100%;
    }

    #section4 {
        padding-top: 0;
    }
}

#section3 .requisitos p i {
    display: none;
}

@media (min-width: 768px) {
    #header-title {
        max-width: 100%;
        text-align: left;
    }
    
    #invertir h1 {
        text-align: center;
        line-height: 2.2rem;
        font-size: 2.2rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    #invertir {
        background: url('./../resources/invertir/banner.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: right;
        padding-top: 6rem;
        padding-bottom: 6rem;
        margin-bottom: 0;
    }

    #invertir p {
        font-weight: 500;
        font-size: 1.1rem;
        text-align: center;
        max-width: 90%;
        margin: 2rem auto;
    }

    #section1_mobile {
        padding-top: 2rem;
        margin-top: 2rem;
    }

    section .title {
        width: 100%;
    }

    #section1_mobile .title h2 {
        font-size: 2.5rem;
    }

    .pasos {
        display: flex;
        gap: 20px;
    }

    .card-paso {
        gap: 8px;
        padding: 1rem;
        height: 350px;
    }

    .card-paso lord-icon {
        width: 120px !important;
        height: 120px !important;
    }
    .beneficios-section {
        padding-top: 2rem;
    }

    .beneficios-section h1 {
        font-size: 2.5rem;
    }

    .beneficios-section .row {
        align-items: center;
    }

    .beneficios {
        flex-wrap: wrap;
        flex-direction: row !important;
        gap: 0;
        margin: 0 !important;
        padding-bottom: 0;
    }

    .beneficios .benef {
        width: 50% !important;
        min-width: 50%;
    }
    
    #benef1{
        margin-top: 0;
    }

    .beneficios>div {
        margin: 0;
    }

    .benef i {
        font-size: 1rem;
        left: -5px;
    }

    .beneficios-section h1 {
        text-align: left !important;
    }

    .beneficios-section h1 .span {
        background-color: #37D793;
        padding: 0 15px;
    }

    #accede h1 {
        font-size: 2rem;
        line-height: 2rem;
    }

    #accede p {
        margin: .5rem auto 1rem;
    }

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

    .requisitos-section .row {
        align-items: center;
    }

    .requisitos-section {
        padding: 2rem !important;
        margin-bottom: 2rem;
        text-align: left;
    }

    #section3 .requisitos {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #section3 .requisitos p {
        text-align: left;
        position: relative;
        padding-left: 1.5rem;
    }

    .requisitos-section h1 {
        text-align: left;
        padding-left: 1rem;
        font-size: 2.5rem;
        line-height: 2.8rem;
    }

    #section3 .requisitos p i {
        display: block;
        position: absolute;
        left: 0;
        color: #0ece7d;
    }

    .title h2 {
        max-width: 100%;
    }

    #step-by-step{
        margin: 0 auto;
    }
}

@media (min-width: 951px) {
    .beneficios h3 {
        position: relative;
    }

    .beneficios h3 i {
        left: -20px;
    }
}

@media (min-width: 1200px) {
    .beneficios h3 i {
        left: -30px;
    }
}

@media (min-width: 1400px) {
    .card-paso h3{
        font-size: 1rem;
    }
    .card-paso p{
        font-size: .7rem;
        line-height: .8rem;
    }
}