main {
    background: url(../img/banner-invertir.png);
    background-repeat: no-repeat;
    background-position: center;
    background-position: initial 100%;
    background-size: cover;
}

.section2-invertir {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

main ul {
    transform: translateX(50px);
}

main .fila {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

main span {
    color: var(--secondary-color);
    font-weight: 700;
    font-family: inherit;
}

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

main .fila {
    min-height: 500px !important;
    width: 100%;
}

#regForm {
    padding: 2rem 4rem !important;
    margin: 1rem 0 3rem !important;
}

#regForm .tab {
    padding-top: 3rem;
}

.title-section-1 > h2{
    margin: 20px 10%;
}

#section1 {
    padding-bottom: 20px;
    text-align: center;
    color: #28336b;
    margin: 0;
}

#section1 h2 {
    margin: 1rem 0 4rem;
}

#prestamo .title-section, .section1-invertir .title-section {
    font-size: 3rem;
    line-height: 3rem;
}

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

.card-paso {
    align-items: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 80%;
    min-width: 200px;
    max-width: 400px;
    box-shadow: inherit;
    padding: 1rem;
    background-color: white;
}

.card-paso i {
    margin-right: 10px;
    margin-top: 10px;
}

.card-paso h3 {
    /* margin-top: 20px; */
    margin-bottom: 0px;
    /* margin-left: 20px; */
}

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

.card-paso>.fila h3 {
    font-weight: 700;
}

.card-paso-v2 > .imagen-v2 {
    background-color: transparent;
    background-image: none;
    height: 130px;
}

.paso-titulo-v2 {
    padding: 20px 0 0 0;
}

.paso-texto-v2 {
    font-size: 13.5px;
    text-align: center;
}

.container-invertir-accordion {
    max-width: 1080px !important;
}

#accordionInvertir *{
    color: #28336b !important;
}

#accordionInvertir button{
    font-weight: 700;
}

.list-invertir {
    list-style: circle;
}

.list-invertir > li{
    padding: 5px 0;
}

#accordionInvertir .accordion-button, #accordionInvertir .accordion-button:not(.collapsed) {
    background-color: #d9d9d9 !important;
    border-radius: 10px !important;
    box-shadow: initial !important;
}

#accordionInvertir .accordion-body::before {
    content: "";
    display: block;
    margin: -1rem 0 1rem 0;
    height: 3px;
    width: 100%;
    background-color: #f44902;
}

#accordionInvertir .accordion-body {
    text-align: justify;
}

#accordionInvertir .accordion-button{
    font-weight: 700;
    font-size: 1.5rem;
}

#accordionInvertir .accordion-button:focus {
    border-color: #d9d9d9;
    box-shadow: initial;
}

#accordionInvertir .accordion-item{
    margin-bottom: 1rem;
    background-color: #d9d9d9;
    border-radius: 10px;
}

#accordionInvertir .accordion-button::after {
    background-image: url("../img/down.svg");
    background-color: #ffffff;
    border-radius: 50%;
    transform: rotate(90deg);
    padding: 15px;
    background-position: 5px 5px;
}

#accordionInvertir .accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
}

.section3-info {
    padding-bottom: 2.5rem !important;
    padding-top: 1rem !important;
    margin-bottom: 1rem;
}

.info-financiamiento {
    max-width: 800px;
    padding: 2rem 5rem 2rem 8rem;
    background-color: #d9d9d9;
    position: relative;
    margin-top: 5rem;
    border-radius: 35px;
}

.info-financiamiento span {
    position: absolute;
    top: -20px;
    left: -50px;
    width: 100px;
    height: 100px;
    padding: 2rem;
    font-size: 4rem;
    font-weight: 700;
    background-color: #f44902;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #FF8D59 0%, #FE5002 100%);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

.info-financiamiento p{
    font-weight: 700;
    margin-bottom: 0;
}

@media only screen and (min-width: 0px) and (max-width: 760px) {
    .card-paso-v2 {
        background-color: #dbdbdb;
    }

    .paso-titulo-v2, .paso-texto-v2 {
        color: var(--secondary-color);
    }
    
}

@media (max-width: 767.98px) {
    #regForm {
        padding: 0 !important;
        margin: 1rem 0 !important;
    }

    .tab {
        padding: .4rem 1rem !important;
    }

    .tab h4 {
        font-size: 2rem;
        line-height: 2rem;
    }

    .tab p {
        font-size: 1rem;
    }

    #prestamo .title-section, .section1-invertir .title-section {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

    .card-paso {
        gap: 40px;
        width: 100%;
        min-width: 200px;
        max-width: 500px;
        padding: .5rem;
    }

    #accordionInvertir .accordion-button {
        font-size: 1.2rem;
    }

    .container-invertir-accordion {
        max-width: 540px !important;
    }

    #section2 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .info-financiamiento {
        max-width: 100%;
        padding: 2rem 0;
        margin-top: 3.5rem;
        background: transparent;
        display: flex;
        align-items: center;
        margin-top: 1rem;
    }

    .info-financiamiento span {
        width: 50px;
        height: 50px;
        padding: 1rem;
        font-size: 2rem;
        position: relative;
        top: 0;
        left: 0;
    }

    .info-financiamiento p {
        padding-left: 2rem;
    }

    #section1 {
        margin-top: 1rem !important;
    }

    #section1 h2 {
        margin: 1rem 0 2rem;
    }

    main {
        background: transparent;
    }

    .card-paso-v2 {
        background-color: #ffffff;
        margin-bottom: 3rem;
        padding: 1.5rem;
    }

    .title-section3-info{
        text-align: center;
    }

    .section3-info p {
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) {

    #accordionInvertir {
        padding-top: 2rem;
    }

    .section1-invertir .card-paso {
        padding-top: 2rem;
        transition: all .5s ease;
        position: relative;
        overflow: hidden;
        align-items: center;
        border-radius: 20px;
        box-shadow: 5px 10px 18px #888888;

    }

    /* .section1-invertir .card-paso:hover{
        padding-top: 0;
        height: auto;
    } */

    /* .section1-invertir .card-paso p{
        transform: translateY(250px);
        transition: all .5s ease;
    } */

    /* .section1-invertir .card-paso:hover p{
        transform: translateY(0);
    } */

    .section3-info .carousel-control-next{
        width: 100%;
        opacity: 0;
    }

    .section1-invertir .card-paso h3{
        font-size: 1.4rem;
    }

    .section1-invertir .card-paso p {
        font-size: .9rem;
    }

    .title-section3-info{
        text-align: center !important;
    }

    .title-section3-info h2 {
        overflow: hidden;
    }
    
    .title-section3-info span{
        font-size: 2rem !important;
        line-height: 2.8rem;
        background-color: rgb(254, 80, 2, .4);
        padding-left: 10px;
        padding-right: 10px;
    }

    #content-caracteristicas {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0 .5rem;
    }

    .info-financiamiento {
        max-width: 225px;
        width: 33.33333%;
        padding: 1rem;
        background-color: #ffffff;
        position: relative;
        margin-top: 0;
    }
    
    .info-financiamiento span {
        position: absolute;
        top: 10px;
        left: -15px;
        width: initial;
        height: initial;
        padding: .5rem;
        font-size: 1rem;
        font-weight: 700;
        background-color: initial;
        border-radius: initial;
        background: none;
        box-shadow: none;
        color: #f44902;
    }
    
    .info-financiamiento p{
        font-weight: 400;
        font-size: .85rem;
        line-height: 1rem;
    }
}

@media (min-width: 992px) {
    .title-section3-info h2 {
        line-height: 1rem;
    }

    .info-financiamiento {
        max-width: 300px;
        padding: 1.5rem;
    }
    
    .info-financiamiento span {
        top: 15px;
        left: -5px;
    }
}

@media (min-width: 1200px) {
    .title-section3-info h2 {
        line-height: 1.9rem;
    }

    .info-financiamiento {
        max-width: 350px;
        padding: 1.5rem;
    }
    
    .info-financiamiento span {
        top: 15px;
        left: -5px;
    }

    .info-financiamiento p{
        font-size: 1rem;
        line-height: 1.2rem;
    }

    #accordionInvertir {
        margin-top: 4rem;
    }
}

@media (min-width: 1400px) {
    .title-section3-info h2 {
        line-height: 1rem;
    }
}

.title-section3-info span {
    font-weight: 700;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #prestamo .title-section, .section1-invertir .title-section {
        font-size: 2rem;
        line-height: 2rem;
    }

    .info {
        top: 20px !important;
        right: 20px !important;
    }

    #regForm {
        padding: 2rem 4rem !important;
        margin: 1rem 0 3rem !important;
    }
    
    #regForm .tab {
        padding-top: 2rem !important;
    }

    .card-paso {
        gap: 40px;
        width: 100%;
        min-width: 200px;
        max-width: 500px;
        padding: .5rem;
    }

    #accordionInvertir .accordion-button {
        font-size: 1.2rem;
    }

    .container-invertir-accordion {
        max-width: 720px !important;
    }

    #section2 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    #section1 {
        margin-top: 1rem !important;
    }

    #section1 h2 {
        margin: 1rem 0 2rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    #prestamo .title-section, .section1-invertir .title-section {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

    #regForm {
        padding: 2rem 4rem !important;
        margin: 1rem 0 3rem !important;
    }
    
    #regForm .tab {
        padding-top: 2rem !important;
    }

    .info {
        top: 20px !important;
        right: 20px !important;
    }

    .card-paso {
        gap: 25px;
        width: 90%;
        min-width: 200px;
        max-width: 500px;
        padding: .5rem;
    }

    #accordionInvertir .accordion-button {
        font-size: 1.4rem;
    }

    .container-invertir-accordion {
        max-width: 960px !important;
    }

    #section2 {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    #prestamo .title-section, .section1-invertir .title-section {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

    #regForm {
        padding: 2rem 4rem !important;
        margin: 1rem 0 3rem !important;
    }
    
    #regForm .tab {
        padding-top: 3rem;
    }

    #accordionInvertir .accordion-button {
        font-size: 1.5rem;
    }

    /* .section1-invertir .card-paso p{
        transform: translateY(255px);
    } */
}