/* Google Fonts: Lora (serif), Poppins (sans-serif), Source Sans Pro (sans-serif) */

@import url('https://fonts.googleapis.com/css2?family=Lora&family=Poppins&family=Source+Sans+Pro&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	height: 100%;
	width: 100%;
}

body {/*有微調字體:調大*/
	overflow-x: hidden;
	overflow-y: auto;
	background-color: white;
	color: #000a16;
	font-family: Lora, serif;
	font-size: 3vh;
	line-height: 4.5vh;
}

h1, h2, h3 {
	font-family: Poppins, sans-serif;
}

h1 {
	font-size: 5vh;
	line-height: 7.5vh;
	margin: 1vh 0;
}

h2 {
	font-size: 4vh;
	line-height: 6vh;
	margin: 0.8vh 0;
}

h3 {
	font-size: 3vh;
	line-height: 4.5vh;
	margin: 0.5vh 0;
}

article {
	margin: 1.5vh 0;
	padding: 1vh 5vw;
}

section {
	margin: 1.2vh 0;
}

section > p {
	text-indent: 5%;
}

p {
	margin: 0.2vh 0;
}

nav {
	position: fixed;
	top: 10px;
	left: 10px;
	font-family: Poppins, sans-serif;
	font-size: 2vh;
	line-height: 3vh;
	z-index: 2;/*不然在essay那一篇會被文章蓋到，區域重疊時無法正常運作*/
}

nav > a {
	background-color: #323232;
	color: white;
	padding: 2px 4px;
	text-decoration: none;
	opacity: 0.6;
	transition: all 1s ease-out;
}

nav > a > span {
	display: inline-block;
	transform: rotate(0deg);
	transition: all 1s ease-out;
}

nav > a.close > span {
	transform: rotate(45deg);
	transition: all 1s ease-out;
}

nav > a:not(:first-of-type) {
	display: none;
	border-left: solid 2px white;
	opacity: 0;
}

nav > a:first-of-type {
	/*width: 2.4vw;*/
	padding: 2px 10px;
}

nav > a:hover {
	opacity: 0.95 !important;
	transition: all 1s ease-out;
}

nav > a:visited {
	color: white;
}

a, a:visited {
	color: #323232;
	text-decoration: underline;
}