* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    font-size: 16px;
    background: #EFEFEF;
}

.page {
    width: 100%;
}

/* 顶部固定导航栏 */
.page-top {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 14vh;
    width: 96%;
    padding-left: 2%;
    padding-right: 2%;
    background: url('../img/bjtu.png') no-repeat 10vw center;
    background-size: auto 100%;
    box-shadow: 4px 0 4px 0 #ccc;
    background-color: white;
}

.page-top a {
    font-size: 28px;
    font-weight: bold;
    color: #E98D0A;
}

.page-top p {
    color: #888;
}

.bjtu {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.bjtu img {
    width: 100%;
    height: auto;
    display: block;
}

.page-con {
    display: flex;
    height: 91.2vh;
    margin-top: 8.8vh;
}

.pc-nav {
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    width: 10vw;
    height: 89.2vh;
    padding-top: 10.8vh;
    background: #fff;
    box-shadow: 4px 0 4px 0 #ccc;
}

.pc-box {
    width: 84vw;
    margin-left: 13vw;
}

/* 导航栏 */
.nav {
    width: 100%;
    margin-top: 6vh;
}

.nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    color: #333;
}

.nav .active, .nav a:hover {
    color: #E98D0A;
}

.code {
    width: 100%;
    text-align: center;
    margin-bottom: 3vh;
}

.code img {
    width: 150px;
    height: 150px;
}

.code p {
    color: #666666;
    font-size: 14px;
    margin-top: 8px;
}

/* 活动图片滚动区域 */
.activity-page {
    margin: 60px 20px;
    text-align: center;
}

.activity-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.activity-images {
    width: 87vw; /* 设置容器宽度为页面宽度的 80% */
    height: 400px; /* 设置容器高度为 400px */
    overflow: hidden; /* 确保图片不超出容器 */
    position: relative;
    margin-left: 10vw; /* 控制左边距为页面宽度的 10% */
    margin-right: auto; /* 自动计算右边距，保持容器水平居中 */
    margin-top: 0; /* 可根据需要调整顶部间距 */
}


.image-container {
    display: flex;
    animation: scroll-images 20s linear infinite;
}

.image-container img {
    width: 300px; /* 适当调整图片的宽度 */
    height: auto;
    margin-right: 20px; /* 图片之间的间隔 */
    border-radius: 8px;
}

/* 图片滚动动画 */
@keyframes scroll-images {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* 滚动到100%，使图片循环滚动 */
    }
}

/* 屏幕尺寸调整 */
@media (max-width: 768px) {
    .image-container img {
        width: 200px; /* 调整移动端图片大小 */
    }

    .activity-title {
        font-size: 28px;
    }
}

/* 页面内容区 */
.home-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 30px;
}

.banner {
    margin-top: 35px;
    width: 77%;
    height: 350px;
}

.banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* 用户信息 */
.user-info {
    margin-top: 35px;
    width: 20%;
    min-width: 322px;
    height: 350px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 10px 15px -3px rgba(68, 68, 68, 0.25);
}

/* 其他页面部分（如：团队、作品、新闻等） */
.zuopin {
    width: 100%;
    margin-top: 20px;
}

.common-title {
    font-size: 22px;
    color: #000000;
    padding-left: 10px;
    border-left: 5px solid #000000;
    margin-bottom: 15px;
}

.zuopin-box ul {
    display: flex;
    flex-wrap: wrap;
}

.zuopin-box ul li {
    list-style: none;
    width: 23%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    margin-right: 2.66%;
}

.zuopin-box ul li:nth-child(4n+4) {
    margin-right: 0;
}

.zuopin-box ul li img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.zuopin-box ul li p {
    padding: 15px 0;
    text-align: center;
    color: #000;
    font-size: 18px;
}

.sheng-box {
    margin: 20px 0;
}

.sheng-box-list {
    display: flex;
    background: #fff;
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
}

.sbl-img img {
    width: 382px;
    height: 251px;
    border-radius: 10px;
    object-fit: cover;
}

.sbl-text {
    margin-left: 30px;
}

.sbl-text h3 {
    font-size: 24px;
    color: #000000;
}

.sbl-text p {
    font-size: 18px;
    font-weight: 400;
    color: #666666;
    line-height: 40px;
    margin: 20px 0;
}

.sbl-text span {
    display: flex;
    align-items: center;
    color: #CDCDCD;
    font-size: 18px;
    font-weight: 400;
}

.sbl-text img {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

/* 联系页面 */
.contact {
    background: #fff;
    border-radius: 10px;
    margin: 65px 0;
    padding: 40px 35px;
}
