#vis-popup {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 80px;
    z-index: 1000; /* Lowering z-index */
    display: none;
}

#vis-popup #mainPopImage {
    max-width: 80%;
    max-height: 80vh;
    height: auto;
    margin-top: 10vh;
}

#vis-popup #close img {
    position: absolute;
    color: #fff;
    top: 20px;
    right: 20px;
    font-size: 35px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin: 0;
}
