/* Tree Section Styles */
#tree-section {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

#tree-container {
    width: 33%;
}

#tree-content {
    width: 67%;
    padding: 20px;
    border-left: 1px solid #ccc;
}

#tree-content h3 {
    font-size: 24px;
    margin-top: 0;
}

#tree-content button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

#tree-content button:hover {
    background-color: #555;
}

/* Tree Diagram Styles */
.node circle {
    fill: #fff;
    stroke: steelblue;
    stroke-width: 3px;
}

.node.types-of-trading circle {
    fill: #ff9999;
    stroke: #cc6666;
}

.node.technical-analysis circle {
    fill: #99ff99;
    stroke: #66cc66;
}

.node.fundamental-analysis circle {
    fill: #9999ff;
    stroke: #6666cc;
}

.node.risk-management circle {
    fill: #ffff99;
    stroke: #cccc66;
}

.node.options-basics circle {
    fill: #ffcc99;
    stroke: #cc9966;
}

.node.trading-plans circle {
    fill: #ff99ff;
    stroke: #cc66cc;
}

.node.managing-emotions circle {
    fill: #99ffff;
    stroke: #66cccc;
}

.node text {
    font-size: 16px;
    font-weight: bold;
}

.link {
    fill: none;
    stroke: #ccc;
    stroke-width: 2px;
}



/* Mobile Styles */
@media (max-width: 768px) {
 
    #tree-section {
        flex-direction: column;
        width: 100%;
    }

    #tree-container, #tree-content {
        width: 100%;
    }
}