@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500&display=swap');
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: none;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
}

body {
	transition: .2s;
	font-family: 'Noto Sans TC', sans-serif;
}

header {
	margin: 8px auto;
	padding: 3px 25px;
	width: calc(100vw - 20px);
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: none;
	border-radius: 15px;
	box-shadow: 0px 0px 20px 2px #00000050;
}

header>.logo>a>img {
	width: auto;
	height: 45px;
	width: auto;
}

header>.loginOption {
	display: flex;
	padding: 0 5px;
}

header>.loginOption>a {
	font-weight: 400;
	text-decoration: none;
	margin-right: 12px;
	padding: 3px 8px 3px 10px;
	border-radius: 5px;
	transition: background-color .2s;
	transition: transform .4s;
}

header>.loginOption>a.red {
	background-color: #ec5c4180;
	color: #ec5c41;
}

header>.loginOption>a.red:hover {
	background-color: #ec5c41;
	color: #fff;
}

header>.loginOption>a.green {
	background-color: #51e38880;
	color: #1cb957;
}

header>.loginOption>a.green:hover {
	background-color: #51e388;
	color: #fff;
}

header>.loginOption>a.blue {
	background-color: #78a3f080;
	color: #1b61dd;
}

header>.loginOption>a.blue:hover {
	background-color: #78a3f0;
	color: #fff;
}

header>.loginOption>a:hover {
	transform: scale(1.15);
}

main {
	margin-top: 10px;
	padding: 20px 30px;
}

main>form {
	border-radius: 10px;
	padding: 10px 25px;
	box-shadow: 0px 0px 20px 2px #00000050;
	display: flex;
	flex-direction: column;
	margin-bottom: 30px;
}

main>form>h1 {
	font-weight: 700;
	color: #343434;
	font-size: 1.5rem;
	margin-bottom: 2px;
}

main>form>h2 {
	color: #343434;
	font-size: 1rem;
	font-weight: 300;
	margin-bottom: 20px;
	margin-left: 1px;
}

main>form>label {
	font-size: 1.1rem;
	color: #343434;
	font-weight: bolder;
}

main>form>label+input {
	font-size: 1rem;
	margin-bottom: 10px;
	height: 25px;
	border: none;
	border-bottom: solid 2px #e5e5e5;
	font-size: 1.15rem;
	padding: 2px 5px;
	transition: .2s ease-in;
	background-color: transparent;
}

main>form>label+input:focus {
	border-bottom: solid 2px #ec5c41;
}

main>form>input[type=button] {
	border: none;
	color: #fff;
	border-radius: 5px;
	padding: 5px 15px;
	background-color: #ec5c41;
	font-size: 1.1rem;
	margin-top: 15px;
	cursor: pointer;
}

main>section.realtimeInfo{
	padding: 15px 25px;
	box-shadow: 0px 0px 20px 2px #00000050;
	border: none;
	border-radius: 10px;
	margin-bottom: 20px;
}

main>.links {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	padding: 0;
	flex-wrap: wrap;
}

main>.links>section	{
	margin-right: 15px;
	padding: 15px 25px;
	box-shadow: 0px 0px 20px 2px #00000050;
	border: none;
	border-radius: 10px;
	margin-bottom: 20px;
}

main>.links>section>h1,
main>section.realtimeInfo>h1 {
	color: #343434;
	font-weight: 7s00;
	margin-bottom: 10px;
	padding-bottom: 2px;
	border-bottom: 1px solid #e5e5e5;
}

main>.links>section>ul>li,
main>section>ul>li {
	margin-bottom: 5px;
}

main>.links>section>ul>li>a,
main>section>ul>li>a {
	color: #343434;
	transition: .1s ease-in-out;
}

main>.links>section>ul>li>a:hover,
main>section>ul>li>a:hover {
	color: #ec5c41;
	text-decoration: underline;
}

label.themeChange {
	position: fixed;
	bottom: 20px;
	right: 30px;
	width: 60px;
	height: 30px;
}

#themeChange {
	display: none;
}

label.themeChange>span {
	position: absolute;
	background-color: #fff;
	width: 100%;
	height: 100%;
	border-radius: 15px;
	box-shadow: 0px 0px 20px 2px #00000050;
	transition: .3s ease-in-out;
}

label.themeChange>span i {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 4px;
	top: 4px;
	background-color: #282a2e;
	height: 23px;
	width: 23px;
	border-radius: 50%;
	box-shadow: 0px 0px 2px 2px #00000050;
	transition: .2s ease-in-out;
	color: #fff;
}

label.themeChange>span>i>#sunny {
	display: inline;
	transition: .1s;
}

label.themeChange>span>i>#moon {
	display: none;
	transition: .1s;
}

#themeChange:checked ~ label.themeChange>span {
	background-color: #282a2e;
	box-shadow: 0px 0px 20px 2px #00000050;
}

#themeChange:checked ~ label.themeChange>span>i {
	left: 33px;
	color: #000;
	background-color: #fff;
}

#themeChange:checked ~ label.themeChange>span>i>#sunny {
	display: none;
}

#themeChange:checked ~ label.themeChange>span>i>#moon {
	display: inline;
}

#themeChange:checked ~ main a{
	color: #fff;
}

#themeChange:checked ~ main a:hover{
	color: #ec5c41;
}

notion {
	position: absolute;
	top: -50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #FFFFFF;
	box-shadow: #00000080 0px 0px 15px 1px;
	width: 500px;
	min-height: 103px;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	border: none;
	border-radius: 10px;
	padding-top: 3px;
	transition: .5s;
}

notion>h1 {
	padding: 2px 10px;
	font-size: 1.6em;
	border-bottom: 2px #e9e9e9 solid;
	color: #999;
	width: 100%;
}

notion>p {
	font-weight: 300;
	margin: 10px 20px;
}

notion>button {
	font-size: 1.2em;
	margin-left: 420px;
	margin-bottom: 20px;
	padding: 3px 10px;
	border: none;
	background-color: #0066ff;
	border-radius: 5px;
	color: #ffffff;
	text-transform: capitalize;
	cursor: pointer;
}

@media screen and (max-width: 500px) {
	notion {
		width: 280px;
		min-height: 103px;
		height: auto;
	}

	notion>button {
		margin-left: 205px;
	}
}

@media screen and (max-width: 970px) {
	main>.links {
		flex-direction: column;
		align-items: center;
	}

	main>.links>section	{
		width: 80vw;
	}
}

@media screen and (max-width: 420px) {
	header {
	 	flex-direction: column;
	 	padding: 15px;
	}
}
