/* 控制游戏背景 */
html {
    background-color: #502c14;
}
.a1 {
	background: url('../images/youxibj.jpg') no-repeat center top;
	width: 630px;
	margin: 20% auto 0;
	background-size: cover;

}
p {
    margin-bottom: 2.4vw;
    text-indent: 2em;
 
}

body{
background-color:#502c14;
      height: 100%;
  witdh:100%;
}
.kuang {
	/* overflow-y: scroll; */
	height: 500px;
}

.div1 {
	display: flex;
	justify-content: center;
}

.anniu {
	list-style: none;
}

.anniu li {
	float: left;
	width: 34%;
}

/*  游戏图控制 */

/* 滚动文字 */
.scroll-box {
	width: 800px;
	/* 设置容器宽度 */
	height: 500px;
	/* 设置容器高度 */
	/* overflow-y: scroll; /* 开启垂直滚动条 */
	*/ border: 1px solid #000;
	/* 设置边框 */
}


/* 触发弹窗图片的样式 */





.imgbox>img:hover {
	opacity: 0.7;
}


/* 弹窗背景 */

.modal {
	display: none;
	/* Hidden by default */
	position: absolute;
	/* Stay in place */
	z-index: 1;
	/* Sit on top */
	/* padding-top: 100px;/* 
			/* Location of the box /* 
			left: 0;
			top: 0;
			width: 100%;
			/* Full width */
	left: 0;
	right: 0;
	height: 100%;
	/* Full height */
	/* overflow: auto; */
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.5);
	/* Black w/ opacity */
}


/* 图片 */

.modal-content {
	display: block;
	width: 80%;
	margin-top: 10%;
	margin-left: 10%;
}


/* 添加动画 */

.modal-content,
#caption {
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
	from {
		-webkit-transform: scale(0)
	}

	to {
		-webkit-transform: scale(1)
	}
}

@keyframes zoom {
	from {
		transform: scale(0)
	}

	to {
		transform: scale(1)
	}
}


/* 关闭按钮 */

.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}

.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}






* {
	margin: 0;
	padding: 0;
}

.shengming {
    text-indent: 0;
    text-align: center;
    margin-bottom: 2vw;
    color: #392d1c;
}
.wztu .sm {
    margin-bottom: 0.5vw;
}


.box {
	width: 1000px;
	margin: 0px auto;
	overflow: hidden;
	background-color: #502c14;
	position: relative;
  
}

.div1 {
	width: 100%;
}

.box>div>img {
	width: 100%;
}

.div2 {
	position: relative;
	float: left;
	width: 50%;
	background: url('../images/zuo.png') no-repeat center top;
	background-size: cover;
	height: 1091px;
}

.div3 {
	float: right;
	width: 50%;
	background: url('../images/you.png') no-repeat center top;
	background-size: cover;
	height: 1091px;
}

.anniu li {
	width: 210px;
	height: 210px;
	float: left;
	margin-left: 10px;
}

/* 01 */
.anniu>li:nth-child(1) {
	display: block;
	background: url("../images/hui01.png")no-repeat center top;
	background-size: contain;

}

.anniu>li:nth-child(1):hover,
.anniu>li:nth-child(1).myNewClass {
	cursor: pointer;
	background: url("../images/dl01.png") no-repeat center top;
	background-size: contain;

}

/* 02 */
.anniu>li:nth-child(2) {
	display: block;
	background: url("../images/hui02.png") no-repeat center top;
	background-size: contain;

}

.anniu>li:nth-child(2):hover,
.anniu>li:nth-child(2).myNewClass {
	cursor: pointer;
	background: url("../images/dl02.png") no-repeat center top;
	background-size: contain;

}

/* 03 */
.anniu>li:nth-child(3) {
	display: block;
	background: url("../images/hui03.png") no-repeat center top;
	background-size: contain;

}

.anniu>li:nth-child(3):hover,
.anniu>li:nth-child(3).myNewClass {
	cursor: pointer;
	background: url("../images/dl03.png") no-repeat center top;
	background-size: contain;

}

/* 04 */
.anniu>li:nth-child(4) {
	display: block;
	background: url("../images/hui04.png") no-repeat center top;
	background-size: contain;

}

.anniu>li:nth-child(4):hover,
.anniu>li:nth-child(4).myNewClass {
	cursor: pointer;
	background: url("../images/dl04.png") no-repeat center top;
	background-size: contain;

}

/* 05 */
.anniu>li:nth-child(5) {
	display: block;
	background: url("../images/hui05.png") no-repeat center top;
	background-size: contain;

}

.anniu>li:nth-child(5):hover,
.anniu>li:nth-child(5).myNewClass {
	cursor: pointer;
	background: url("../images/dl05.png") no-repeat center top;
	background-size: contain;

}

/* 06 */
.anniu>li:nth-child(6) {
	display: block;
	background: url("../images/hui06.png") no-repeat center top;
	background-size: contain;

}

.anniu>li:nth-child(6):hover,
.anniu>li:nth-child(6).myNewClass {
	cursor: pointer;
	background: url("../images/dl06.png") no-repeat center top;
	background-size: contain;

}

/* 07 */
.anniu>li:nth-child(7) {
	display: block;
	background: url("../images/hui07.png") no-repeat center top;
	background-size: contain;

}

.anniu>li:nth-child(7):hover,
.anniu>li:nth-child(7).myNewClass {
	cursor: pointer;
	background: url("../images/dl07.png") no-repeat center top;
	background-size: contain;

}

/* 08 */
.anniu>li:nth-child(8) {
	display: block;
	background: url("../images/hui08.png") no-repeat center top;
	background-size: contain;

}

.anniu>li:nth-child(8):hover,
.anniu>li:nth-child(8).myNewClass {
	cursor: pointer;
	background: url("../images/dl08.png") no-repeat center top;
	background-size: contain;

}

.tkuang {
	display: none;
	position: absolute;
	width: 600px;
	height: 800px;
	top: 20%;
	left: 0;
	right: 0;
	margin: 0px auto;
	background-color: antiquewhite;
}

.show {
	display: block;
}


.shedongtu img {
	width: 100%;
}

.shedongtu {
	position: absolute;
	left: 25px;
	top: 378px;
	width: 200px
}

.zhushi {
  
    color: #392d1c;
    width: 90%;
    margin: 0px auto;
    /*font-size: 1.2vw;*/
    line-height: 140%;
    text-indent: 0;
    text-align: center;
    margin-bottom: 2vw;

}

.gbi {
    cursor: pointer;
    width: 65px;
    position: absolute;
    right: 0;
    top: 0;
}

/* 控制弹窗的样式开始 */
/* 整个滚动条 */
::-webkit-scrollbar {
	width: 10px;
	/* 滚动条宽度 */

}

/* 滑块轨道 */
::-webkit-scrollbar-track {
	background: #d2b184;
	/* 轨道背景颜色 */
	border-radius: 10px;
}

/* 滑块 */
::-webkit-scrollbar-thumb {
	background: #a58151;
	/* 滑块背景颜色 */
	border-radius: 10px;
	/* 圆角 */
}

/* 鼠标悬停在滑块上 */
::-webkit-scrollbar-thumb:hover {
	background: #896a40;
	/* 悬停时的滑块背景颜色 */
}

.popup {
	display: none;
	/* 默认隐藏 */

	padding: 40px;


}

.bt {
  font-weight: 700;
	font-size: 22px;
	text-align: center;
	margin-top: -1%;
	margin-bottom: 75px;
}

.gd {
	overflow-y: auto;
	max-height: 500px;
	padding: 0px 10px;
  
}

.kuang {
	display: none;
	background: url('../images/bg1.png') no-repeat center top;
	background-size: contain;
	width: 570px;
	min-height: 800px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000;

}

.kuang img {
	width: 100%;
}

.overlay {
	display: none;
	/* 默认隐藏 */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 999;
}

/* 弹窗结束 */


@media (max-width: 1000px) {

	.box {
	width: 100%;
  position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	}

	.div2 {
		height: 107.4vw;
	}

	.div3 {
		height: 107.4vw;
	}

	.anniu li {
		width: 20vw;
		height: 20vw;
		float: left;
		margin-left: 10px;
	}

	.shedongtu {
		position: absolute;
		left: 3vw;
		top: 36vw;
		width: 20vw;
	}


	/* 弹窗 */

	.kuang {
    background-size: contain;
        width: 58vw;
        min-height: 75vw;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;

	}

	.popup {

		padding: 6vw;
	}

	.gd {
     
        overflow-y: auto;
        max-height: 47vw;
        padding: 2vw;
        font-size: 1.9vw;
        line-height: 150%;       
		
	}

	.bt {
	    font-size: 22px;
        text-align: center;
        margin-top: -8%;
        margin-bottom: 7vw;
	}


}

/* 小屏幕中图片宽度为 100% */

@media (max-width: 787px) {
  
  	.kuang {
        background-size: contain;
        width: 80vw;
       /*  min-height: 139vw;*/
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;

	}
  
	.modal-content {
		width: 90%;
		margin-top: 5%;
		margin-left: 5%;
	}

	.close {
		top: 7px;
		right: 20px;
	}

	.box {
		width: 100%;
   position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	}
  
 .gd {
        
       overflow-y: auto;
        max-height: 66vw;
        padding: 2vw;
        font-size: 3.6vw;
        line-height: 150%;
    
    }
      
       
    
		


	.bt {
        font-size: 4.6vw;
        text-align: center;
        margin-top: -4%;
        margin-bottom: 7vw;
        font-weight: 700;
	}
  
  .gbi {
    cursor: pointer;
    width: 58px;
    position: absolute;
    right: 0;
    top: -7vw;
}
  
}


