body {
	margin: 0;
	font-size: clamp(1rem, 2.5vw, 1.5rem);
}
@media only screen and (max-width: 768px) {
	main { max-width: 90vw; }
	#stickyNavBar { font-size: 1rem;} 
}

@media only screen and (min-width: 769px) and (max-width: 1280px) {
	main { max-width: 80vw; } 
	#stickyNavBar { font-size: 1.6rem;} 
}

@media only screen and (min-width: 1281px){
	main { max-width: 40vw;	} 
	#stickyNavBar { font-size: 1.6rem;} 
}

main { 
	margin: auto; 
}
main p, main #collapseExpand {
	padding-left: 1rem;
}
main ul * {
	padding: 0;
}

/* #region sticky navigation */ 
#stickyNavBar {
	position: fixed;
	top: 0px;
	text-overflow: ellipsis;
	/* white-space: nowrap; */
	overflow: hidden;
	width: 100%;
	height: 4vh;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	align-content: center;

	
	/* padding-left: .74rem; */
	font-family: Jost, sans-serif;

	transition: top .16s ease 0s;
	background-color: black;
	color: white;
}
#stickyNavBar div {
	width: fit-content;
	overflow: ellipsis;
}
/* #endregion */ 
.categoryHeader {
	padding: .1rem;
}
.mainCategory {
	background-color: white;
	/* outline: .1rem solid lightgreen; */
	/* margin: 0 .4rem 0 .4rem;  */
	padding-bottom: 4vh;
}
.mainCategory:first-of-type {
	margin-top: 6vh;
}

.mainCategory:last-of-type {
	margin-bottom: 4vh;
}
.mainCategory p, #collapseExpand  {
	margin: .5rem .5rem .1rem .5rem;
}
#studentProjectsContainer p {
	margin: 0 1rem 1.4rem 1rem;
} 
#studentProjectsContainer iframe {
	margin: 0 1rem 0 1rem;
}
.mainCategory .thumbnail {
	width: 100%;
}
/* #region  pure css collapse/expand */
.details,
.show,
.hide:target {
  display: none;
}
.hide:target + .show,
.hide:target ~ .details {
  display: block;
}
#studentProjectsContainer i { 
	font-style: italic; 
	display: block;
	padding: 0 1rem 2rem 1rem;
}

/* #endregion */
/* palette */
/* slate grey #717C89 */
/* cadet grey ##8AA2A9 */
/* cambridge blue #90BAAD */
/* celadon #A1E5AB */
/* light green #ADF6B1 */
#games { outline: .1rem solid #717C89;}
#games .categoryHeader { background-color: #717C89; color:white }

#code { outline: .1rem solid #8AA2A9; }
#code .categoryHeader { background-color: #8AA2A9; color: white }

#korea { outline: .1rem solid #A1E5AB }
#korea .categoryHeader { background-color: #A1E5AB; }

#gamesCode { outline: .1rem solid #90BAAD }
#gamesCode .categoryHeader { background-color: #90BAAD; color: white }

#gamesKorea { outline: .1rem solid #ADF6B1 }
#gamesKorea .categoryHeader { background-color: #ADF6B1; }