@charset "utf-8";
/* CSS Document */
body {
	Font-family:微軟正黑體,Arial;
  	margin:0 auto;
  	padding:0;
	overflow-x:hidden;
	background:url(images/bgc2.png) top center;
	background-size:cover
	}

	
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);
  }
}
/*東立選單結束*/

/*主視覺*/
#pixie {
  z-index:0;
  position:fixed;
  top: 0;
  left: 0;
}
.pc{ display:block}
.mobi{ display:none}
#book1{ position:absolute; width:100%; background: url(images/ink.png) center center no-repeat; background-size:contain;animation:25s book1 infinite; text-align:center}
#book1 img{ max-width:100%; max-height:100vh}
@keyframes book1{
	0%{ opacity:0; transform: scale(0.5)}
	1%{opacity:1; transform:scale(1.2)}
	15%{ opacity:1; transform:scale(1)}
	20%{ opacity:0; transform:translate(0,300px) scale(0.5)}
	100%{ opacity:0}}
#book2{ position:absolute; width:100%; background:url(images/ink.png) center center no-repeat; background-size:contain;animation:25s book2 infinite;text-align:center}
#book2 img{ max-width:100%; max-height:100vh}
@keyframes book2{
	0%{ opacity:0; transform:scale(0.5)}
	15%{opacity:0; transform:scale(0.5)}
	20%{ opacity:1; transform:scale(1)}
	35%{ opacity:1; transform:scale(1)}
	40%{ opacity:0; transform:scale(0.5) rotate(270deg)}
	100%{ opacity:0}}	

#cover{
	position:relative;
	z-index:50;
	width:100%;	
	text-align:center;
	margin:0 auto;
	max-width:1200px;
	animation:25s cover infinite;
	}
	#cover img{ max-width:100%; max-height:100vh}
@keyframes cover{
	0%{ opacity:0}
	37%{opacity:0; transform:scale(0.2)}
	42%{ opacity:1; transform:scale(1)}
	95%{ opacity:1; transform:scale(1)}
	100%{ opacity:0; transform:scale(0.1)}}	


/*主視覺結束*/




/*各內容區塊樣式*/
main{ position:relative; z-index:10;background: linear-gradient(180deg, rgba(255,255,255,0),rgba(102,204,255,0.5),rgba(102,204,204,0.5), rgba(255,255,255,0)); background-size:auto}
.block{
	background:rgba(255,255,255,.7);
	border:#C96 5px double;
	position:relative;
	padding:3% 3%; 
	margin:0 auto; 
	width:60%;
	text-align:center;
	line-height:3em;
	font-weight:bold;
	}

.big_title{background:linear-gradient(90deg,rgba(255,255,153,1), rgba(255,153,204,1),rgba(204,153,255,1),rgba(102,204,255,1),rgba(255,255,153,1)); background-clip:text;-webkit-background-clip: text; color: transparent;animation:bt 50s infinite linear ; font-weight:bold;-webkit-filter:brightness(1); height:auto;}

@keyframes bt {
		from{}
		to{ background-position:3000px 500px;}
	}
.sp_title{color:#fff; text-align:center; border-bottom:#fff dotted 1px; padding-bottom:0.2em}
.bookcover {
	width:30%; 
	display:inline-block; 
	vertical-align:middle;
	text-align:center; }
.bookcover img{
	width:95%; box-shadow: #000 0 10px 10px;}
.bookcover img:hover{animation:bookcover 0.5s linear forwards ;
	}
	@keyframes bookcover {0%{} 100%{ transform:scale(1.03)}}	
.storyinfo{
	width:62%;
	padding:2% 2%;
	font-weight:bold;
	line-height:2.8em;
	display:inline-block;
	vertical-align:middle;
	text-align:left;
	color:#000;
	text-shadow:rgba(153,204,204,1) 0 0 10px;
	}
.mail{background: url(images/mail.svg) top left no-repeat,url(images/mail2.svg) top right no-repeat,url(images/mail3.svg) bottom left no-repeat,url(images/mail4.svg) bottom right no-repeat; border:#C96 5px double; width:100%; margin:0 auto}

@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;}

}
	
	
/*按鈕效果*/
.readlink{
    color:#fff;
	display:inline-block;
	font-weight:bold;
    font-size: 1.5em;
    text-transform: uppercase;
    border:1px solid #fff;
	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;
	opacity:0.8;
}
@media (max-width:600px){.readlink{display:block; margin:1em auto}}
.readlink:hover{
    color: #C00;
    background:rgba(255,255,255,1);
    border-radius: 0;
	text-shadow:none;
	border:1px solid #fff;
	opacity:1;
}
.readlink:before,
.readlink:after,
.readlink span:before,
.readlink span:after{
    content: "";
    background-color:#fff;
    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%;
}


/*neon link*/
.neonlink
{
	position: relative;
	display: inline-block;
	padding: 0.2em 1em;
	margin: 2em  auto;
	color:#333;
	border:#999 1px solid;
	font-size: 1em;
	text-decoration: none;
	text-transform: uppercase;
	overflow: hidden;
	transition: 0.5s;
	letter-spacing: 0.2em;
	-webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
}
.neonlink:hover
{
	background: rgba(204,153,102,.8);
	color: #fff;
	border:#fff 1px solid;
	box-shadow: 0 0 5px rgba(102,102,102,0.5),
				0 0 25px rgba(102,102,102,0.4),
				0 0 50px rgba(102,102,102,0.3),
				0 0 200px rgba(102,102,102,0.2);
}
.neonlink span
{
	position: absolute;
	display: block;
}
.neonlink span:nth-child(1)
{
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, #03e9f4);
	animation: animate1 1s linear infinite;
}
@keyframes animate1
{
	0%
	{
		left: -100%;
	}
	50%, 100%
	{
		left: 100%;
	}
}
.neonlink span:nth-child(2)
{
	top: -100px;
	right: 0;
	width: 2px;
	height: 100%;
	background: linear-gradient(180deg, transparent, #03e9f4);
	animation: animate2 1s linear infinite;
	animation-delay: 0.25s;
}
@keyframes animate2
{
	0%
	{
		top: -100%;
	}
	50%, 100%
	{
		top: 100%;
	}
}
.neonlink span:nth-child(3)
{
	bottom: 0;
	right: -100%;
	width: 100%;
	height: 2px;
	background: linear-gradient(270deg, transparent, #03e9f4);
	animation: animate3 1s linear infinite;
	animation-delay: 0.5s;
}
@keyframes animate3
{
	0%
	{
		right: -100%;
	}
	50%, 100%
	{
		right: 100%;
	}
}
.neonlink span:nth-child(4)
{
	bottom: -100%;
	left: 0;
	width: 2px;
	height: 100%;
	background: linear-gradient(360deg, transparent, #03e9f4);
	animation: animate4 1s linear infinite;
	animation-delay: 0.75s;
}
@keyframes animate4
{
	0%
	{
		bottom: -100%;
	}
	50%, 100%
	{
		bottom: 100%;
	}
}
	


@media (max-width:900px){
	.bookcover{ display:block; text-align:center;width:80%;margin:0 auto;}

}

@media (max-width:700px){
	.block{width:80%}
	.mobi{ display:block}
	.pc{ display:none}
	.sp_title{font-size:.8em; letter-spacing:normal; padding:0.2em 1em;}	

}	


