html:after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 22;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
@media (max-width: 767px) {
    html.overlay--0 {
        overflow: hidden;
    }
    html.overlay--0 body {
        overflow: hidden;
    }
    html.overlay--0:after {
        opacity: 1;
        pointer-events: all;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    html.overlay--1 {
        overflow: hidden;
    }
    html.overlay--1 body {
        overflow: hidden;
    }
    html.overlay--1:after {
        opacity: 1;
        pointer-events: all;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    html.overlay--2 {
        overflow: hidden;
    }
    html.overlay--2 body {
        overflow: hidden;
    }
    html.overlay--2:after {
        opacity: 1;
        pointer-events: all;
    }
}
@media (min-width: 1200px) and (max-width: 1499px) {
    html.overlay--3 {
        overflow: hidden;
    }
    html.overlay--3 body {
        overflow: hidden;
    }
    html.overlay--3:after {
        opacity: 1;
        pointer-events: all;
    }
}
@media (min-width: 1500px) {
    html.overlay--4 {
        overflow: hidden;
    }
    html.overlay--4 body {
        overflow: hidden;
    }
    html.overlay--4:after {
        opacity: 1;
        pointer-events: all;
    }
}