html {
    min-height: 100%;
    background-color: #0f0404;
    background-image: url("/static/img/def.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    image-rendering: high-quality;                  /* Chrome */
    image-rendering: -webkit-optimize-contrast;     /* Safari */
    image-rendering: crisp-edges;
}

body {
    background: transparent !important;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(5, 1, 1, 0.45);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    html {
        background-image: none !important;
        position: relative;
    }

    html::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("/static/img/def.png");
        background-size: cover;
        background-position: center center;
        z-index: -1;
    }
}

@media (max-width: 768px) {
    .prochains-section-wrapper {
        background-color: #0f0404;
    }
}



/* body {
        min-height: 100%;     
    background: transparent !important;
}

@media (max-width: 305px) {
    html {
        background-attachment: scroll;
    }
}
@media (max-width: 768px) {
    .prochains-section-wrapper {
        background-color: transparent;
    }
} */