/* Reset some default styles */
body, h1, h2, h3, p, ul, li, table, th, td {
    margin: 0;
    padding: 0;
    list-style: none;
    border-collapse: collapse;
}

h4 {
    font-size: 1.05em;
    padding-bottom: 12px;
    padding-left: 4px;
    margin: auto;
}

strong {
    color: #ffe253;
}

/* Base styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.8;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    height: 200vh;
}

header, section, footer {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: #1e1e1e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    header, section, footer {
        padding: 15px;
    }
}

/* Header styles */
header h1 {
    font-size: 2em;
    text-align: center;
    color: #64b5f6; /* Lighter blue */
}

/* Section headings */
section h2 {
    font-size: 1.6em;
    border-bottom: 2px solid #64b5f6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Article headings */
article h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #64b5f6;
}

/* Table styles */
table {
    width: 100%;
    border-spacing: 0;
    margin-bottom: 20px;
}

.personal-info-table th:nth-child(1), .personal-info-table td:nth-child(1) {
    width: 20%;
}

.personal-info-table th:nth-child(2), .personal-info-table td:nth-child(2) {
    width: 25%;
}

.personal-info-table th:nth-child(3), .personal-info-table td:nth-child(3) {
    width: 20%;
}

.personal-info-table th:nth-child(4), .personal-info-table td:nth-child(4) {
    width: 35%;
}

th, td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #333;
}

th {
    background-color: #2a2a2a;
    color: #bbdefb; /* Even lighter blue */
}

/* Personal Info Container */
.personal-info-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.personal-info-table {
    flex: 1;
}

.personal-photo {
    flex: 0;
    margin-left: 30px;
    display: flex;
    align-items: center; /* Center the image vertically */
}

.personal-photo img {
    max-height: 100%; /* Ensure the image height does not exceed the container */
    max-width: 135px; /* Limit the width to a reasonable size */
    height: auto;
    width: auto;
    display: block;
}

/* List styles */
ul, ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

ul li, ol li {
    margin-bottom: 10px;
    list-style-position: inside;
}

.my-words-intro {
    padding-top: 2px;
    padding-bottom: 12px;
    font-size: 1.08em;
    font-weight: bold;
}

.paper-title {
    font-weight: bold;
    font-size: 1.1em;
    color: #b0e1ff;
}

ul li::before {
    content: "•";
    color: #64b5f6;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

ol li {
    color: #64b5f6;
}

/* Footer styles */
footer {
    text-align: center;
    font-size: 0.9em;
    color: #888;
}

/* Link styles */
a {
    color: #64b5f6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 滚动条整体样式 */
::-webkit-scrollbar {
    width: 14px; /* 滚动条宽度 */
    height: 14px; /* 水平滚动条高度 */
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
    background: #2c2c2c; /* 轨道背景色 */
    border-radius: 8px; /* 圆角 */
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    background-color: #555; /* 滑块颜色 */
    border-radius: 8px; /* 圆角 */
    border: 4px solid #2c2c2c; /* 滑块边框，与轨道背景色相同 */
}

/* 滚动条滑块在悬停时的样式 */
::-webkit-scrollbar-thumb:hover {
    background-color: #777; /* 悬停时滑块颜色 */
}

/* Firefox专用滚动条样式 */
* {
    scrollbar-width: auto; /* 使滚动条保持默认宽度 */
    scrollbar-color: #555 #2c2c2c; /* 滑块和轨道颜色 */
}