.img_conmofunciona {
    position: relative;
    display: flex;
    height: auto;
     max-height: calc(242px * (100vw/1200));
    background-image: url(../img/aliados/banners/como-funciona-web.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    aspect-ratio: 1200/242;
    z-index: 1;
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .mediaQ3626326 {
        width: 68%;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .mediaQ3626326 {
        width: 60%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .mediaQ3626326 {
        width: 53%;
    }
}

@media (max-width: 768px) {
    .img_conmofunciona {
        background-image: url('../img/aliados/banners/como-funciona-app.webp');
        background-color: #dc3545;
        max-height: calc(600px * (100vw/944));
        aspect-ratio: 944/600;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .mediaQ3626326 {
        width: 45%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .mediaQ3626326 {
        width: 38%;
    }
}
