/* General Body and Font Styles */
body {
    background-color: #1A202C; /* Dark Slate Blue */
    color: #CBD5E0;            /* Clearer Light Grey */
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12pt;
    font-weight: 300;
    line-height: 1.75em;
}

/* General Link Styles */
a {
    color: #90CDF4; /* Pleasant Light Blue */
    text-decoration: none;
    transition-duration: 0.3s;
    transition-timing-function: linear;
}

a:hover {
    text-decoration: none;
    color: #63B3ED; /* Brighter Blue on hover */
}

.instilogo {
    height: 50px;
    filter: grayscale(20%);
}

.noter {
    font-size: 9pt;
    color: #A0AEC0; /* Dimmer grey for notes */
}

.tagsep {
    padding: 4px;
    color: #888;
}

/* Tags for links like github, pdf, ppt */
.tag {
    padding-right: 2px;
    color: #90CDF4; /* Match general link color */
}

.tag:hover {
    color: #63B3ED; /* Match general link hover color */
}

.confshort {
    font-weight: 300;
}

.conf {
    display: inline-block;
    padding-bottom: 4px;
    font-size: 0.9em;
    color: #bbb; /* Or adjust to #A0AEC0 if preferred */
}

.paper {
    border-left: 1px solid rgba(144, 205, 244, 0.15); /* Hint of blue for border */
}

/* Name Style */
.name {
    font-size: 28pt;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fff; /* White name - Stays white for high contrast */
}

/* Menu Links in the Left Sidebar */
.menulink {
    color: #CBD5E0; /* Main text color */
    display: block;
    padding: 2px 0;
    font-size: 14.5pt;    /* UPDATED: Increased font size */
    padding: 3px 0;       /* UPDATED: Slightly adjusted padding for new size */
    line-height: 1.6;
}

.menulink:hover {
    color: #fff; /* White on hover - Stays white */
}

/* In-text Links (links within paragraphs) */
.in-text {
    color: #fff; /* White for emphasis - Stays white */
    border-bottom: dotted 1px rgba(255, 255, 255, 0.35);
}

.in-text:hover {
    color: #fff;
    border-bottom-color: transparent;
}

/* Paper/Project Titles */
.papertitle {
    font-weight: 600;
    color: #fff; /* White titles - Stays white */
}

/* Profile Picture Styling */
.profilepic {
    width: 150px;
    border-radius: 40%;
}

/* Section Headers (e.g., "Projects", "Updates") */
.header {
    font-weight: 600;
    color: #63B3ED; /* Bright, Clear Blue */
    font-size: 18pt;
    margin-bottom: 15px;
}

/* Styling for the "Updates" table */
table {
    width: 100%;
}

table td {
    padding: 0.5em 0.5em 0.5em 0;
    border-bottom: solid 1px rgba(144, 205, 244, 0.1); /* Subtle row separators, hint of blue */
}
table tr:last-child td {
    border-bottom: none;
}

/* Make bold text (like dates) in table cells white */
table td b {
    color: #fff; /* Stays white for emphasis */
    font-weight: 600;
}

/* Links within the table cells */
table td a {
    color: #90CDF4; /* Consistent link color */
    border-bottom: dotted 1px rgba(144, 205, 244, 0.5); /* Dotted underline with link color */
}
table td a:hover {
    color: #63B3ED; /* Consistent link hover color */
    border-bottom-color: transparent;
}

/* Footer Institution and Years Styling -- ADDED/ENSURED THESE ARE HERE */
.institution {
    font-size: 12px;
    font-weight: 600;
    color: #CBD5E0;   /* Matches main body text color */
    margin-top: 4px;
}

.years {
    font-size: 11px;
    color: #A0AEC0;   /* Slightly dimmer, like the .noter class */
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .fixed-posi {
        position: fixed;
    }
}

@media only screen and (max-width: 900px) {
    .allstuff {
        padding-top: 0px !important;
    }

    .allstuffp {
        padding-top: 0px !important;
    }

    .profilepic {
        width: 90px;
        border-radius: 20%;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .menur {
        padding-top: 18px !important;
    }

    .name {
        font-size: 22pt;
    }

    .header {
        font-size: 16pt;
    }
}