.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.banner {
    position: relative;
    width: 100%;
    max-width: 1308px;
    min-height: 668px;
    background-color: var(--palette-primary_500); /* Fallback color */
    background-image: url('images/mobile.jpg'); /* Fallback static image */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 0;
}

@media (max-width: 600px) {
    .banner{
        padding-top: 1em;
    }
    .banner .banner-content {
        justify-content: flex-start;
    }
    img.banner-image{
        width: 260px;
    }
}

@media (min-width: 600px) {
    .banner {
        background-image: url('images/tablet.jpg');
        justify-content: center;
    }
    .banner-video{
        width: 110%;
        height: 93%;
    }
    img.banner-image{
        width: 280px;
    }
}

@media (min-width: 972px) {
    .banner {
        height: initial;
        min-height: 680px;
        background-image: url('images/desktop.jpg');
        background-position: bottom;
    }
}

@media (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) and (min-width: 972px) {
    .banner {
        background-image: url('images/desktop@2x.jpg');
    }
}