.popup_container {
    display: none; /* Hidden by default */
    justify-content: center;
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
    overflow: auto;
    
    transition: opacity 0.25s;
}

.popup-content {
    /* position: relative; */
    position: absolute;
    margin: none;
    padding: 0px;
    border: none;
    max-width: 1400px;
    min-width: 1128px;
    width: 100%;
    z-index: 0;
}

.popup-transition {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
    z-index: 5; /* above the close button while covering the screen */
}

.popup_pixel {
    position: absolute;
    background: var(--bg);
    outline: 1px solid var(--bg); /* overlap neighbours so no gaps show */
    scale: 0;
}

.x_btn {
    width: 40px;
    height: 40px;
    border: solid 1px var(--white);
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: center;
    background-color: var(--bg);

    position: fixed;
    top: 24px;
    right: 41px;
    z-index: 3;
    opacity: 0;
    cursor: pointer;

    background-image: url("../assets/px_icon_x.svg");
}
