* {
    margin: 0;
    padding: 0;
    /* list-style: none; */
    text-decoration: none;
    box-sizing: border-box;
}



.content {
    border: 2px solid white;
    margin: 0px auto;
    display: flex;
    background-image: linear-gradient(103.3deg, #55efc4 24%, #74b9ff 50%, #a29bfe 80%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* 侧边导航栏设置 */
.sidebar {
    position: fixed;
    top: 245px;
    border: 2px solid white;
    border-radius: 5px;
    width: 20%;
    height: 640px;
    background-image: url(../img/sider.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 15px 50px;
    
    /* 新增字体控制 */
    white-space: nowrap;         /* 禁止文字换行 */
    overflow: hidden;            /* 隐藏溢出内容 */
    text-overflow: ellipsis;     /* 超出显示省略号 */
    font-size: clamp(14px, 1.2vw, 18px);  /* 自适应字体大小 */
}

.sidebar-right {
    position: fixed;
    top: 245px;
    right: 0px;
    border: 2px solid white;
    border-radius: 5px;
    width: 24%;
    height: 640px;
    background-image: url(../img/shuban/1aed39f2a64c9ff1c40cb2539827438.jpg );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 10px 20px;
}

.qintian-saying{
   
    padding:5px;
    text-align: justify;
    width: 100%;
    line-height: 1.5;
    color: #ffffff;
    background-color: rgba(180, 180, 180, 0.3);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(19, 19, 19, 0.3);
}

.sidebar-right ul li {
    font-size: 22px;
    list-style-type: none;
    font-family: '楷体' ;
    color: white;
}

.sidebar-right li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #994aed;
    margin-right: 10px;
}

.sidebar h2,
.sidebar-right h2 {
    font-weight: bold;
    color: #005a48;
}

hr {
    margin: 5px 0;
    border: none;
    width: 100%;
    height: 3px;
    background-color: #005a48;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li,
.sidebar-right ul li {
    margin: 20px 0;
}

.sidebar ul li a {
    color: #005a48;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.sidebar ul li a:hover {
    color: #ff9800;
    /* 鼠标悬停时的颜色 */
}

.d2 {
    position: absolute;
    left: 20%;
    top: 245px;
    border: 2px solid white;
    flex: 1;
    width: 56%;
    padding: 20px 10px;
    background-image: linear-gradient(103.3deg, #55efc4 24%, #74b9ff 50%, #a29bfe 80%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mainContent01 {
    padding: 20px;
    text-align: justify;
    color: #ffffff;
    background-color: rgba(62, 62, 62, 0.3);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(10, 10, 10, 0.3);
}

.mainContent {
    padding: 20px;
    margin-top: 20px;
    text-align: justify;
    color: #ffffff;
    background-color: rgba(62, 62, 62, 0.3);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(10, 10, 10, 0.3);
}

.mainContent01 p,
.mainContent p {
    font-family: 'Courier New', Courier, monospace;
    text-indent: 2em;
    line-height: 2;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}

.mainContent ol {
    padding:0px 0px 0px 20px;
    margin: 10px 0;
}

.mainContent ol li {
    font-family: '楷体', Courier, monospace;
    /* text-indent: 2em; */
    line-height: 1.8;
    font-size: 22px;
    /* margin-bottom: 10px; */
    font-weight: bold;
}

.chengyuan {
    text-align: center;
    display: inline-block;
}

.chengyuan ul li {
    display: inline-block;
    margin-right: 20px;
}

.chengyuan img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-top: 30px;
}

table {
    border-collapse: collapse;
    margin: 20px 0;
    width: 100%;
    margin-top: 20px;
}

td {
    border: 1px solid #e3f6f6;
    padding: 10px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}

th {
    border: 1px solid #e3f6f6;
    padding: 10px;
    text-align: center;
    font-size: 22px;
    background-color: #55efc3db;
}

#company,#about,#chengYuan,#zuoPin,#contact {
    scroll-margin-top: 255px; /* 在进行滚动跳转时的上边距 */
}


.footer {
    margin-top: 20px;
    margin-bottom: -18px;
    background-color: #a29bfe;
    background-image: linear-gradient(103.3deg, #74b9ff , #a29bfe );
    text-align: center;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    font-weight:550;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(10, 10, 10, 0.3);
    padding: 8px;
}


@media (max-width: 1200px) {
    .sidebar {
        padding: 15px 30px;    
        font-size: clamp(12px, 1.1vw, 16px);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 25%;             
        padding: 15px 20px;
        font-size: clamp(10px, 1vw, 14px);
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 30%;
        padding: 10px;
        font-size: clamp(8px, 0.9vw, 12px);
    }
}