@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;400;500;600;700&display=swap);

html,body{
	font-family:Arial,'Noto Sans TC','微軟正黑體',sans-serif;
	font-size:10px;
	color:#333;text-size-adjust:100%;
	-webkit-text-size-adjust:100%;height:100%
}


@media screen and (min-width: 1000px){
    html,body{
        font-size: calc( 10/1920 *100vw );
    }
}
@media screen and (max-width: 640px){
    html,body{
        font-size: calc( 10/640 *100vw );
    }
}
/*:root{
	--clr-red:#ca2420;
	--clr-yellow:#f89829;
	--clr-yellow2:#f7b048;
	--clr-blue:#00539b;
	--clr-gray:#6c6c6c;
	background: linear-gradient(180deg, #FFEFB8 0%, #FFC6B8 100%);
}*/

img{max-width: 100%;}
.loading-txt img{width: 24.8rem;margin:2.5rem 0 4rem 0;}
.loading-p{font-size: 3.2rem;letter-spacing: .5em;font-weight: 500;margin:2.5rem 0 4rem 0;}
p{font-size: 2.4rem;color: #7aaaf7;text-align: center;}

.wrap{max-width: 64rem;margin:0 auto;width: 100%;height: 100%;position: relative;}

body{
	background: url('../images/bg.jpg') center top no-repeat;
	background-size:192rem auto ;
	    -webkit-transition:.3s all ease;
    transition: .3s all ease;
}
body.bg2{
	background-image: url('../images/bg-test.jpg');
}
body.bg3{
	background-image: url('../images/bg-result.jpg');
}
section{position: relative;width: 100%;min-height: 100%;}

.kv{
	width: 100%;
	height: 100%;
	position: absolute;
	display: flex;
	justify-content: center;align-items: center;
	flex-direction: column;
}
.kv-con{
	position: relative;
	width: 49.2rem;
	height: 49.2rem;
	display: flex;
	justify-content: center;
	align-items: center;
}
.kv-con-bg{
	position: absolute;
	left: 0;
	top: -5rem;
	width: 64rem;
	  height: 59.1rem; /* 一張圖的高度 591px → rem */
	  background: url('../images/kv-circle.png') center top no-repeat;
	  background-size: 100% auto;

	  animation: playSprite 3s steps(34) forwards;
	  -webkit-animation: playSprite 3s steps(34) forwards;
}
@keyframes playSprite {
  from {
    background-position-y: 0;
  }
  to {
    background-position-y: -2009.4rem;
  }
}
@-webkit-keyframes playSprite {
  from {
    background-position-y: 0;
  }
  to {
    background-position-y: -2009.4rem;
  }
}
.kv-con-bg2{
	position: absolute;
	left: calc(50% - 96rem * 1.2 / 2);
	top: -5rem;
	width: calc(96rem * 1.2);
	height: calc(96rem * 1.2);
}
.kv-con-bg video{
	position: relative;
	width: 100%;
	height: 100%;
	left: 0rem;
}
.kv-con-bg2 img{
	position: relative;
	width: 100%;
	left: 5rem;
}

.kv-title{
	position: relative;
	width: 32.4rem;
}

#kv-star{
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-40%);
}

.kv-btn{
	cursor: pointer;
	position: relative;
	width: 50.8rem;height:32rem;
	margin:0 auto;
	background:url(../images/kv-start-bg.png) center center no-repeat;
	background-size: cover;
/* 	bottom: 4.4rem; */
	margin-top: 7.2rem;
	    -webkit-transition:.3s all ease;
    transition: .3s all ease;
}
.kv-btn-txt{
	position: absolute;
	width: 27.3rem;
	left: calc(50% - 27.3rem / 2);
	top: calc(50% - 26.7rem / 2);
}

.kv-btn:active{transform: scale(1.1)}



/*test*/


#test{
	width: 100%;height: 100%;
	display: flex;justify-content: center;align-items: flex-start;
/* 	min-height: 105rem; */

}

.test-con{
	position: relative;
}

.test-head{
	position: relative;
	padding-top: 10rem;
	margin:0 auto;margin-bottom: 0rem;
	height: 75rem;
}
.q1 .test-head{}
.test-ing{position: absolute;}
.test-question{margin:0 auto;position: relative;}
.q1 .test-question{width: 46.3rem;}
.q2 .test-question{width: 51.7rem;}
.q3 .test-question{width: 58.8rem;}
.q4 .test-question{width: 52.1rem;}

.q1 .test-ing{width: 57.6rem;right: -4rem;top: 3.4rem;}
.q2 .test-ing{width: 47.5rem;left: 5rem;top: 33rem;}
.q3 .test-ing{width: 48.6rem;left: 5rem;top: 20rem;}
.q4 .test-ing{width: 44.2rem;left: 7rem;top: 30rem;}


.test-body{
	position: relative;
}
.test-body-ing{
	position: absolute;
	width: 76.4rem;
	left: calc(50% - 35.5rem);
	top: -3rem;
}
.ans-list {
    width: 56rem;
    position: relative;
    margin: 0 auto;
/*     height: calc( 10rem * 4 + 2.2rem * 3); */
}

.ans-list li {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 5rem;
    font-size: 2.6rem;
    
    height: 10rem;
    padding: 0rem 3.5rem;
    margin-bottom: 2.2rem;
    z-index: 1;
/*     -webkit-transition:.3s all ease;
    transition: .3s all ease; */
    display: flex;
    line-height: 1.4em;
    justify-content: center;
    align-items: center;
    cursor: pointer;
/*     text-indent: -1.65em; */
/*     padding-left: 1.65em; */
}
.ans-list li span{
	width: 2em;
	color: #808080;
	text-align: right;
	height: 2.8em;
}
.ans-list li p{
	text-align: left;
	color: #808080;
	width: ;
}
.ans-list li:nth-child(1){border:.25rem solid #3F92DE;}
.ans-list li:nth-child(2){border:.25rem solid #F478C4;}


.ans-list li:active,.ans-list li.active {

/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f7f9fb+0,ffffff+50,ffffff+100&1+0,0.2+50,1+100 */
background: -moz-linear-gradient(left,  rgba(247,249,251,1) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  rgba(247,249,251,1) 0%,rgba(255,255,255,0.2) 50%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  rgba(247,249,251,1) 0%,rgba(255,255,255,0.2) 50%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f9fb', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */

}



.result{
/* 	overflow: scroll; */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding-bottom: 3rem;
	padding-top: 8rem;
}
.btns{display: flex;justify-content: center;align-items: center;}
.btns a{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;width: 15.3rem;height: 4.1rem;margin: 0 1.7rem;
	border-radius: .8rem;
	box-shadow: rgba(0, 0, 0, 0.25) .8rem .8rem 1.6rem, 
	rgba(0, 0, 0, 0.22) .4rem .4rem 1.6rem;
}
.btns a:nth-child(1){background: #65baaf;}
.btns a:nth-child(2){background: #c6b784;}
.btns a:nth-child(3){background: #a9989d;}
.btns a img{width: 8.6rem;}          
.result-tip{position: relative;width: 52.5rem;margin-top: 4rem;}
.result-txt{position: relative;width: 54.1rem;margin-top: 3rem;margin-left: 1.5rem;}
.rule-btn{position: relative;width: 13.6rem;display: block;margin-top: 4.8rem;}

.result-btn{
	position: absolute;
	width: 50.2rem;
	top: 178vw;
	left: calc(50% - 25.1rem);
	
	z-index: 2;
}
.result-btn:active{transform: scale(1.1)}






@media screen and (max-width: 1000px) {

	body{
		background-size:cover;
	}
	body.bg2{
		background-color: #feeeee;
		background-size:192rem auto;
	}
	body.bg3{
		background-color: #feeeee;
		background-size:192rem auto;
	}
}

@media screen and (min-width: 1000px) and (min-aspect-ratio: .546875) {
	body{
		height: 105rem;
	}
	html,body{
/*         font-size: calc( 10/1050 *100vh ); */
    }
	body{
		background-size: cover;
/* 		background-size: auto 100%; */
	}
}


