/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    height: auto; /* Allow content to determine height */
    min-height: 100vh; /* Ensure it covers the full viewport if needed */
    margin: 0;
}

/* Container Layout */
.container {
    display: flex;
    height: 100%;
}

/* Left Side: Profile Section */
.profile-section {
    background-color: #fff;
    color: #333;
    width: 25%; /* Fixed width for the profile section */
    padding: 10px;
    text-align: center;
    position: fixed; /* Keep it fixed on the left side */
    height: 100%; /* Full height */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-photo {
    width: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.profile-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Ensure the text container has the same width as the photo */
.profile-description {
    width: 160px;  /* Same width as the profile photo */
    text-align: center; /* Align text within the container */
    margin-top: 10px;
    margin-bottom: 15px;
}

.social-links a {
    color: #1da1f2;
    text-decoration: none;
    display: flex;
    margin: 10px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.social-links a i {
    margin-right: 8px;
}

/* Right Side: Content Section */
.content-section {
    margin-left: 25%;
    width: 75%;
    max-height: calc(100vh - 50px); /* Adjust based on menu height */
    overflow-y: auto;
    position: relative;
}

.content-section h1 {
    margin-top: 0px !important;
    font-size: 2rem;
    margin-bottom: 20px;
}

.page-links a {
    display: inline-block;
    margin-bottom: 0px !important;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 1rem;
}

.page-links a:hover {
    background-color: #333;
    color: #fff;
}

/* Bottom Content Display */
#bottom-content {
    margin-left: 25%; /* Aligns with the content section */
    width: 75%; /* Matches the width of .content-section */
    padding-top: 0px;
    margin-top: 0px;
    border-top: 2px solid #ddd;
    background-color: #fff;
    overflow-y: auto; /* Enable scrolling if the content overflows */
}

#content-display {
    margin-top: 0px;
    font-size: 1rem;
}
    
p {
    line-height: 1.6; /* Increases space between lines */
    margin-bottom: 15px; /* Adds space between paragraphs */
}

a {
    text-decoration: none; /* Remove default underline */
    border-bottom: 1px dotted currentColor; /* Dotted underline */
    color: inherit; /* Keep text color the same as surrounding text */
}

.sub-links a {
    padding: 6px 10px;
    font-size: 0.95rem;
    margin-right: 8px;
}

ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 20px; /* Space for the checkmark */
}

ul li::before {
    content: "✔"; /* Unicode checkmark */
    position: absolute;
    left: 0;
    color: blue; /* Choose your preferred color */
}

.pub-list {
    list-style-type: decimal;
    padding-left: 2.5em; 
}

.pub-list li {
    margin-bottom: 10px;
}

/* Responsive Design Adjustments */
@media (max-width: 1024px) {
    .profile-section {
        width: 30%; /* Adjust profile section width */
    }
    .content-section, #bottom-content {
        margin-left: 30%; /* Adjust content position */
        width: 70%;
    }
}

@media (max-width: 768px) {
    .profile-section {
        display: none;
    }
    .content-section {
        margin-left: 0;
        width: 100%;
    }
    #bottom-content {
        margin-left: 0;
        width: 100%;
    }
}
