.bodysize{
	min-width: 1850px;
}
/* 关闭按钮 */
.close {
	align-content:center;
    position:absolute;
    top: 100px;
    right: 60px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
 
.close:hover,.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/* 缩放按钮 */
.c {
	display: block;
	width: 36%;
	text-align: center;
	margin: -19.6% -21% -5% 32%;
	padding: 20% 0% -5% 0%;
}
/* 居中 */
.div-in-center {
	margin: auto;
	display: block;
	text-align: center;
}
	
/* 倒计时 */
.time {
	font-family:"Impact", "Times New Roman", Times, serif;
	text-align: center;
	color: #e13c00;
	font-size: 2.5em; 
	font-weight: 200;
}
 
/* 弹窗背景 */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 170px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}
 
/* 图片 */
.modal-content {
    margin: auto;
	top: 80px;
    display: block;
	text-align: center;
    width: 50%;
    max-width: 1200px;
}

/* 页面布局 */

.div-gif1st {
    padding: 2% 0% 3% 0%;
}
.div-gif1st img {
		width: 65%;
		padding: 0% 4% 0% 0%;
	}
	
.div-rec {
	margin-top: -18rem;
	margin-bottom: 18rem;
    padding: 0% 0% 2% 0%;
}
.div-rec img {
		width: 24%;
	}
	
.div-gif2nd {
	margin-top: -20rem;
	margin-bottom: 18rem;
    padding: 0rem 0rem 0rem 0rem;
}
.div-gif2nd img {
		width: 50%;
	}
.div-time {
	margin-top: -19rem;
	margin-bottom: 19rem;
    padding: 0rem 0rem 0rem 0rem;
}
.div-time span {
		width: 50%;
	}
	
.div-get {
	margin-top: -20rem;
	margin-bottom: 22rem;
    padding: 0rem 0rem 0rem 0rem;
}
.div-get img {
		width: 20%;
	}

/* PAD端 */
@media(max-width:1024px) {
	.bodysize{
		min-width: 1024px;
	}
	.c {
		margin: -22% -21% -5% 31%;
		padding: 20% 0% -5% 0%;
	}
	.close {
	    top: 150px;
	    right: 45px;
	}
	.modal-content {
		top: 80px;
	    width: 75%;
	}
	.time {
		font-size: 1.7em; 
	}
	.modal {
	    padding-top: 300px;
	}
	.div-gif1st {
	    margin-top: 8%;
	    margin-bottom: 0%;
	    padding: 0% 0% 0% 0%;
	}
	.div-gif1st img {
			width: 90%;
			padding: 0% 4% 0% 0%;
		}
		
	.div-rec {
	    margin-top: -18%;
	    margin-bottom: 	4%;
	    padding: 0% 0% 0% 0%;
	}
	.div-rec img {
			width: 40%;
		}
		
	.div-gif2nd {
	    margin-top: -6%;
	    margin-bottom: 0%;
	    padding: 0% 0% 0% 0%;
	}
	.div-gif2nd img {
			width: 90%;
		}
	.div-time {
	    margin-top: -4%;
	    margin-bottom: 0%;
	    padding: 0% 0% 0% 0%;
	}
	.div-time span {
			width: 45%;
		}
		
	.div-get {
	    margin-top: -2%;
	    margin-bottom: 5%;
	    padding: 0% 0% 0% 0%;
	}
	.div-get img {
			width: 36%;
		}
}
/* 移动端 */
@media only screen and (max-width: 767px){
	.bodysize{
		width: 100%;
		max-width: 767px;
		min-width: 375px
	}
	.c {
		margin: -23.7% -21% -5% 31%;
		padding: 20% 0% -5% 0%;
	}
	.time {
		font-size: 1em; 
	}
	.close {
	    top: 70px;
	    right: 25px;
	    color: #f1f1f1;
	    font-size: 30px;
	    font-weight: bold;
	    transition: 0.3s;
	}
    .modal-content {
		top: 70px;
        width: 80%;
    }
	.modal {
	    padding-top: 180px; /* Location of the box */
	}
	.div-gif1st {
	    margin-top: 8%;
	    margin-bottom: 0%;
	    padding: 0% 0% 0% 0%;
	}
	.div-gif1st img {
			width: 90%;
			padding: 0% 4% 0% 0%;
		}
		
	.div-rec {
	    margin-top: -18%;
	    margin-bottom: 	4%;
	    padding: 0% 0% 0% 0%;
	}
	.div-rec img {
			width: 40%;
		}
		
	.div-gif2nd {
	    margin-top: -6%;
	    margin-bottom: 0%;
	    padding: 0% 0% 0% 0%;
	}
	.div-gif2nd img {
			width: 90%;
		}
	.div-time {
	    margin-top: -4%;
	    margin-bottom: 0%;
	    padding: 0% 0% 0% 0%;
	}
	.div-time span {
			width: 45%;
		}
		
	.div-get {
	    margin-top: -3%;
	    margin-bottom: 6%;
	    padding: 0% 0% 0% 0%;
	}
	.div-get img {
			width: 36%;
		}
}

/* 添加动画 */
.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)}
}

/* 缩放 */
.anima{
   animation: firstdiv 1s linear 1s infinite alternate;
}

@keyframes firstdiv{
   0%{
      transform: scale(1);
   }
   25%{
      transform: scale(0.9);
   }
   50%{
      transform: scale(0.8);
   }
   75%{
      transform: scale(0.9);
   }
   100%{
      transform: scale(1);
   }
}