.vignette-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
    z-index: 9999;
}

.vignette-overlay .vignette-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    max-height: 90%;
    min-width: 80%;
    height: auto;
}

.vignette-overlay .vignette-content .vignette-media img {
    max-width: 100%;
}

.vignette-overlay .close-btn {
    position: absolute;
    top: 0;
    right: 10px;
    background: none;
    border: none;
    font-size: 31px;
    font-weight: normal;
    color: #333;
    cursor: pointer;
    outline: none;
    padding: 0;
    max-width: 20px;
}

.vignette-overlay .close-btn img {
    max-width: 20px;
}

@media only screen and (max-width: 768px) {
    .vignette-overlay .vignette-content {
        transform: unset;
        top: 0;
        left: 5%;
        height: 100%;
        max-height: 100%;
        width: 90%;
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        background: transparent;
        box-shadow: none;
    }

    .vignette-overlay .vignette-content h2 {
        color: white;
    }

    .vignette-overlay .close-btn {
        max-width: 30px;
        filter: brightness(0) invert(1);
        top: 20px;
        right: 0;
    }
}
