/* General styles */
body {
    font-family: Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    font-size: 24px;
}
@font-face {
    font-family: 'CAPS-MS-LEN3-1250';
    src: url('./fonts/CAPS-MS-LEN3-1250.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
header {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center-align both image and text horizontally */
    text-align: center; /* Ensure the text aligns properly */

    font-family: 'CAPS-MS-LEN3-1250';
    /*background-image: url('./imgs/logo_FSWS.jpg'); /* Replace with your image path */
    /*background-size: auto 100%; /* height of the image == header's height */
    /*background-size: cover; /* Ensures the image covers the entire header */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat;
    background-color: #4CAF50;
    color: white;
    /*-webkit-text-stroke: 0.5px black; /* For Safari and some older browsers */
    /*text-stroke: 0.5px black; /* Standard syntax, but might not be supported everywhere */
    padding: 10px;
    z-index: 1; /* Higher z-index text in front of image */
    width: 90%;
}
header .text {
    flex: 1; /* Ensures text takes remaining space */
    word-wrap: break-word; /* Prevents long text from overflowing */
}
header img {
    /*max-width: 100px; /* Adjust size as needed */
    width: 125px; /* 图片宽度 */
    height: 55px; /* 图片高度 */
    margin: 0 auto 10px; /* Center the image horizontally and add space below */
    /*margin-left: 10px;*/
    border-radius: 15px;
}

table {
    table-layout: auto;
    width: auto;

    border-collapse: collapse;
    /*width: 80%;*/
    margin: 20px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
th, td {
    border: 1px solid #ddd;
    padding: 12px 2px; /* 12px top/bottom, 2px left/right */
    text-align: center;
    cursor: pointer;
    font-size: 30px; /* Adjust font size as needed */
    line-height: 1; /* Tighten line spacing */
    word-wrap: break-word; /* Allow text wrapping */
    white-space: normal; /* Prevent text from overflowing */
}
/*th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}*/
th {
    background-color: #f2f2f2;
    position: sticky;
    top: 0;
}
.table-container {
    overflow: auto;
    max-height: 70vh;
    width: 100%;
}
.table-container tbody tr td:first-child, .table-container thead th:first-child {
    position: sticky;
    left: 0;
    background-color: #f2f2f2;
    z-index: 1;
}
.font-selector {
    margin: 5px;
}
footer {
    background-color: #333;
    color: #4CAF50;
    text-align: center;
    padding: 10px;
    position: relative;
    width: 100%;
    font-size: 16px
}
footer a {
    color: #4CAF50;
    text-decoration: none;
    margin: 0 10px;
}
footer a:hover {
    text-decoration: underline;
}

/* Container for the links */
.footer-links {
    display: flex;
    justify-content: center; /* Centers the two columns horizontally */
    flex-wrap: wrap; /* Ensures responsiveness on smaller screens */
    gap: 20px; /* Space between columns */
}

/* Each column */
.footer-column {
    flex: 1; /* Equal width for columns */
    min-width: 150px; /* Ensures the columns don't shrink too much */
}

/* Links styling */
.footer-column a {
    display: block; /* Makes links stack vertically */
    margin: 5px 0;
}

.contact-info p {
    color: #4CAF50;
    font-size: 6px;
}

@font-face {
    font-family: 'RegularPY-1250';
    src: url('./fonts/RegularPY-1250.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LowC-MS-LEN3-1250';
    /*src: url('fonts/LowC-LEN3-1250.woff') format('woff');*/
    src: url('fonts/Len3lowc-1250.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LowC-SP-1250';
    src: url('fonts/LowC-SP-1250.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LowC-IPA-1250';
    src: url('fonts/LowC-IPA-1250.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LowC-EN-1250';
    src: url('fonts/LowC-EN-1250.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HanZiYin-1250';
    src: url('fonts/HanZiYin-1250.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CAPS-Len4-MS-1250';
    src: url('fonts/CAPS-Len4-MS-1250.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CAPS-MS-1250';
    src: url('fonts/CAPS-MS-1250.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LowC-Len4-MS-1250';
    src: url('fonts/LowC-Len4-MS-1250.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LowC-MS-1250';
    src: url('fonts/LowC-MS-1250.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


.link-container {
  column-count: 2;
}
.link-container a {
  font-size: 16px;
}
.copyright {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/*!* 响应式 *!*/
/*.font-selector {*/
/*    margin: 5px;*/
/*}*/

/*footer {*/
/*    background-color: #333;*/
/*    color: #4CAF50;*/
/*    text-align: center;*/
/*    padding: 10px;*/
/*    position: relative;*/
/*    width: 100%;*/
/*    font-size: clamp(14px, 2vw, 16px); !* 响应式字体大小 *!*/
/*}*/

/*footer a {*/
/*    color: #4CAF50;*/
/*    text-decoration: none;*/
/*    margin: 0 10px;*/
/*    font-size: clamp(12px, 1.8vw, 16px); !* 响应式字体 *!*/
/*}*/

/*footer a:hover {*/
/*    text-decoration: underline;*/
/*}*/

/*!* Container for the links *!*/
/*.footer-links {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    flex-wrap: wrap;*/
/*    gap: 20px;*/
/*}*/

/*!* Each column *!*/
/*.footer-column {*/
/*    flex: 1;*/
/*    min-width: 150px;*/
/*}*/

/*!* Links styling *!*/
/*.footer-column a {*/
/*    display: block;*/
/*    margin: 5px 0;*/
/*    font-size: clamp(12px, 1.6vw, 15px); !* 响应式字体 *!*/
/*}*/

/*.contact-info p {*/
/*    color: #4CAF50;*/
/*    font-size: clamp(10px, 1.3vw, 14px); !* 响应式字体 *!*/
/*}*/

/*!*  *!*/
/*.link-container {*/
/*    column-count: 2;*/
/*}*/

/*.link-container a {*/
/*    font-size: clamp(10px, 1.5vw, 14px); !* 响应式字体 *!*/
/*}*/

/*.copyright {*/
/*    font-size: clamp(10px, 1.4vw, 12px); !* 响应式字体 *!*/
/*    color: #888;*/
/*    margin-top: 5px;*/
/*}*/

/*!* 响应式布局：小屏竖排显示 *!*/
/*@media (max-width: 350px) {*/
/*    .footer-links {*/
/*        flex-direction: column;*/
/*        align-items: center;*/
/*    }*/

/*    .footer-column {*/
/*        width: 100%;*/
/*        max-width: 200px;*/
/*        text-align: center;*/
/*    }*/

/*    .footer-column a {*/
/*        font-size: clamp(12px, 2.5vw, 16px);*/
/*    }*/

/*    .contact-info p {*/
/*        font-size: clamp(10px, 2vw, 14px);*/
/*    }*/

/*    .copyright {*/
/*        font-size: clamp(10px, 2vw, 12px);*/
/*        padding: 5px;*/
/*    }*/
/*}*/

