

#gallery {
    position: fixed;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99;
}

#gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#prev, #next, #close {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    position: absolute;
    top: 30vh;
}

#close {
    top: 10px;
    right: 30px;
}
#prev { left: 10px; }
#next { right: 30px; }