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

body {
    margin: 0px;
}

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 .fila {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

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

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

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

/*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;

    align-self: flex-end;

    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: 400px;

    justify-content: center;

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

.card-paso h3 {
    margin-bottom: 0px;

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

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

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

/*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 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;
}

#section2 {
    padding-bottom: 2rem;
}

/* 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;
}

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

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

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

@media (max-width: 950px) {
    h1 {
        text-align: center;
    }

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

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

    #benef1 {
        grid-row: 1;
    }

    #benef2 {
        grid-row: 2;
    }

    .beneficios hr {
        display: none;
    }

    .benef-left,
    .benef-right {
        text-align: center;
        transform: translateY(0);
        border-radius: 10px;
    }

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

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

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

    #header-title {
        text-align: center;
    }
}

@media (max-width:600px) {
    .beneficios>div {
        border-radius: 10px;
    }

    #header-title {
        text-align: center;
    }

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

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

    #header-title {
        margin: auto;
    }

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

    main label {
        text-align: center;
    }
}

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

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

@media only screen and (min-width: 0px) and (max-width: 760px) {
    #section1_mobile {
        display: inherit;
    }

    .title h2 {
        width: auto;
    }

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

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

    .requisitos {
        width: 100%;
    }
}

#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%;
    }
}

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