/* 确保所有元素的宽度不会超过视口 */
* {
    box-sizing: border-box;
}
/* 重置a标签样式 */
a {
    color: inherit; /* 继承父元素的文字颜色 */
    text-decoration: none; /* 去掉下划线 */
}
 
/* 鼠标悬停时的样式 */
a:hover {
    text-decoration: none; /* 鼠标悬停时增加下划线 */
}
/* HTML和body的基本样式 */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 防止水平滚动 */
    width: 100%;
}

/* 确保所有容器的宽度不超过视口 */
.container {
    max-width: 100%;
    overflow: hidden;
}
body {
    background-image: url('../img/pc_bg.jpg');
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.container {
    width: 1300px;
    margin: auto;
    padding: 20px;
    position: relative;
	margin-top:1.5%
}

.top-image {
    display: block;
    margin: 0 auto;
    width: 392px;
    max-width: 100%;
	margin-bottom: 2%;
}

.slideshow-container {
    position: relative;
    margin: auto;
}

.slides {
    text-align: center;
	display: none;
}
.slides img{
	margin:0 auto;
	width:1148px;
}
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev img, .next img {
    width: 34px;
}

.dots-container {
    text-align: center;
    padding: 20px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 2px;
    background-color: #D8D2FF;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #978CD9;
}

.center-image-container {
    text-align: center;
    margin: 20px 0;
}

.center-image {
    width: 250px; /* 根据需要调整宽度 */
    height: auto;
}

.three-images-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.three-images {
    width: 210px; /* 根据需要调整宽度 */
    height: auto;
}

.footer {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    width: 100%;
  }

.action:hover {background-color: #666;}
.website:hover {background-color: #ccc;}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 10px;
		margin-top:5%;
    }
    .top-image {
        width: 80%;
    }
	.slides img{
		width:100%;
	}
	.three-images-container {
        flex-direction: column;
        align-items: center;
    }
	.three-images-container {
		flex-direction: inherit;
		display: flex;
		gap: 10px;
		justify-content: left;
	}
	.three-images {
		width:90%;
	}
	.top-image {
		margin-bottom:5%;
	}
	
}
/* 弹出窗口样式 */
        .modal {
            display: none; /* 初始隐藏 */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); /* 蒙版 */
            justify-content: center;
            align-items: center;
        }
        .modal-content {
            background-color: white;
            border-radius: 5px;
            position: relative;
            width: 90%; /* 设置为90%以适应手机屏幕 */
            max-width: 560px; /* 最大宽度限制 */
        }
        .close {
            position: absolute;
            top: -10px; /* 悬浮在弹窗上方 */
            right: -10px; /* 悬浮在弹窗右侧 */
            cursor: pointer;
        }
        .close img {
            width: 26px; /* 设置图片宽度 */
        }
.tancc {
            background-color: white;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            padding: 10px;
            width: 560px; /* 设置容器宽度 */
        }
        .row {
            display: flex;
            align-items: center;
            margin: 10px 0; /* 行间距 */
        }
        .time, .website, .action {
            display: flex; /* 使用 flex 布局 */
            align-items: center; /* 垂直居中 */
            justify-content: center; /* 水平居中 */
            padding: 10px;
            border-radius: 5px;
            height: 55px; /* 高度一致 */
        }
        .time {
            background-color: #DAD4FF; /* 灰色背景 */
            margin-right: 10px;
        }
        .arrow {
            margin: 0 10px;
            font-size: 24px; /* 箭头大小 */
        }
        .website {
            background-color: #DAD4FF; /* 浅蓝色背景 */
            margin-right: 10px;
            flex-grow: 1; /* 使网站部分占据剩余空间 */
        }
        .action {
            background-color: #81A0EF; /* 蓝色背景 */
            color: white;
        }
@media (max-width: 768px) {
	.modal-content {
		width:94%!important;
	}
	.tancc {
		width:100%;
	}
	.arrow {
		margin:0;
	}
	.time {
		margin-right:3px;
	}
	.arrow img{
		width:80%;
	}
	.time, .website, .action {
		height:55px;
	}
	.website {margin-right:5px;width: 100%;}
	.action {font-size: 12px;}
}