@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;700&display=swap');

*{margin: 0; padding: 0;}
a{text-decoration: none;}

body{
	width: 100%;
	background-color: #f1e9d6;
	font-family: 'Noto Sans TC', sans-serif;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
}
.wrap{
	max-width: 600px;
	margin: 0 auto;
	background-image: url("../img/bg-index.jpg");
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100%;
}

.wrap-result{
	padding: 1rem;
	text-align: center;
	height: 100vh;
}
.result{padding: 2rem 0;}
.result h5{
	font-size: 1.3rem;
	padding: 2rem 0;
}

.center{
	margin: auto 0;
	text-align: center
}
.logo{width: 220px;}
.kv{
	background-image: url("../img/talent.png");
	background-repeat: no-repeat;
	background-position:right bottom;
	background-size: contain;
	padding: 1rem;
}

h1{
	color: #fff;
	font-size: 2.4rem;
	line-height: 3.3rem;
	margin: 1rem 0;
}


h3{
	font-size: 1.2rem;
	text-shadow: 2px 2px 2px #ffffff;
	font-style: italic;
	color: #181818;
}
h3 span{color: #e70012;}
p{
	color: #b60707;
	font-size: .9rem;
	padding-bottom: 1rem;
}
.imgbtn{
	padding:0 1rem; 
	margin-top: -1rem;
}
.imgbtn img{
	width: 100%;
	padding-bottom: .5rem;
}
.notice{
	padding: 1rem;
}
.notice a, .notice a:active{color: #EA0003;}
.notice h5{
	color: #003f70;
	font-size: 1.3rem;
}
.notice h6{
	font-size: 1.1rem;
	margin: 1rem 0;
}
.notice p{
	font-size: 1rem;
	color: #333;
}
.notice ul, .notice ol{
	padding:0 1.5rem;
}
.notice b{color: #eb5805;}

.gametitle {
	padding: 0 1rem;
	margin-top: -1rem;
}
.gametitle dd{
	color: #fff;
	font-size: 1.3rem;
	text-align: center;
	padding: .5rem;
	background-color: #4b9bd0;
	border-radius: .3rem;
	margin-bottom: 1rem;
	position: relative;
}
.gametitle img{
	width: 5.3rem;
	position: absolute;
	left: 0;
	bottom: 0;
}
.winnerbox{padding: 0 1rem;}
.winnerbox dd{
	border-radius: .6rem;
	background-color: #fff;
	border: 2px solid #4b9bd0;
	padding: 1rem;
}
.winnerbox h4{
	font-size: 1.8rem;
	color: #4e4e4e;
	margin: 1rem 0;
	text-align: center;
}
.buttonbox{padding: 1rem;}
button{
	border: 0;
	border-radius: .4rem;
	padding: .5rem;
	font-size: 1.4rem;
	width: 100%;	
	font-weight: bold;	
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px;
	cursor: pointer; 
	outline: 0;
}
.button-red{
	color: #ffffff;
	background-color: #e70012;
}

.twobtn{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 1rem 0 1rem 0;
}
.twobtn button{width: 49%;}
.twobtn button img{margin-left: .2rem;}


.button-yellow{
	color: #000000;
	background-color: #ffd200;
}
.button-yellow span{
	font-size:1.8rem;
	font-weight: bolder;
}

.gamebox{
	background-image: url("../img/game-stage.jpg");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: bottom center;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding:3rem 1rem;
}
.gamebox img{
	width: 18%;
}


@media (max-width: 500px){
	.logo{	width:25%;}
	.kv{
		background-size: 55%;
	}

}


@media (max-width: 400px){
	.kv{
		background-size: 55%;
	}
.twobtn{
	display: block;
	margin-bottom: 0;
	}	
.twobtn button{
	width: 100%;
	margin-bottom: .5rem;
}
}
