.mlightbox-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.mlightbox-overlay:target {
    display: flex;
}

.mlightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 0 20px #000;
}

.mlightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    color: #000;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}