@charset "utf-8";
/* CSS Document */
body {
	Font-family:微軟正黑體,Arial;
  	margin:0 auto;
  	padding:0;
	overflow-x:hidden;
	background:url(images/bg.svg);
	background-size:contain;
	animation:bg 100s infinite linear ;
	}
	@keyframes bg {
		0%{}
		100%{ background-position:500% -200%}
	}
	

	
a{text-decoration:none}
.gp{display:inline-block}
/*東立選單*/	

.btn{
	position:fixed;
	top:0;
	width:100%;
	z-index:999;
	width:100%;
	background:rgba(0,0,0,.7);
	margin:0 auto;
	opacity: 0.9;
	text-align:center;
	vertical-align:middle;
	padding:0.2em 0;
	}
.btn a{ font-size:1em; font-weight:bold; color:#FF6; margin:0 auto; margin-left:1em; margin-right:1em;  letter-spacing:0em;}

#nav{ min-height:5vh; text-align:center; margin-bottom:0;z-index:9999;}
#nav a:hover{color:#0CC;animation: 1s linear 0s normal none infinite jello-horizontal;}

#nav a{ margin:2%;font-size:1.1em; display:inline-block;text-decoration:none}
@-webkit-keyframes jello-horizontal {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
            transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
            transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
            transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
            transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
            transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}
/*東立選單結束*/

/*主視覺*/
.pc{ display:block}
.mobi{ display:none}

#item{position:absolute; top:0; width:100vw; z-index:1;}	
#item img{width:100%}
#cover{
	position:relative;
	z-index:50;
	width:100%;
	max-width:1200px;
	text-align:center;
	margin:0 auto;
	}
	#cover img{width:100%}
	
	


/*主視覺結束*/




/*各內容區塊樣式*/

.block{
	position:relative;
	padding:2% 10%; 
	margin:5% auto; 
	width:80%;
	background:rgba(0,0,0,.8);
	text-align:center;
	z-index:5;}
.block p{ text-align:left; text-indent:2em}
.big_title{background:url(images/book.jpg) center; background-clip:text;-webkit-background-clip: text; color: transparent;animation:bg 50s infinite linear ; font-size:1.8em;line-height:1.5em; font-weight:bold;-webkit-filter:brightness(2); height:auto}
.sp_title{color:#fff; text-align:center; border-bottom:#fff dotted 1px; padding-bottom:0.2em}
.bookcover {
	width:40%; 
	display:inline-block; 
	text-align:center; }
.bookcover img{
	width:90%; }
.bookcover img:hover{animation:bookcover 1s linear forwards ;
	}
	@keyframes bookcover {0%{} 100%{ transform:scale(1.1)}}	
.storyinfo{
	width:52%;
	padding:2% 2%;
	font-weight:bold;
	line-height:2.8em;
	display:inline-block;
	vertical-align:top;
	text-align:left;}
.storyinfo p{text-indent:2em}

@media (max-width:800px){

.storyinfo{width:90%;padding:2%;display:block;margin:0 auto; text-align:center;}
.bookcover{ display:block; text-align:center;width:60%;margin:0 auto;}
}

@media (max-width:700px){
	.bookcover{ display:block; text-align:center;width:80%;margin:0 auto;}
	.storyinfo p{text-indent:0em}
}
	
	
/*按鈕效果*/
.readlink{
    color:#333;
	display:inline-block;
	font-weight:bold;
    font-size: 1.5em;
    text-transform: uppercase;
    border:1px solid #333;
	margin-left:0.5em;
	margin-right:0.5em;

    padding:1% 5%;
    border-radius: 20px 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease 0.1s;
}
.readlink:hover{
    color: #fff;
    background:#333;
    border-radius: 0;
	text-shadow:none;
}
.readlink:before,
.readlink:after,
.readlink span:before,
.readlink span:after{
    content: "";
    background-color: #333;
    width: 0;
    height: 2px;
    position: absolute;
    top: -2px;
    right: 0;
    transition: all 0.3s ease;
}
.readlink:after,
.readlink span:after{
    width: 2px;
    height: 0;
    right: -2px;
    transition: 0.45s ease;
}
.readlink span:before{
    width: 0;
    top: auto;
    bottom: -2px;
    right: auto;
    left: 0;
}
.readlink span:after{
    right: auto;
    left: -2px;
    bottom: -2px;
    top: auto;
}
.readlink:hover:before,
.readlink:hover span:before{
    width: 100%;
}
.readlink:hover:after,
.readlink:hover span:after{
    height: 108%;
}


#sppic{
	background:#FFF;
	box-shadow:#000 0 0 30px;
	border:#C96 2px solid;
	width:90%;
	margin:1% auto;
	text-align:center;
	cursor:pointer;
	}
#sppic:hover{transform:scale(1.1)}	
#sppic img:nth-child(1){ width:30%}
#sppic img:nth-child(2){ width:60%}	

	

/*其他書籍區塊樣式*/
.sbox{ width:20%; margin:1%; padding:1%; display:inline-block; vertical-align:text-top; text-align:center;}
.sbox h2{color:#fff;font-size:1.1em; text-shadow: #F60 1px 1px 5px}
.sbox h3{line-height:2em; text-shadow:none; font-size:0.9em}
.sbox img{ box-shadow: rgba(0,0,0,.5) 0 0 10px;width:90%;}
.sbox img:hover{box-shadow: rgba(0,0,0,.5) 0 10px 10px; transform:scale(1.1)}
.sboxbg{ width:100%; display:block; text-align:center; line-height:40px; color:#C96; font-weight:bold;}
.sbox .info{width:90%;padding:2%;display:block;margin:0 auto; text-align:center}	
.about,.ebook,.price{display:block; border-radius:0.5em; margin:1vh auto}
.about{background:#F69}
.ebook{ border:1px #CC9966 solid; color:#C96}
.about:hover{box-shadow: rgba(0,0,0,.5) 0 10px 10px; transform:scale(1.1)}
.price{ color:#C96}
@media (max-width:900px){
	.sbox{ width:40%; margin:2em auto}
	.bookcover{ display:block; text-align:center;width:80%;margin:0 auto;}

}
@media (max-width:600px){
	.sbox{ width:90%;display:block;display:block;}

}

/*書籍結束*/


@media (max-width:700px){
	.block{width:80%}
	#sppic img:nth-child(1){ width:100%}
	#sppic img:nth-child(2){ width:100%}	
	.mobi{ display:block}
	.pc{ display:none}
	.topinfo{ width:100%; text-align:center}
	.sp_title{font-size:.8em; letter-spacing:normal; padding:0.2em 1em;}	

}	


