body {
    background-color: black;
    color: white;
    font-family: "Computer Modern Serif", sans-serif;
}

.page-title {
    text-align: center;
    user-select: none;
}

.import-graph-button {
    background-color: purple;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 10px;
    left: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.edit-mode {
    background-color: purple;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform : translateX(-50%);
    cursor: pointer;
    transition: 0.2s;
}

.export-graph-button {
    background-color: purple;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    transition: 0.2s;
}

button, input[type="button"],input[type="file"] {
    user-select: none;
    background-color: purple;
    border-radius: 8px/8px;
    cursor: pointer;
    border: 2px solid white;
    color:white;
    transition: 0.2s;
    padding: 2px;
    margin: 2px;
}

input[type="text"] {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    transition: 0.2s;
    outline : none;
    border-radius: 2px/2px;
}

input[type="text"]:hover {
    opacity: 0.8;
}

input[type="text"]:active {
    opacity: 0.5;
}

input[type="file"]::-webkit-file-upload-button {
    border :none;
    color: white;
    background: purple;
    border-right: 1px solid white;
    cursor: pointer;
}

button:hover, input[type="button"]:hover,input[type="file"]:hover {
    opacity: 0.8 ;
}

button:active, input[type="button"]:active,input[type="file"]:active {
    opacity: 0.5;
}

.field {
    display : flex;
    justify-content: left;
    align-items: center;
}

.field .delete {
    display: flex;
    justify-content: center;
    align-items: center;
    transition:0.2s;
    cursor: pointer;
    margin-left: 5px;
}

.field .delete:hover {
    opacity: 0.8;
}

.field .delete:active {
    opacity: 0.5;
}

.import-graph-button:hover,.export-graph-button {
    opacity: 0.8;
}

.import-graph-button:active,.export-graph-button {
    opacity: 0.5;
}

.import-graph-dialog-ctx {
    display: none;
    background: rgba(0,0,0,0.42);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height :100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.import-graph-dialog-window {
    border: 2px solid white;
    padding: 4px;
    border-radius: 8px/8px;
    width: fit-content;
    height: fit-content;
    position : relative;
    padding : 20px;
    background-color: black;
}

.import-graph-dialog-window-close {
    position : absolute;
    top : 2px;
    right : 2px;
    cursor: pointer;
    transition: 0.2s;
}

.import-graph-dialog-window-close:hover {
    opacity: 0.8;
}

.import-graph-dialog-window-close:active {
    opacity : 0.5;
}

.import-graph-dialog-window > * {
    width: fit-content;
}

.import-graph-dialog-window > h4 {
    user-select: none;
    margin: 4px;
}

.graph-ctx circle {
    cursor: pointer;
}

.graph-ctx {
    width: 560px;
}

.graph-ctx * {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /
}

.graph-interface .hovered-node {
    background-color: rgb(94, 94, 94);
    border-radius: 4px/4px;
    position: sticky;
    white-space: pre-wrap;
    min-height: 100px;
    width: calc(95% - 560px);
    height: 80vh;
    margin: 2px;
    top : 0;
    position: relative;
}

.graph-interface .hovered-node-title {
    font-size:30px;
    height: 60px;
    margin: 0;
    position: absolute;
    top: 5px;
    left: 5px;
}

.graph-interface .hovered-node-content{
    top : 72px;
    width: 100%;
    bottom: 0;
    position: absolute;
    text-overflow: ellipsis;
    left: 0;
}

.graph-interface {
    display: flex;
    align-items : top;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
}