/*设计稿中100px等于1rem*/
html{
	font-size: calc(100vw/10.8);
}
body{background: url(../images/bg.png) #ffbeae; 
	/*否则会有问题-对于这类设计*/
	background-size: 100vw 100vh;
	font-family: roboto sans-serif;}  
.story header span{display: block; padding: 0.66rem 0.78rem 0 0.78rem; font-size: 16px; line-height:1.33; font-weight: bold; color: #d31d1b; }
.question{   
	position: absolute;
	top: 8.12rem; 
	padding: 0 0.78rem;
	font-size: 14px;
	font-weight: bold;
	color: #fefaec;
}
/*刮刮乐*/
.scratch-tickets{
	width: 8.52rem;
	height: 2.3rem;
	padding: 0.52rem 0.3rem;
	/*配合子元素canvas的width:100%;使用*/
	position: absolute;
	bottom: 1.89rem;
	left: 50%;
	margin-left: -4.56rem;
	background: url(../images/bg-layer.png) ;
	background-size: 9.11rem 3.32rem;
}

.scratch-tickets .base-layer, .scratch-tickets .answer, .scratch-tickets .cover-layer{
    width: 8.52rem;
    position: absolute;
    height: 2.3rem;
    
}
.scratch-tickets .cover-layer{
	width: 8.52rem;
	height: 2.3rem;
}
.cover-img{width: 50%;}
.scratch-tickets .base-layer{
    background: url(../images/base-layer.png);
}
.scratch-tickets .answer{
    font-size: 0.54rem;
    color: #fff;
  
    padding-top: 0.90rem;
    text-align: center;

}
.scratch-tickets .answer span{
    padding: 0 4px;
}
/*刮刮乐/*/

/*礼物盒*/
.gift-box1, .gift-box2{
	position: fixed;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.75);
	left: 0;
	top: 0;
	display: none;
	/*visibility: hidden;*/
	z-index: 10;
}
/*.gift-box2{display: block;}*/
.gift-box1 h3{
	margin-top: 20vh;
	margin-left: 5vw;
	margin-right: 5vw;
	text-align: center;
	color: white;
	font-size: 20px;
}
.gift-box1 .decorate, .decorate-small{
	background: url(../images/gift.png);
}
.gift-box1 .decorate {
	background-size: 5.77rem 7.17rem;
	width: 5.77rem;
	height: 7.17rem;
	display: block;
	margin: 2.68rem auto 1.38rem auto;
}
.decorate-small{
	position: fixed;
	width: 1.154rem;
	height: 1.434rem;
	background-size: 1.154rem 1.434rem;
	right: 5px;
	bottom: 5px;
	/*防止点击，却触发”了解更多“*/
	z-index: 1;
	display: none;
}
.gift-box1 p{
	color: #fff;
	font-weight: bold;
	font-size: 17px;
	text-align: center;
}

.close{
	position: absolute;
	right: 0.2rem;
	top: 0.2rem;
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAABfklEQVR42szZPU4DMRAF4I1ERUMHtPwdhoIu4iBJam6QU1AhOiTukAJBm96BNl1aZ4yyIQrJ7sz4zdiWXoqsV/vFsbyWZxBjbDbtnHJC+WnKtyFlQjmjvFOeKKuGsKeUl/jXPijX6UcUyjj+b8+/g0of0wMXA+W2EmjbLlOH+ZGL3uAuaGpXqdOso0MC31UA/WqnwUNPR2twH3TR/sPcG6zAHOj2uZIb0WARdB/rCRZDD2E9wCroMawlWA3twlqAs6B9WCQ4G8rBIsAQKBebA4ZBJVgNGAqVYiVgOFSD5YCXFlAtlgOGQ3OwGvAi91Vt/Y6HQRHYlDcG9h6xU/Ma2VB6ZKVzNpSas9rVIHivBrnrbPBaZ7lvJpP9sOXGGQ623jhDwR47fBjYZYePAntAYWAvKATsCc0Ge0OzwCWganApqArMOZ+1gkrA2/PZWUGo+OR7XhgqqilMK4CyqzWpDva68+Un5abGOthgp8J4sakwfldQYXykjPYrjGsBBgDnIxP0YBMIZAAAAABJRU5ErkJggg==) no-repeat;
	background-size: 0.41rem 0.41rem;
	width: 0.43rem;	
	height: 0.43rem;
}

.gift-box2 .decorate{
	position: absolute;
	top: 0.2rem;
    width: 100%;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 17px;
}
.gift-box2 img{
    width: 9.17rem;
    height: 13.15rem;
    margin: 1rem auto 0.2rem auto;
    display: block;
}
.gift-box2 .wrap, .gift-box1 .wrap{
	text-align: center;
}
.gift-box1 .wrap{
	margin-top: 1.92rem;
}
.gift-box2 .save, .gift-box1 .open-gift-box{
	display: inline-block;
	padding: 0 0.52rem;
	height: 1.16rem;
	line-height: 1.16rem;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	background-color: #fe2840;
	-webkit-box-shadow: 0.1rem 0.1rem 0.1rem #000;
	        box-shadow: 0.1rem 0.1rem 0.1rem #000;
	border-radius: 0.6rem;
}
/*礼物盒/*/

/*礼物*/
/*todo 位置调整*/
.gift img{
	width: 100px;
	position: fixed;
	bottom: 40vh;
	left: 40vw;
}
/*礼物/*/

/*了解更多*/
.learn-more{
	position: fixed;
	bottom: 0.80rem;
	width: 100%;
	text-align: center;
	font-size: 0.36rem;
	color: #d21d1b;
	
	/*display: block;*/
}
.learn-more span{
	border-bottom: solid 0.16rem rgba(244, 99, 82, 0.5);
	padding: 0 0.24rem;
	display: none;
}

/*为了更好的体验，请用竖屏体验*/
.landscape{
	display: none;
	width: 100vw;
	height: 100vh;
	background: #000;
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;

}
.landscape .tip{
	text-align: center;
	width: 100%;
	color: #fff;
}
.landscape img{
	width: 2.41rem;
	height: 2.40rem;
	margin-bottom: 0.96rem;
}
@media screen and (orientation: portrait) {  
  	/*竖屏 css*/  
	main{display: block;}
}   
@media screen and (orientation: landscape) {  
    /*横屏 css*/  
    main{display: none;}
	.landscape{
		/*垂直居中*/
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}
	
}  

/*# sourceMappingURL=activity.css.map */
