/*------------------------main------------------------*/
img {border: 0px;}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #0F0A0A;
	background-image: url("../images/bgpattern.jpg");
	background-repeat: repeat;	
}
.frame{
	margin-top: 5vh;
	margin-left: 3vh;
	margin-right: 3vh;
	background-image: url("../images/main-photo.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position: relative;
	border: 1px solid #866C18;
	border-radius: 10px;
/*	border: 2px solid transparent;
	border-image: linear-gradient(40deg, #866C18, #BFA556, #866C18, #BFA556, #866C18);
	border-image-slice: 1;*/
	color:#BFA556;
	width:auto;
	height:90vh;
}
.container{
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	z-index: 1;
}
.logo{
	width:100%;
	margin-left:-50%;
	left:50%;
	position: absolute;	
}
.logo img{
	width:42%;
	position: absolute;
	margin-top: 50px;
	margin-left: 29%;
}
.flare {
	width:100%;
	margin-left:-50%;
	left:50%;
	position: absolute;
	
}
.flare img {	
	width:42%;
	position: absolute;
    margin-top: 50px;
	margin-left: 29%;
	z-index:2;
	animation: flare 20s infinite 0s linear;
	-webkit-animation: flare 15s infinite 0s linear;
}
@keyframes flare
{ 
	0%{ transform: translateY(-4%); opacity:0;} 
	20%{ transform: translateY(-5%); opacity:0.5;} 
	40% {transform: translateY(0%);opacity:0.8;} 
	100% {transform: translateY(7%);opacity:0;} 
} 
@-webkit-keyframes flare
{ 
	0%{ -webkit-transform: translateY(-4%); opacity:0;}  
	20%{ -webkit-transform: translateY(-2%); opacity:0.5;} 
	40% {-webkit-transform: translateY(0%);opacity:0.8;} 
	100% {-webkit-transform: translateY(7%);opacity:0;} 
} 

.disclaimer{
	width:50%;
	position: fixed;
	left:25%;
	bottom:6vh;
	display: block;
	text-align: justify;
	font-size: 10px;
	line-height: 1;
	z-index: 3;
	color: white;
	opacity: 0.8;
	text-shadow: 1px 1px 2px black;
}
.c-disclaimer{
	font-size: 9px;
	line-height: 1.2;
}
.phase{
	width:60%;
	height:120px;
	left:20%;
	display:flex;
	position: absolute;
	top: 50%;
	z-index:4;
}

.phase1 img, .phase2 img{
	width:80%;
/*	border-bottom: thin solid #866C18;*/
	padding: 15px 0;
}
.phase1, .phase2{
	width:30%;
	height:auto;
	position: relative;
	text-align: center;
	background-color: rgba(33,23,0,0.80);
	background-image:url("../images/sparkle.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 80%;
	padding:0;
	border-radius: 10px;
/*
	border-top: thin solid #866C18;
	border-bottom: thin solid #866C18;
*/
}

ul{
	text-align: center;
	padding:2px 0 0 0;
}

li{
	list-style-type: none;
	display: inline-block;
	padding: 3px 0;
}
li:last-child a{
	border-right: thin solid #AFA689;
}
a{
	text-decoration: none;
	border-left: thin solid #AFA689;
	padding: 0 10px;
	color: #AFA689;
	font-size: 16px;
	font-family: "新微軟細正黑體",'Microsoft JhengHei',"微軟細正黑體", sans-serif;
	text-shadow:2px 2px black;
}
.phase1 a:hover, .phase2 a:hover{
	color: #DBD982;
}

.space{
	width:40%;
}
br{
	margin: 5px 0 10px;
}

@media(max-width: 1600px){
.logo img, .flare img {
	width:50%;
	position: absolute;
	margin-top: 50px;
	margin-left: 25%;
}
}

@media(max-width:1440px) {

.disclaimer{
	width:60%;
	left:20%;
	line-height: 1;
	font-size: 9px;
}
.phase{
	height:85px;
	
}
.phase1, .phase2{
	width:40%;
	height:auto;
}
.phase1 img, .phase2 img{
	width:80%;
	padding: 7px 0;
}
.phase2 li {
	font-size: 11px;
}
a{
	font-size: 12px;
	padding: 0 8px;
}
}

ul{
	margin: 5px 0;
}
@media(max-width:1044px) {
.phase1 img, .phase2 img{
	width:80%;
	padding: 10px 0 7px;
}
}

@media(max-width:900px) {
.disclaimer{
	width:84%;
	left:8%;
	font-size: 8px;
}
.phase{
	height:75px;
}
}

@media(max-width:768px) {
body{
	background-size: auto;
	background-position: top;
}
.logo, .flare{
	top:5%;
}	
.logo img, .flare img{
	width:100%;
	margin-left: 0%;
}
.phase{
	display:flex;
	text-align: center;
	margin-top: 60%;
	flex-flow: column-reverse;
	top:25%;
	height:100px;
}
.phase1, .phase2{
	width:70%;
	left:15%;
	background-color: rgba(33,23,0,0.70);
	background-size:90%;
}
.phase1 img, .phase2 img{
	width:70%;
	padding: 5px 0;
}
ul{
	margin: 3 0;
}

}