@charset "utf-8";
body{
	margin: 0;
}

.container{
	width: 100%;
    overflow: hidden;
	font-family: "Microsoft YaHei,SimSun";
}

.clearfix {
    zoom: 1;
}

.head-box{
	background: url(./images/head.jpg) no-repeat center;
    height: 913px;
}

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

.flex-both-center{
	display: flex;
	justify-content: center;
	align-items: center;
}

.flex-f-d-c{
	flex-direction: column;
}

.flex-container{
	max-width: 1260px;
	padding: 0 100px;
}

.line-flex-end{
	margin-bottom: 20px;
    width: 100%;
	display: flex;
	justify-content: end;
}

.line-flex-start{
	width: 100%;
	display: flex;
	justify-content: start;
}

.text-right{
	text-align: right;
}

.padding-l-5{
	padding-left: 5px;
}

.p-text-indent{
	text-indent: 50px;
	text-align: justify;
}

.text-box{
	font-size: 25px;
    font-family: Source Han Sans CN;
    font-weight: 400;
    line-height: 40px;
    margin-bottom: 20px;
    text-align: start;
}

.video-box{
	margin-top: 50px;
	position: relative;
}

.red-video-b{
	border: 2px solid red;
    position: relative;
    left: 5%;
}

.video-s{
	width: 95%;
	height: auto;
	box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.2);
	position: absolute;
}

.product-infos,.template-infos,.device-infos{
	text-align: center;
	font-family: Source Han Sans CN;
}

.p-text-our{
    letter-spacing: 10px;
    font-size: 3em;
    font-weight: 500;
}

.p-imgs-box{
	position: relative;
}

.red-l-p-box{
	width: 50%;
	border: 2px solid red;
}

.p-many{
	margin-top: -2.3em;
    color: #a9a9a9;
    font-weight: 400;
}

.p-imgs{
	width: 95%;
    padding: 30px 0 30px 5%;
	position: absolute;
    top: 0;
}

.p-imgs-item{
	display: inline-block;
    width: 33.3%;
    margin-left: -1%;
}

.p-imgs-item > img{
	width: 100%;
    height: auto;
}

/***模板墙***/
.total-gallery{
	margin-top: 300px;
	display: flex;
	justify-content: center;
	transform: translate(-92.5px, 0px);
	/* --s: 150px; control the size */
	/* --s: 200px; */
	--g: 10px; /* control the gap */
	--_x1: calc(-0.62 * var(--s));
	transform: translate(var(--_x1, 0), 0)
}
.gallery-container {
	/* min-height: 100vh;
	display: grid;
	place-content: center; 水平垂直方向居中
	background: #aabbfb; */
	display: inline-block;
	/* place-content: center; */
	/* background: #aabbfb; */
}
.gallery {
	display: grid;
}

.gallery > div {
grid-area: 1/1; /* 规定从第一行第一列开始显示项目 */
width: var(--s);
aspect-ratio: 1.15; /* 宽高比例缩放 */
object-fit: cover; /* 保持图片原有比例, 会有剪切*/
/* clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0 50%); */
transform: translate(var(--_x, 0), var(--_y, 0)) scale(var(--_t, 1)); /* 对图片进行移动和缩放 */
cursor: pointer;
/* filter: grayscale(80%); 灰度滤镜 */
transition: 0.2s linear; /* 过渡效果 */
}
.gallery > div:hover{
filter: grayscale(0);
z-index: 1;
--_t: 1.2;
}
.gallery > div:nth-child(1) {
--_y: calc(-100% - var(--g));
}
.gallery > div:nth-child(7) {
--_y: calc(100% + var(--g));
}
.gallery > div:nth-child(3),
.gallery > div:nth-child(5) {
--_x: calc(-75% - 0.87 * var(--g));
}
.gallery > div:nth-child(4),
.gallery > div:nth-child(6) {
--_x: calc(75% + 0.87 * var(--g));
}
.gallery > div:nth-child(3),
.gallery > div:nth-child(4) {
--_y: calc(-50% - 0.5 * var(--g));
}
.gallery > div:nth-child(5),
.gallery > div:nth-child(6) {
--_y: calc(50% + 0.5 * var(--g));
}

.gallery-container2{
	/* transform: translate(92.5px, 0px);
	transform: translate(117.5px, 0px); */
	--_x1: calc(0.5 * var(--s) + 2 * 0.87 * var(--g));
	transform: translate(var(--_x1, 0), 0)
}

.gallery-container3{
	/* transform: translate(185px, 0px);
	transform: translate(235px, 0px); */
	--_x1: calc(1 * var(--s) + 4 * 0.87 * var(--g));
	transform: translate(var(--_x1, 0), 0)
}

.gallery-container2 > .gallery > div:nth-child(3),.gallery-container3 > .gallery > div:nth-child(3){
	--_y: calc(-150% - 1.5 * var(--g));
}

.gallery-container2 > .gallery > div:nth-child(5),.gallery-container3 > .gallery > div:nth-child(5){
	--_y: calc(150% + 1.5 * var(--g));
}

.gallery-img-box{
	display: flex;
	justify-content: center;
    align-items: center;
}

.gallery-img-box-bg,.d-img-box-bg{
	width: 100%;
    position: absolute;
    left: 0;
}

.gallery-img{
	width: 60%;
    z-index: 1;
    height: 65%;
}

.gallery-logo-img{
	clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    width: 100%;
    height: 100%;
}

.t-name{
	z-index: 99;
    width: 100%;
    font-size: 14px;
}

.d-title{
	margin-top: -1.2em;
    font-size: 23px;
	margin-bottom: 10px
}

.device-infos{
	margin-top: 30px;
}

.device-info{
	width: 33%;
	display: inline-block;
}

.d-imgs{
	position: relative;
}

.d-imgs{
	cursor: pointer;
	position: relative;
	transition: 0.2s linear; /* 过渡效果 */
	transform: scale(var(--_t, 1)); /* 对图片进行移动和缩放 */
	z-index: var(--_i, 1); /* 默认的z-index */
}

.p-imgs-item{
	cursor: pointer;
	position: relative;
	transition: 0.15s linear; /* 过渡效果 */
	transform: scale(var(--_t, 1)); /* 对图片进行移动和缩放 */
	z-index: var(--_i, 1); /* 默认的z-index */
}

.d-imgs:hover{
	z-index: 99;
	--_t: 1.2;
	--_i: 99
}

.p-imgs-item:hover{
	z-index: 99;
	--_t: 1.1;
	--_i: 99
}

.d-img{
	position: relative;
	width: 95%;
}

.d-name{
	margin-top: 20px;
}

.footer-box{
	margin-bottom: -5px;
}