#back_layer
{
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.popinfo, .popchoice
{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(400px, calc(100vw - 52px));
    overflow: auto;
    padding: 10px;
    background-color: rgba(233, 233, 237, 0.9);
    border-bottom: solid 3px #618d90;
    border-radius: 20px;
    color: #000;
    font-family: Courier, monospace;
    text-align: center;
    z-index: 4;
}
/* « read » at the top and at the bottom, the text centred between them */
.popinfo
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    border-top: solid 14px #618d90;
}
.popinfo_text, .popchoice_text
{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px 0;
}
.popinfo_text *{ margin-top: 8px; margin-bottom: 8px; }
.popinfo p, .popchoice p{ text-align: justify; }
.popinfo .i, .popchoice .i
{
    font-size: small;
    text-align: left;
    font-style: italic;
}
.popinfo_btn
{
    flex-shrink: 0;
    align-self: center;
    width: 90%;
    border: solid 1px #888;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.1);
}
.popinfo_btn:hover, .popchoice_btn:hover{ background-color: rgba(97, 141, 144, 0.45); }

/* the text centred, one answer at each end */
.popchoice
{
    min-height: 200px;
    border-top: solid 20px #618d90;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.popchoice_close
{
    position: absolute;
    right: 12px;
    top: 0;
    cursor: pointer;
}
.popchoice_options
{
    display: flex;
    justify-content: space-between;
}
.popchoice_btn
{
    width: 40%;
    border: solid 1px #888;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.1);
}
.popchoice .save_data{ width: 90%; }
