@import "theme.css"; 

body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.graph-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    /*width: 50px;
    height: 50px;*/
    background-color: var(--primary);
    color: var(--primary-dark);
    border-radius: 50%;
    text-align: center;
    text-justify: center;
    line-height: 50px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    align-items: center;
    align-content: center;
    pointer-events: auto;
}

.node.active {
    background-color: var(--primary);
    color: var(--primary-dark); 
    pointer-events: auto;
}

.node.inactive {
    background-color: grey;
    color: black; 
    pointer-events: none;
}

.node.completed {
    background-color: green; 
    color: limegreen; 
    pointer-events: none;
}


.node:hover {
    transform: scale(1.1);
}

.node p {
    height: fit-content; 
    width: 100%; 
    text-align: center; 
    text-wrap: auto; 
    word-wrap: normal; 
    line-height: normal;
}

.edge {
    position: absolute;
    width: 2px;
    background-color: var(--primary-dark);
    transform-origin: center left;
}