body {
    background-color: #121212;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#mindMap {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.node {
    cursor: pointer;
    background-color: #333;
    padding: 10px 20px;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.node:hover {
    background-color: #555;
    transform: scale(1.05);
}

#popup {
    position: absolute;
    border: 1px solid #444;
    background-color: #222;
    color: #ddd;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

.sub-node {
    background-color: #444;
    margin-top: 10px;
    padding: 5px;
    border-radius: 10px;
    /* Additional styling */
}

#popup {
    position: absolute;
    border: 1px solid #444;
    background-color: #222;
    color: #ddd;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    z-index: 10;
}

/* New Animation for Popup Appearance */
.popup-show {
    opacity: 1;
    transform: scale(1);
}
