body {
    font-family: Microsoft YaHei, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-image:url('/Source/bg.png');
    background-size: cover;
    background-attachment: fixed;
}

header {
    color: white;
    padding: 1rem;
    text-align: center;
}

.logo {
    margin: 1rem 3rem;
    max-width: 5%;
    height: auto;
    border-radius: 50px;
}

nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 3px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

nav ul li a.active {
    background-color: #e0e0e0;  /* Darker gray for active state */
}

nav ul li a:hover:not(.active) {
    background-color: rgba(223, 223, 223, 0.5);  /* Light gray on hover for inactive items */
}

main {
    padding: 1px 2rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

h1, h2 {
    color: #4a90e2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 10px;
}

.content-section {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 2rem 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    backdrop-filter: blur(10px);
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.content-section p, .content-section ul {
    text-align: justify;
    padding: 0 1rem;
}

.content-section ul {
    list-style-position: inside;
}

.author-avatar {
    margin: 1rem 1rem;
    max-width: 100px;
    height: auto;
    border-radius: 25px;
}

.author {
    text-align: center;
}

.now-page {
    background-color: rgba(74, 144, 226, 0.5);
}

.rounded{
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

#Author-group {
    display: flex;
}