:root {
    --screen-size-x: 0px;
}

.banner {
    position: relative;
}

.banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-horizontal-slim {
    width: 100%;
    /* height: 61px; */
    height: calc((61 / 1280) * var(--screen-size-x));
    max-height: 61px;
    min-height: 41px;
    background-color: var(--ecomprei-green);
}

.banner-horizontal {
    width: 75%;
    /* height: 147px; */
    height: calc((147 / 937) * var(--screen-size-x));
    max-height: 147px;
    min-height: 57px;
    background-color: var(--bs-gray-100);
}

.banner-vertical {
    width: 100%;
    max-width: 363px;
    height: 454px;
    max-height: 454px;
    height: calc((454 / 363) * (var(--screen-size-x) / 3.33));
    background-color: var(--bs-gray-100);
}

.banner-vertical.percent-25 {
    height: calc((454 / 363) * (var(--screen-size-x) / 4));
}

.banner-only-mobile {
    display: none;
}

@media(max-width:1200px) {
    .banner-horizontal {
        width: 90%;
    }
}

@media(max-width:991px) {
    .banner-container  {
        padding: 0;
    }

    .banner-horizontal {
        width: 100%;
    }

    .banner-vertical {
        height: calc((454 / 363) * var(--screen-size-x));
    }

    .banner-no-mobile {
        display: none;
    }

    .banner-only-mobile {
        display: block;
    }

    .banner-horizontal-slim.no-banner {
        display: none;
    }
}
