:root {
    /* setting for light mode */
    /* --dark-font-color: #555;
    --dark-bg-color: #fff;
    --dark-link-color: #000; */
    /* setting for dark mode */
    /* --font-color: #fff;
    --bg-color: #222222;
    --link-color: #48C9B0; */

    --dark-font-color: #fff;
    --dark-bg-color: #222222;
    --dark-link-color: #48C9B0; 

    --font-color: #000000;
    --bg-color: #82a2ba;
    --link-color:rgb(48, 81, 174); 
}

.highlight-date {
    background-color: #8b7747; /* Choose your preferred color */
    padding-left: 2px;
    padding-right: 2px;
}

body {
    background-color: var(--bg-color);
    color: var(--font-color);
    padding: 40px;
    font-family: "Lato", sans-serif;
    line-height: 1.5;
    font-weight: 300;
    font-size: 14px;
    font-family: 'Noto Sans TC', sans-serif;
}

body.dark-mode {
    background-color: var(--dark-bg-color);
    color: var(--dark-font-color);
}

body.dark-mode a {
    color: var(--dark-link-color);
}

body.dark-mode i {
    color: var(--dark-font-color);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px;
}

ul, ol, table, pre, dl {
    margin: 0 0 20px;
    list-style-type: circle;
}

ul {
    padding-left: 30px;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3, h4, h5, h6 {
    font-weight: 500;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--font-color);
    transition: all 0.3s ease;
}

a small {
    font-size: 2.5px;
    color: var(--font-color);
    margin-top: -0.3em;
    display: block;
}

a:hover small {
    color: #777;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    padding: 5px 10px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: op;
}

dt {
    color: #444;
    font-weight: 500;
}

th {
    color: #444;
}

table, tr, td {
    border: none;
}

img {
    width: 100%;
}

strong {
    font-weight: 800;
}

section {
    width: 700px;
    margin: auto;
}

small {
    font-size: 14px;
}

button {
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
}

i {
    font-size: 16px;
    color: var(--font-color);
    padding: 4px;
}

tiny {
    font-size: 12px;
}

hr {
    border: 0;
    background: #e5e5e5;
    height: 1px;
    margin: 0 0 20px;
}

@media print, screen and (max-width: 770px) {
    section {
        width: auto;
    }
}

@media print {
    body {
        padding: 0.4in;
        font-size: 12pt;
        color: #444;
    }
}

/* additions */

.flex-container {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.flex-left {
    flex: 60%;
}

.flex-right {
    line-height: 1;
    flex: 20%;
}

.paper-links a {
    text-decoration: underline;
    padding-right: 10px;
}

.paper-title {
    font-weight: bold;
}

.paper-summary {
    font-size: 12px;
    font-style: italic;
}

.paper {
    padding-left: 13px;
    padding-bottom: 20px;
}

.circular-square {
    width: 100px; /* Set a fixed width */
    height: 100px; /* Match height to width */
    object-fit: cover; /* Ensures the image covers the space properly */
    border-radius: 50%; /* Makes it a perfect circle */
}

#title {
    float: left;
}

#socials {
    padding-top: 9px;
    float: right;
}