.dummy-block {
    height: 400px;
    left: 0;
    position: absolute;
    opacity: 0.2;
    width: 100%;
}
.dummy-block:nth-child(2) {
    top: calc(100vh);
}
.dummy-block:nth-child(3) {
    top: calc(100vh + 400px);
}
.dummy-block:nth-child(4) {
    top: calc(100vh + 800px);
}
.dummy-block:nth-child(5) {
    top: calc(100vh + 1200px);
}
.dummy-block:nth-child(6) {
    top: calc(100vh + 1600px);
}
.wrapper-to-effect {
    overflow: hidden;
    padding-bottom: 2000px;
    padding-top: 100vh;
    position: relative;
}
.block.how-it-works {
    background: url('../imgs/como_funciona_back.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 999;
}
.block.how-it-works ul, .block.how-it-works li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.block.how-it-works:before {
    background: #245779;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    opacity: 0.85;
    position: absolute;
    top: 0;
    width: 100%;
}
.block.how-it-works .wrapper {
    bottom: 0;
    left: 50%;
    max-width: 100%;
    padding: 0 30px;
    position: absolute;
    transform: translateX(-50%);
}
.block.how-it-works .slick-list {
    overflow: unset;
}
.block.how-it-works .title {
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    line-height: 32px;
    margin: 0 auto;
    padding-bottom: 15px;
    position: relative;
    width: fit-content;
    font-weight: bold;
}
.block.how-it-works .title:after {
    background: #64e173;
    bottom: 0;
    content: '';
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 140px;
}
.block.how-it-works .content {
    margin-top: 117px;
}
.block.how-it-works .carrousel {
    margin: 0 auto;
    max-width: 776px;
    position: relative;
    width: 100%;
}
.block.how-it-works .item {
    display: flex;
    justify-content: space-between;
}
.block.how-it-works .text-wrapper {
    max-width: 43%;
    width: 100%;
}
.block.how-it-works .number {
    color: #23CBB0;
    font-family: Montserrat, sans-serif;
    font-size: 100px;
    line-height: 93px;
    position: relative;
    width: fit-content;
    font-weight: black;
}
.block.how-it-works .number:before, .block.how-it-works .number:after {
    content: '';
    display: block;
    position: absolute;
}
.block.how-it-works .number:before {
    background: url('../imgs/dot.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 8px;
    left: -11px;
    top: 0;
    width: 8px;
}
.block.how-it-works .number:after {
    background: url('../imgs/triangulo.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 21px;
    height: 12px;
    right: -37px;
    width: 14px;
}
.block.how-it-works .text {
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 22px;
    line-height: 30px;
    margin-top: 20px;
    padding-bottom: 20px;
    position: relative;
    font-weight: normal;
}
.block.how-it-works .text:before {
    background: url('../imgs/plus.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: -30px;
    content: '';
    display: block;
    height: 22px;
    position: absolute;
    right: 44px;
    width: 22px;
}
.block.how-it-works .text:after {
    background: #37a492;
    border-radius: 100px;
    bottom: 0;
    content: '';
    display: block;
    height: 5px;
    left: -15px;
    position: absolute;
    width: 30px;
}
.block.how-it-works .image-wrapper {
    max-width: 42%;
    width: 100%;
}
.block.how-it-works .image {
    position: relative;
}
.block.how-it-works .image img {
    position: relative;
}
.block.how-it-works .image:before {
    background: url('../imgs/circle.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: -187px;
    content: '';
    display: block;
    height: calc(100% + 40px);
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: calc(100% + 288px);
}
.block.how-it-works .image:after {
    background: url('../imgs/shape_finloop.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    height: 54px;
    position: absolute;
    right: -68px;
    top: 58px;
    width: 60px;
}
.block.how-it-works .slick-dots {
    left: -100px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.block.how-it-works .slick-dots:before {
    background: #fff;
    content: '';
    display: block;
    height: 98%;
    left: 50%;
    opacity: 0.56;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
}
.block.how-it-works .slick-dots:after {
    background: #64e173;
    content: '';
    display: block;
    height: 0;
    left: 50%;
    opacity: 1;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    transition: all 550ms ease-in-out;
    width: 2px;
}
.block.how-it-works .slick-dots.twenty:after {
    height: 25%;
}
.block.how-it-works .slick-dots.forty:after {
    height: 50%;
}
.block.how-it-works .slick-dots.sixty:after {
    height: 75%;
}
.block.how-it-works .slick-dots.complete:after {
    height: 98%;
}
.block.how-it-works .slick-dots li {
    height: 10px;
    margin-bottom: 50px;
    width: 10px;
}
.block.how-it-works .slick-dots li:last-child {
    margin-bottom: unset;
}
.block.how-it-works .slick-dots li button {
    background: #fff;
    border: none;
    border-radius: 50%;
    color: transparent;
    display: block;
    height: 10px;
    margin: 0;
    opacity: 0.56;
    outline: none;
    padding: 0;
    pointer-events: none;
    width: 10px;
}
.block.how-it-works .slick-dots li button.slick-visited {
    background: #64e173;
    opacity: 1;
}
.block.how-it-works .slick-dots li.slick-active button {
    background: #64e173;
    opacity: 1;
}
@media (max-width: 1100px) {
    .block.how-it-works .slick-dots {
        left: -50px;
   }
}
@media (max-width: 1050px) {
    .block.how-it-works {
        height: calc(100vh - 88px);
   }
}
@media (max-height: 880px) {
    .block.how-it-works .image-wrapper {
        max-width: 30%;
   }
}
@media (max-height: 715px) {
    .block.how-it-works .image-wrapper {
        max-width: 20%;
   }
}
@media (max-width: 950px) {
    .block.how-it-works .slick-dots {
        left: -25px;
   }
}
@media (max-width: 767px) {
    .wrapper-to-effect {
        padding-bottom: unset;
        padding-top: unset;
        position: relative;
   }
    .block.how-it-works {
        background: url('../imgs/como_funciona_back_movil.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: auto;
        padding: 80px 15px;
        position: relative;
   }
    .block.how-it-works .wrapper {
        padding: unset;
        position: relative;
   }
    .block.how-it-works .title {
        font-size: 28px;
        padding-bottom: 12px;
   }
    .block.how-it-works .text-wrapper {
        max-width: 100%;
   }
    .block.how-it-works .carrousel:after {
        background: #fff;
        content: '';
        display: block;
        height: 83%;
        left: 5px;
        opacity: 0.5;
        position: absolute;
        top: 28px;
        width: 5px;
   }
    .block.how-it-works .item {
        margin-top: 50px;
        padding-left: 34px;
        position: relative;
        z-index: 1;
   }
    .block.how-it-works .item:before {
        background: #fff;
        border-radius: 50%;
        content: '';
        display: block;
        height: 15px;
        left: 0;
        opacity: 0.5;
        position: absolute;
        top: 20px;
        transition: all 550ms ease-in-out;
        width: 15px;
   }
    .block.how-it-works .item:after {
        background: #64e173;
        content: '';
        display: block;
        height: 0;
        left: 5px;
        opacity: 1;
        position: absolute;
        top: 28px;
        transition: all 550ms ease-in-out;
        width: 5px;
   }
    .block.how-it-works .item:first-child {
        margin-top: unset;
   }
    .block.how-it-works .item:last-child:after {
        content: none;
   }
    .block.how-it-works .item.apply-inview-down-up:before {
        background: #64e173;
        opacity: 1;
   }
    .block.how-it-works .item.apply-inview-down-up:after {
        height: 130%;
   }
    .block.how-it-works .number {
        font-size: 60px;
        line-height: 56px;
   }
    .block.how-it-works .number:before, .block.how-it-works .number:after {
        content: none;
   }
    .block.how-it-works .text {
        font-size: 20px;
        line-height: 28px;
   }
    .block.how-it-works .text:before {
        content: none;
   }
    .block.how-it-works .text:after {
        left: 0;
   }
}
