/* Core styles */
body {
  font-family: 'Garamond', serif;
  background-color: #f4f1e0;
  color: #333;
  margin: 0;
  padding: 15px;
}

header, .footer {
  text-align: center;
  padding: 15px;
}

/* Main container for sections, used for text or other seperate items */
.main-section {
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto; /* Centers the project with the max width above */
  padding: 20px; /* Adds padding around the project section for a nice white boarder */
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Inner container for section ie. having TOC and pdf */
.inner-section {
  flex: 1 1 250px;
  padding: 15px;
  background-color: #f4f1e0;
  border-right: 1px solid #ddd;
  height: 100%;
  overflow-y: auto;
  border-radius: 8px;
}

/* ul-root or outter layer like a main | to be used in conjunction with li-section */
.ul-root {
  padding-left: 0;
  margin: 0;
}
.ul-root a {
    text-decoration: none !important; /* Removes underline from links on EVERYTHING */
    transition: color 0.2s ease; /* Smooth transition for hover effect */
    transition: background-color 0.2s ease; /* Smooth transition for hover effect */
}

.ul-root a:hover {
  color: #880000;
  background-color: rgba(136, 0, 0, 0.25);
}
/* Attempted inherited ul styling for first li 
This method SPECIFICALLY targerts just that 1st li, assuming first is a ul a*/
.ul-root > li > a {
  display: block;
  font-weight: bold;
  color: #000; /* black */
  margin: 10px; 
}
.ul-root li{
 margin-bottom: 5px; /* Adds space between each link */
}
/* Targets the nested li */
.ul-root > li ul li > a { 
  color: #A97610;
}
