@charset "utf-8";
/* CSS Document */
body {
	Font-family:微軟正黑體,Arial;
  	margin:0 auto;
  	padding:0;
	overflow-x:hidden;
	background: url(images/6.svg) left top no-repeat,linear-gradient(100deg, rgba(51,204,204,1),rgba(0,51,153,1),rgba(0,0,0,1), rgba(255,51,102,1)) fixed;
	background-size:contain;
	}
	
a{text-decoration:none}
.gp{display:inline-block}

#delta{ left:-20%;width:200%; height:150%; z-index:0; position:fixed; background:no-repeat top center url(images/delta.svg); background-size:cover;animation:ro 20s linear infinite}
@keyframes ro {
	from {transform: rotate(0deg);}
	to {transform: rotate(360deg);}
}
/*東立選單*/	

.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}

#cover{
	position:relative;
	z-index:50;
	width:55%;
	height:100vh;
	display:inline-block;
	text-align:center;
	margin:0 auto;
	background:url(images/cover.png) right top no-repeat;
	background-size:contain;
	}
	@media (max-width:700px){#cover{display:block;width:100%; height:80vh;background:url(images/cover.png) center  center no-repeat;
	background-size:contain;}}
#menu{
	position:relative;
	z-index:51;
	display:inline-block;
	width:35%;
	vertical-align:top;
	padding:1%;
	text-align:left;}	

#menu a{
	font-family:"Arial Black", Gadget, sans-serif;
	letter-spacing:0.5em;
	font-size:1.5em;
	color:#9FF;
	text-align:center;
	position: relative;
	width:90%;
	height:14%;
	margin-top:1em;
	display:flex;
	justify-content: center;
  align-items: center;}
#menu a:hover{transform:translate(-1em,0)  }

@media (max-width:700px){
	#menu{display:block;width:100%; text-align:center}
	#menu a{display:inline-flex; width:40%;height:3em;	letter-spacing:0.2em;font-size:1em; margin:1em auto;}
	#menu a:hover{transform:translate(0,-0.2em)  }
	}

/* pwa-background-easeOutFromCenterToLeftRight */
:root {
    --pwa-animation-duration: 0.4s;
    --pwa-width: 2px;
    --pwa-2D-grow: 1.1;
    --pwa-2D-shrink: 0.9;
    --pwa-2D-pulse-min: 0.9;
    --pwa-2D-pulse-max: 1.1;
    --pwa-2D-move: 10px;
    --pwa-2D-rotate: 10deg;
    --pwa-2D-skew: 10deg;
    --pwa-2D-wobble-min: -5px;
    --pwa-2D-wobble-max: 5px;
    --pwa-2D-wobble-time: 0.4s;

    --shadow-color: gray;
}
*::before, *::after {
    box-sizing: border-box;
}
.pwa-element::before, .pwa-element::after {
    z-index: -1;
}

.pwa-element, .pwa-element:active, .pwa-element:focus, .pwa-element:hover {
    z-index: 1;
    outline: none;
}
.pwa-center {
    background: url(images/6.svg)top,linear-gradient(45deg, rgba(51,204,204,.8),rgba(0,0,0,.2), rgba(0,204,204,.5)) ;
	box-shadow: #39C 0 0 5px, #3CC 0 0 10px, inset #3CC 0 0 20px, inset #3CC 0 0 5px;
	border: #CFF 3px solid;
    overflow: hidden;
    vertical-align: bottom;
}

.pwa-center::after {
    content: '';
    position: absolute;
	z-index:0;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 0;
    height: 100%;
    background: url(images/dot.svg),linear-gradient(90deg, rgba(51,255,204,0.9), rgba(0,0,0,0),rgba(255,102,153,1));
    opacity: 0;
}

.pwa-center:hover::after, .pwa-center:active::after, .pwa-center:focus::after {
    opacity: 1;
    width: 100%;
    transition: width var(--pwa-animation-duration) ease;
}


/*主視覺結束*/




/*各內容區塊樣式*/
#pagemenu{position:relative;display:flex;width:100%; margin:0 auto;}
#pagemenu a{
	font-family:"Arial Black", Gadget, sans-serif;
	letter-spacing:0.1em;
	font-size:1em;
	color:#FFF;
	text-align:center;
	position: relative;
	width:15%;
	height:2em;
	margin:1em auto;
	display:inline-flex;
	justify-content: center;
  align-items: center;}
main{ width:100%; margin:0 auto; position:relative; display:block;} 
#pagecover{ 
	width:40%;
	height:100%;
	display:inline-block;
	position:relative;
	}
	#pagecover img{ width:auto;height:100%; position:fixed; top:0}
#page{width:50%;
	position:relative;
	z-index:51;
	display:inline-block;
	vertical-align:top;
	padding:2%;
	}
	#page .block{width:90%;}
	#page .block p a{ color:#9FF}
	#page .block p a:hover{ color:#FCF}
@media (max-width:700px){
	#pagecover,#page{display:block;width:100%;}
	#pagecover img{ width:100%;height: auto; position:relative;}
	#page{background: linear-gradient(0deg, rgba(0,0,0,1),rgba(0,0,0,0)); }
	#page .block{width:70%}}	


.block{
	position:relative;
	padding:8% 10%; 
	margin:2em auto; 
	text-align:center;
	z-index:5;
	line-height:2.8em;
	font-weight:bold;
	clip-path: polygon(45px 0%, 100% 0, 100% 100%, 0 100%, 0% 45px);
	border: #CFF 3px solid;
	background:url(images/bgb.svg) left top no-repeat,linear-gradient(45deg, rgba(51,204,204,.8),rgba(51,51,153,0.3), rgba(0,204,204,.7)) ;
	box-shadow: #39C 0 0 5px, #3CC 0 0 10px, inset #3CC 0 0 20px, inset #3CC 0 0 5px;
	color:#fff;
	text-shadow:#000 0 0 5px, #000 0 0 10px}


	
.block p{ text-align:left; text-indent:2em}
h3{ color:#3CC; text-shadow:#000 1px 1px 5px, #63C 0 0 10px}
.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;
	margin-top:1em }
.bookcover img{
	width:90%; }
.bookcover img:hover{animation:bookcover 0.5s linear forwards ;
	}
	@keyframes bookcover {0%{} 100%{ transform:scale(1.05)}}	
.storyinfo{
	width:52%;
	padding:2% 2%;
	font-weight:bold;
	line-height:2.8em;
	display:inline-block;
	vertical-align:top;
	color:#FFF;
	text-shadow:#000 0 0 5px;
	text-align:left;}
.storyinfo p{ line-height:1.5em}
.storyinfo span{ padding:0 1.5em; background:linear-gradient(90deg, rgba(0,204,204,.0),rgba(0,204,204,1),rgba(0,204,204,1),rgba(0,204,204,1),rgba(0,204,204,1),rgba(0,204,204,1), rgba(0,204,204,.0))}
@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:#3CC;
	display:inline-block;
	font-weight:bold;
    font-size: 1.5em;
    text-transform: uppercase;
    border:2px solid #3CC;
	margin:0.5em auto;
	margin-left:1%;
	margin-right:1%;
    padding:1% 5%;
    border-radius: 20px 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease 0.1s;
}
.readlink:hover{
    color: #fff;
    background:linear-gradient(45deg, rgba(100%,20%,40%,1), rgba(102,0,204,1));
    border-radius: 0;
	border:2px solid #F63;
	text-shadow:none;
}
.readlink:before,
.readlink:after,
.readlink span:before,
.readlink span:after{
    content: "";
    background-color:linear-gradient(45deg, rgba(100%,20%,40%,1), rgba(102,0,204,1));
    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:28%; 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)}
.ebook:hover{box-shadow: rgba(0,0,0,.5) 0 10px 10px; transform:scale(1.1); background:#C96; color:#FFF}
.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;}
	.readlink{width:60%; display:block;margin:0.5em auto;}

}

/*書籍結束*/


@media (max-width:700px){
	.block{width:70%}
	#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;}	

}	


