/* 全局样式 */
body {
    font-family: 'Garamond', serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f0f0;
    color: #333;
    overflow: hidden;
}

/* 头部容器 */
#header {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 100;
}

/* 作者名样式 */
.author-name {
    font-size: 22px;
    margin-bottom: 1.5em;
    letter-spacing: 0.1em;
}

/* 导航栏容器 */
#nav {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

/* 导航链接样式 */
.nav-link {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
    writing-mode: horizontal-tb; /* 确保横向排列 */
    transform: rotate(0deg); /* 清除旋转 */
    white-space: nowrap; /* 防止文字换行 */
}

.nav-link:hover {
    opacity: 0.6;
}

/* 图片容器 */
#gallery {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease;
}

/* 图片样式 */
.gallery-image {
    max-width: 70vw;
    max-height: 80vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 1s ease;
}

/* 淡入效果 */
.gallery-image.active {
    opacity: 1;
}

.footer-info {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100;
    font-family: 'Garamond', serif;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}