/* Global styles */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Navigation styles */
.nav-container {
    background-color: #fff;
    padding: 20px 10px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.home-button {
    font-size: 1.2em;
    text-decoration: none;
    color: #000;
    display: inline-block;
    margin-right: 15px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
}

.nav-menu li {
    margin-right: 15px;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #000;
}

/* Main content styles */
.main-content {
    padding: 80px 20px 20px 20px;
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto;
}

/* Active link style */
.nav-menu a.active {
    color: #000;
    font-weight: 500;
}

/* Style for links within blog posts on my_writing.html */
.blog-posts .post h5 a {
    color: #000; /* Sets link color to black, like a typical h4 heading */
    text-decoration: underline;
}

/* Styling for the colored circles */
.circle {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle; /* Helps align circle with text if not using flex */
}

.circle.investor {
    background-color: #1f618d;
}

.circle.sports-bettor {
    background-color: #b03a2e;
}

.circle.prattler {
    background-color: #616a6b;
}

.circle.trust-and-safety {
    background-color: #e67b10;
}

/* Styling for the legend section */
.legend {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee; /* Adds a light separator line */
}

.legend h5 {
    margin-bottom: 10px;
}

.legend p {
    margin-bottom: 5px;
    display: flex; /* Aligns circle and text nicely */
    align-items: center; /* Vertically centers circle with text */
}

/* Ensure the h5 containing the link and circle allows for proper alignment */
.blog-posts .post h5 {
    display: flex;
    align-items: center; /* Vertically aligns the circle and the link text */
}