body {
    justify-content: center;
    align-items: flex-start;
    /* 使内容从顶部开始 */
    background-color: #262c4f;
    overflow-x: hidden;
}


#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #262c4f;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

#loading img {
    width: 180vh;
    height: 100vh;
}

#loadingText {
    position: absolute;
    bottom: 30%;
    /* 调整文字的位置 */
    z-index: 10000;
    /* 确保文字在图片之上 */
    font-size: 300%;
    font-weight: 800;
    font-family: Arial, sans-serif;
    color: #fff9c9;
    /* 根据背景图片的颜色调整文字颜色 */
}

.dots {
    display: inline-flex;
    margin-left: 0.8vw;
    /* 在文字和小圆点之间增加一点间距 */
}

.dot {
    width: 0.7vw;
    height: 0.7vw;
    background-color: #000;
    /* 调整小圆的颜色 */
    border-radius: 50%;
    margin-left: 1vw;
    /* 调整小圆点之间的距离 */
}


/* 为每个小圆点设置不同的颜色 */
#dot1 {
    background-color: #fff9c9;
}

#dot2 {
    background-color: #ffb0b1;
}

#dot3 {
    background-color: #b291eb;
}

.left-aligned {
    margin-left: auto;
}

.bg-dark {
    background-color: #343a40 !important;
}

.bg-hero {
    background-color: #45b06cff;
}

/* CALLOUT */
.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
    border-left-width: .25rem;
    border-radius: .25rem
}

.bd-callout h4 {
    margin-bottom: .25rem
}

.bd-callout p:last-child {
    margin-bottom: 0
}

.bd-callout code {
    border-radius: .25rem
}

.bd-callout+.bd-callout {
    margin-top: -.25rem
}

.bd-callout-info {
    border-left-color: #5bc0de
}

.bd-callout-warning {
    border-left-color: #f0ad4e
}

.bd-callout-danger {
    border-left-color: #d9534f
}

/* footer */
footer a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* footer */
footer a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

footer a:hover {
    color: black;
    text-decoration: underline;
}

.footer {
    align-items: center;
    position: relative;
    display: flex;
    font-family: "Quicksand";
    justify-content: center;
}

.end_1 {
    width: 100%;
    bottom: 0vh;
    left: 0vw;
}

.image_end .imgs {
    position: absolute;
}



.image_end .ca_1 {
    width: 20%;
    left: 30vw;
    top: -30vh;
    z-index: 9;
    rotate: 30deg;
}

.image_end .ca_2 {
    width: 20%;
    left: 25vw;
    top: -5vh;
}



.image_end .ca_3_1 {
    width: 20%;
    left: 5vw;
    top: 0vh;
    rotate: 30deg;
}

.image_end .ca_3_2 {
    width: 20%;
    left: 80vw;
    top: 5vh;
    rotate: 60deg;
}




/*------------------------------------------------------------------*/


.content-section {
    opacity: 1;
    transform: translateY(50px);
    /* 初始状态，下移 50px */
}


/* 主体内容 */
.main-content {
    padding: 2rem;
    background-color: #ffffff;
}

.content-section h1 {
    margin-top: 50px;
    font-weight: 800;
    text-align: center;
    color: #262c4f;
}


.content-section h2 {
    margin-top: 50px;
    font-weight: 700;
    text-align: center;
    color: #262c4f;
}


.content-section h3 {
    margin-top: 50px;
    font-weight: 600;
    text-align: center;
    color: #262c4f;
}

.content-section h4 {
    text-align: center;
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 50px;
    color: #262c4f;
}


.content-section h5 {
    text-align: center;
    margin-bottom: 0;
    margin-top: 50px;
    color: #262c4f;
}




.content-section p {
    padding: 2vw;
}

.content-section {
    padding: 2rem 0;
    margin-bottom: 2rem;
    color: #000000;
    /* border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.2); */
}

main {
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    /* 调整模糊程度 */
    /* 添加边框阴影以增强效果 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* 侧边栏样式 */
.sidebar {
    position: sticky;
    top: 10vh;
    /* 固定顶部的偏移量 */
    height: fit-content;
    max-height: 80vh;
    /* 设置最大高度为视口高度的80% */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: rgba(255, 255, 255, 1);
    /* 稍微提升背景透明度 */
    border-radius: 8px;
    /* 圆角 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    /* 当内容超出最大高度时，允许纵向滚动 */
    scrollbar-width: thin;
    /* 设置滚动条宽度 (Firefox) */
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    /* 滚动条颜色 (Firefox) */
}

.three-container-glb {
    width: 100%;
    height: 400px;
    border: 1px solid #ccc;
}


.sidebar::-webkit-scrollbar {
    width: 8px;
    /* 滚动条宽度 */
}

.nav-link.active {
    background-color: rgba(0, 123, 255, 0.2);
    /* 激活时背景颜色 */
    color: #007bff;
    /* 激活时文字颜色 */
    font-weight: bolder;
    /* 加粗 */
}

/* 保持其他样式不变 */
.sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.nav-link {
    color: #262c4f;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s;
    font-weight: bold;
    font-size: 1rem;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.sub-item.level-1 {
    background-color: rgba(222, 224, 255,1);
    color: #6068b5;
    padding: 5px 10px;
    margin-left: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.sub-item.level-2 {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 5px 10px;
    margin-left: 20px;
    border-radius: 5px;
    font-size: 0.85rem;
}

.sub-item.level-3 {
    background-color: rgba(255,230,237, 1);
    color: #cc5677;
    padding: 5px 10px;
    margin-left: 30px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.drop-down,
.sub-dropdown {
    display: none;
}

.drop-down.active,
.sub-dropdown.active {
    display: block;
}

li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 5px;
    margin-bottom: 5px;
}



/*   子网页新增部分    */
@font-face {
    font-family: 'iconfont';
    src: url('font/iconfont.ttf') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 隐藏所有子标签 */
.sub-items {
    display: none;
}



/* 当导航项激活时，显示子标签 */
.nav-item.active .sub-items {
    display: block;
}

/* 子标签的样式 */
.sub-items li {
    margin-left: 20px;
    font-size: 0.9rem;
    color: #555;
}


.sub-items {
    display: none;
    transition: max-height 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.nav-item.active .sub-items {
    display: block;
    max-height: 500px;
    /* 根据内容长度调整这个值 */
}

p {
    font-size: 125%;
}