/*
================================================
ATLAS FLOATING NODE LABELS
================================================
*/


/*
================================================
LABEL LAYER
================================================
*/

#atlas-label-layer {

    position: absolute;

    inset: 0;

    pointer-events: none;

    z-index: 20;

}


/*
================================================
NODE LABEL
================================================
*/

.atlas-node-label {

    position: absolute;

    transform:
        translate(-50%, calc(-100% - 12px));

    padding:
        6px 12px;

    font-family:
        "Courier New",
        monospace;

    font-size:
        12px;

    letter-spacing:
        0.18em;

    color:
        rgba(255,255,255,0.9);

    background:
        rgba(5,10,15,0.78);

    border:
        1px solid
        rgba(255,255,255,0.18);

    white-space:
        nowrap;

    opacity:
        1;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;

}


/*
================================================
SELECTED / HIDDEN
================================================
*/

.atlas-node-label.fade-out {

    opacity:
        0;

    transform:
        translate(-50%, calc(-100% - 12px))
        scale(0.92);

}