/*导航栏位置*/
.navbar{
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
/*导航栏管理员头像部分*/
/*头像功能区*/
.base-frame {
    position: relative;
    height: 70px;
    width: 50%;
    z-index: 0;
    display: flex;
    align-items: center;
}
/*圆形头像框*/
.circular-avatar {
    position: absolute;
    width: 55px; /* 调整宽度 */
    height: 55px; /* 调整高度 */
    border-radius: 50%; /* 圆形边界 */
    object-fit: cover; /* 图片填充整个区域 */
    border: 2px solid white; /* 白色边框 */
    z-index: 2;
}
.circular-avatar:hover {
    position: absolute;
    width: 60px; /* 调整宽度 */
    height: 60px; /* 调整高度 */
    border-radius: 50%; /* 圆形边界 */
    object-fit: cover; /* 图片填充整个区域 */
    border: 3px solid white; /* 白色边框 */
    z-index: 2;
    left: -5px;
}
/*头像菜单*/
.navbar-brand .pillow-menu{
    position: absolute;
    left: 10%;
    height: 65px;
    width: 25vw;
    z-index: 1;
    display: flex;
    align-items: center;
}
/*滚动向上添加的样式*/
.is-fixed {
    position: fixed;
    top: -89px;
    transition: transform 0.2s;
    border-bottom: 1px solid white;
    background-color: rgba(255, 255, 255, 1);
}
.is-visible {
    transform: translate3d(0, 100%, 0);
}
.user a {
    color: white;
}
.user a:hover {
    color: white;
    text-decoration: underline;
}
.is-fixed .user a{
    color: black;
}
.is-fixed .user a:hover {
    color: black;
    text-decoration: underline;
}
/*头图样式*/
.masthead {
    position: relative;
    min-height: 70vh; /* 设置最小高度为视口高度的70% */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
    z-index: 0;
}
.masthead::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.05); /* 黑色背景，50%不透明度 */
}