/* CSS部分 */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* 隐藏滚动条 */
}

.fullscreen-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片宽高比并填充容器 */
    z-index: -1;
}

.footer-list {
    position: absolute; /* 添加相对定位 */
    bottom: 0;
    z-index: 1; /* 确保列表在图片之上 */
    width: 100%;
    padding: 20px; /* 根据需要调整内边距 */
    box-sizing: border-box; /* 包含内边距在宽度计算中 */
    text-align: center; /* 文本居中 */
    background-color: rgba(255, 255, 255, 0); /* 半透明背景，便于阅读 */
    justify-content: space-around;
}

/* 可选：为每列文本设置宽度 */
.column {
    flex: 1; /* 让列自动分配剩余空间 */
    text-align: center; /* 根据需要调整文本对齐方式 */
    color: rgb(128, 138, 135);
    padding: 20px;
}

.avatar-container {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%; /* 创建圆形裁剪 */
}

.avatar {
    width: 100%;
    height: 100%;
    display: block;
}

.center-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100vh; /* 使容器高度充满视口高度 */
}

.avatar-group {
    flex-direction: column;
    margin: 0 10px; /* 可选，为每个组合添加左右外边距以间隔 */
}

.avatar-container::before {
    content: "";
    position: absolute;
    top: -1px; /* 调整以避免遮挡 */
    left: -1px;
    width: calc(100% + 2px); /* 考虑边框宽度，避免缩小导致遮挡 */
    height: calc(100% + 2px);
    border-radius: 50%;
    border: 3px solid #fff;
    z-index: -1; /* 确保伪元素在图片下方 */
}

.username {
    text-align: center; /* 文本居中 */
    margin-top: 10px; /* 根据需要调整与头像的距离 */
    font-size: 16px;
    color: palegreen;
    overflow: visible;
}

.sidebar-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 24px;
    z-index: 9999;
    cursor: pointer;
    color: azure;
    background-color: transparent;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

.sidebar {
    height: 100vh;
    width: 250px;
    background-color: rgba(128, 128, 128, 0.2);
    position: fixed;
    right: -250px;
    top: 0;
    transition: right 0.3s ease;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 使侧边栏内容和图片分布在两端 */
}

.sidebar.active {
    right: 0; /* 当侧边栏激活时，将其位置设为0 */
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: center;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

.sidebar ul li a:hover {
    background-color: #555;
}

.sidebar-toggle:hover {
    background-color: #555;
}

.sidebar-image {
    padding: 10px;
}

.sidebar-image img {
    width: 100%;
    height: auto;
    display: block;
}