@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=DM+Mono:wght@300&family=Honk&family=IBM+Plex+Sans:wght@500&family=Mulish:ital,wght@0,231;1,231&family=Nanum+Gothic+Coding&family=Noto+Sans+New+Tai+Lue:wght@400..700&family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body {
	padding: 0% 25%;
	color: #F0FFFF;
	background-color: #002147;
	font-size: 14pt;
	font-family: Crimson Text, Times New Roman, Arial;
}
a {
	color: skyblue;
	text-decoration: none;
}
/*a h1 {
	color: #ffffff;
}*/
a:hover {
	text-decoration: underline;
}
a h1:hover {
	color: #ffffff;
	text-decoration: underline;
}
footer {
	font-size: 10pt;
	text-align: center;
}

div.quote {
	/*font-style: italic;*/
	padding: 0% 10%;
}

div.theorem {
	padding: 2% 4%;
	margin: 2% 4% 2% 2%;
	border-style: solid;
	border-width: 1px 2px 2px 1px;
}

theorem {
	padding: 2% 4%;
	margin: 2% 4% 2% 2%;
	border-style: solid;
	border-width: 1px 2px 2px 1px;
}

.katex { font-size: 1em !important; }

/* Change color selection hehe */
::selection {
	background: #ffe5b8;
	color: #002147;
 }
/* Image centering and rowing */
div.imgContainer{
	float: left;
	padding: 2% 2%;
}
.photo {
	padding: 2% 2%;
	display: flex; /* Use Flexbox to align images horizontally */
 	justify-content: center;
}
.photorow {
	width: 100%;
	display: flex;
	margin: auto;
 	justify-content: center;
}

.center {
 	text-align: center; 
	padding: 2% 2%;
}
/*Photo-text columns*/
.two-column {
	display: flex;
	align-items: flex-start;
	/*margin-bottom: 1rem;*/
	flex-wrap: wrap;
}

.text-column {
	flex: 1;
	min-width: 280px;
	padding: 2% 2%;
}

.photo-column {
	flex: 1;
	min-width: 280px;
}

.photo-column img {
	max-width: 100%;
	height: auto;
	box-shadow: 0 0 10px rbga(0,0,0,0.1);
}

.photo-column figcaption {
	font-size: 0.9rem;
	color: #666;
	margin-top: 0.5rem;
	text-align: center;
}

/*Blockquote style*/
.quote-style {
  border-left: 6px solid #ffc107;
  padding: 0.25em 1em;
  margin: 0em;
  font-size: 1.1em;
  font-style: italic;
}

.quote-style footer {
  display: block;
  text-align: right;
  margin-top: 0.5em;
  font-size: 0.9em;
  font-style: normal;
  color: #555;
}

/* Sticky nav container */
#nav-placeholder {
	background-color: rgba(255, 255, 255, 0.5); /* Transparent white */
	backdrop-filter: blur(8px); /* Gives a frosted glass effect */
	width: 100%;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 1rem;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	/*background-color: white;*/
}

/* Nav layout */
#nav-placeholder nav {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1.5rem;
}

#nav-placeholder nav ul {
	list-style: none;
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
}

/* Links */
#nav-placeholder nav ul li a {
	color: #002147;
	font-size: 14pt;
	font-family: Crimson Text, Times New Roman, Arial;
	text-decoration: none;
	padding: 0.3rem 0.6rem;
	/*border-radius: 4px;*/
	transition: background-color 0.2s ease, color 0.2s ease;
}

#nav-placeholder nav a:hover {
	background-color: #e0e0e0;
	color: #000;
}

