body {
    background-color: #0C0818;
    font-family: 'Inconsolata', monospace;
    margin: 0;
    overflow: hidden;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: calc(100% - 3rem);
    padding: 1rem;
    pointer-events: none;
}

.nmvw-logo {
    width: 120px;
}

.title {
    color: white;
    text-align: center;
}

.title__explorer {
    margin-top: -1rem;
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
    text-align: center;
}

.legend {
    padding: 0;
    color: rgba(255,255,255,0.75);
    text-transform: lowercase;
    list-style-type: none;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.legend__node, .legend__predicate, .legend__leaf {
    padding: .5rem;
}

.legend__node::before, .legend__leaf::before {
    content: '';
    display: inline-block;
    margin: 0 .5rem;
    width: 10px;
    height: 10px;
    border-radius: 50px;
}

.legend__node::before {
    background-color: rgba(236,63,83,0.75);
}

.legend__leaf::before {
    background-color: rgba(63,141,236,0.75);
}

.legend__predicate::before {
    content: '';
    display: inline-block;
    margin: 0 .5rem;
    width: 10px;
    height: 3px;
    background-color: rgba(216,216,216,0.3);
}

.links {
    position: relative;
    z-index: 0;
    stroke: rgba(216,216,216,0.3);
    cursor: pointer;
}

.type-node {
    position: relative;
    z-index: 1;
    fill: rgba(236,63,83,0.75);
    cursor: pointer;
    transition: .3s;
}

.type-leaf {
    fill: rgba(63,141,236,0.75);
    cursor: pointer;
    transition: .3s;
}

.type-node:hover, .type-leaf:hover {
    fill: #5736BB;
    transform: scale(1.3);
}

.tooltip {
    position: absolute;
    visibility: hidden;
    z-index: 1;
    padding: .5rem;
    background-color: rgba(255,255,255,0.1);
    font-size: .8rem;
    color: white;
    border-radius: 3px;
}

.node-info {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    text-align: center;
    z-index: 1;
    padding: 1rem;
    background-color: rgba(255,255,255,0.1);
    font-size: .8rem;
    color: white;
    border-radius: 3px;
}

.node-info__label {
    display: block;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 1.3rem;
}

.node-info__link {
    display: block;
    font-size: 1rem;
    color: #5736BB
}

.reset-nodes {
    position: absolute;
    bottom: 2.6rem;
    left: 1rem;
    padding: .5rem;
    z-index: 2;
    background-color: rgba(255,255,255,0.1);
    font-family: 'Inconsolata', monospace;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    border: 1px solid #5736BB;
    outline: 0;
    border-radius: 3px;
    transition: .3s;
}

.reset-nodes:hover {
    background-color: #5736BB;
}