.modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100* var(--vh));
    background-color: #000;
    opacity: 1!important;
}