/* 讓所有元素計算大小的標準以包含框線的大小為基準 */
* {
	/*border: 1px solid red;*/
	box-sizing: border-box;
}
html, body {
	background-color: #4f7885;
}
html {
	scroll-behavior: smooth;
}
body {
    /* 將瀏覽器預設的留白歸零 */
    margin: 0px;
    /* 使用google字型 */
    font-family: 'Noto Sans TC', sans-serif;
	/* 隱藏超過視窗部分 */
	/*overflow: hidden;*/
	padding: 0px;
}


a {
    text-decoration:none;
}

/* 放置所有內容的容器 */
.container {
	width: 100%;
	height: 100vh;
    /* margin: 上下 左右; */
    margin: 0 auto;
}

/* 放置所有col的容器 */
.row {
    /* 讓此元素內的第一層元素預設橫向排列 */
    display: flex;
    /* 不要自動縮放，放不下就換行  */
    flex-wrap: wrap;
	justify-content: center;
    align-items: center;
}

.moon {
	position: fixed;
	top: 20px;
	left: 60%;
	z-index: 30;
}

.star {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20;
}

.house {
	position: fixed;
	left: 0;
	bottom: -10px;
	width: 100%;
	text-align: center;
	z-index: 10;
}

.bigtitle {
	position: relative;
	margin-top: 200px;
	text-align:center;
	z-index: 100;
}

.w100 {
	max-width:100%;
}

.w70 {
	max-width:70%;
}

.w50 {
	max-width:50%;
}
.w40 {
	max-width:40%;
}

.w30 {
	max-width:30%;
}

.mainarea {
	position: relative;
	background:rgb(51, 88, 96, 0.9);
	width:100%;
	height: auto;
	z-index: 100;
	padding: 30px;
	margin-bottom: 100px;
}

.leftarea {
	width: 30%;
}

.rightarea {
	width: 35%;
	margin-left: 50px;
}

.wfont {
	color: #FFF;
	font-size: 1.2rem;
	line-height: 150%;
	padding-top: 50px;
}

.secarea {
	position: relative;
	background:rgb(51, 88, 96, 0.9);
	width:100%;
	height: auto;
	z-index: 100;
	padding: 100px;
	margin-bottom: 100px;
}

.ltarea {
	width: 25%;
	text-align: left;
	color: #FFF;
	font-size: 1.2rem;
	line-height: 150%;
}
.rtarea {
	width: 30%;
	text-align: center;
	color: #FFF;
	font-size: 1.2rem;
	line-height: 150%;
}

.ywont {
	color: #edd7a5;
	font-weight: 900;
}

.formarea {
	position: relative;
	z-index: 100;
	color: #FFF;
	font-size: 1.5rem;
	line-height: 180%;
	margin-bottom: 100px;
}

.bigfont {
	font-size: 2rem;
	font-weight: 900;
	line-height: 180%;
}

.redfont {
	color:#dc5d5c;
}


.form-control {
  padding: 10px;
  margin: 5px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  vertical-align:top;
  width: 50%;
}
.form-control2 {
  padding: 10px;
  margin: 5px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  vertical-align:top;
  width: 50%;
}

.myButton {
	background-color:#edd7a5;
	/*box-shadow: 0 5px 0 #000;*/
	border-radius:9px;
	border:0px solid #0075AB;
	display:inline-block;
	cursor:pointer;
	color:#000;
	font-weight: 700;
	font-size: 1.2rem;
	padding:16px 31px;
	text-decoration:none;
	transition: all .1s linear;
}

.myButton:active  {
  /*box-shadow: 0 2px 0 #000;*/
  transform: translateY(3px);
}

.myButton:active {
	position:relative;
	top:1px;
}

.qsarea {
	position: relative;
	background:rgb(51, 88, 96, 0.9);
	width:100%;
	height: auto;
	z-index: 100;
	padding: 30px;
	margin-bottom: 100px;
}

h2 {
	text-align: center;
	padding: 1rem;
}

.mytable {
	width: 60%;
}

input {
    margin: 1rem;
}

/* The ques */
.ques {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #FFF;
}

/* Hide the browser's default radio button */
.ques input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.ques:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.ques input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.ques input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.ques .checkmark:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}

/* Create a custom radio button */
.checkmarka {
  position: absolute;
  top: 10px;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.ques:hover input ~ .checkmarka {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.ques input:checked ~ .checkmarka {
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmarka:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.ques input:checked ~ .checkmarka:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.ques .checkmarka:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}

/* footer */
.myfooter {
	position: relative;
	color:#FFF;
	font-size: 0.8rem;
	width: 100%;
	text-align:center;
	z-index: 100;
}

.sicon {
	margin: 10px; font-size: 60px; color: white;
}

.anscontainer {
	width: 100%;
	height: auto;
    /* margin: 上下 左右; */
    margin: 0 auto;
}

.ansarea {
	position: relative;
	background:rgb(51, 88, 96, 0.9);
	width:100%;
	height: auto;
	z-index: 100;
	padding: 30px;
	margin-top: 50px;
}

.playagain {
	position: relative;
	width:100%;
	height: auto;
	text-align: center;
	z-index: 100;
	padding: 50px;
}

.answer {
	font-size: 2rem;
	color: red;
}

.answerright {
	font-size: 2rem;
	color: #33FF33;
}

/*大於2000px*/
@media (min-width: 2000px) {

}

/*小於1200px*/
@media (max-width: 1400px) {

	.wfont {
		color: #FFF;
		font-size: 1.1rem;
		line-height: 150%;
		padding-top: 50px;
	}
}
