
/*主内容*/
.content-section {
    margin-top: 6rem;
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

/*主题菜单项样式*/
.dropdown-content li {
    position: relative;
}

.dropdown-content input.theme-controller {
    padding-left: 2rem;
}

.content-section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.content-section h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section a {
    text-decoration: none;
    font-weight: 500;
}

/*.content-section a:hover {*/
/*    text-decoration: underline;*/
/*}*/


/* 卡片 */
.card {
    width: 100%;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    margin-bottom: 1rem;
}



/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    transform: translateY(0);
}

.navbar ul {
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 100%;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
}

.navbar ul li a:hover {
    background-color: color-mix(in srgb,  transparent 90%);
}

.navbar ul li a:hover::after {
    width: 80%;
}


/* 页脚 */
footer {
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}