/* 1. Element Name Selector (Applies to all <body> elements) */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 20px; /* Adds some space around the content */
    background-color: #f0f0f0; /* Light gray background */
}

/* 2. ID Selector (Applies specifically to the element with id="main-title", which is the <h1>) */
#main-title {
    color: #8b0000; /* Dark Red - representing the Red node color */
    border-bottom: 3px solid black; /* A black line beneath, representing the Black nodes/depth */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* 3. Class Name Selector (Applies to all elements with class="list-rules", which is the <ul>) */
.list-rules {
    list-style-type: square;
    background-color: #ffffff; /* White background for the list */
    padding: 20px;
    border-left: 5px solid #000000; /* Black border on the left */
}
