* {
	box-sizing: border-box;
	margin: 0px;
	padding: 0px;
}

*, *::before, *::after {
	box-sizing: inherit;
}

html {
	scroll-behavior: smooth;
}

body {
	font-size: calc(9px + 1vw);
	font-family: 'Montserrat', sans-serif;
	line-height: 1.5;
}

header {
	padding: 20px 0px;
	background: rgb(0, 120, 255);
	color: white;
	text-align: center;
	font-size: 2.8em;
	font-weight: bold;
}

header .subheader {
	padding: 10px 0px;
	font-size: 0.98rem;
	font-weight: normal;
}

header a {
	text-decoration: none;
}

header img {
	transform: translateY(0.3em);
	max-height: 1.2em;
	transition: transform 0.8s;
}

header img:hover {
	transform: translateY(0.3em) rotateZ(-360deg);
}

footer {
	padding: 20px 20px;
	background: rgb(115, 115, 125);
	color: white;
	text-align: right;
	font-size: 1.2em;
	font-weight: bold;
	box-shadow: 0px -4px 8px 0px rgba(0, 0, 0, 0.2);
}

main {
	padding-top: 30px;
}

.grid-container {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 0px;
}

.col-left,
.col-right,
.col-full {
	padding: 0px 30px;
	text-align: justify;
}

.col-left p, .col-right p, .col-full p {
	margin-bottom: 2em;
}

.col-right {
	justify-self: center;
}

.col-right img {
	width: 100%;
}

.canvas {
	margin-bottom: 2em;
}

.highlight {
	background: rgb(205, 230, 255);
	border-radius: 12px;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.4);
	padding: 5px 15px;
	margin-bottom: 2em;
}

.highlight p {
	margin-top: 1em;
  	margin-bottom: 1em;
}

.highlight2 {
	background: rgb(255, 240, 140);
	border-radius: 12px;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.4);
	padding: 5px 15px;
	margin-bottom: 2em;
}

.highlight2 p {
	margin-top: 1em;
  	margin-bottom: 1em;
}

/* .highlight a {
	color: inherit;
	text-decoration: none;
} */

/* .highlight a:hover {
	text-decoration: underline;
} */

.focus-box {
	position: fixed;
	background: rgb(205, 230, 255);
	border-radius: 12px;
	/* color: rgb(0, 120, 255); */
	width: 50px;
	height: 20px;
	top: 200px;
	z-index: -1;
}

.title {
	font-size: 1.2em;
	font-weight: bold;
	color: #ffffff;
	background: rgb(0, 120, 255);
	border-radius: 12px;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.4);
	padding: 20px 25px;
	margin-top: 1em;
	margin-bottom: 2em;
}

.material-icons {
  	display: inline-flex;
  	vertical-align: top;
	padding-left: 2px;
	padding-right: 2px;
}

.canvas-mod {
	color: black;
	background: rgb(205, 230, 255);
	padding: 4px;
	border-radius: 4px;
}

.canvas-mod:hover {
	cursor: pointer;
}

.canvas-mod.active {
	color: white;
	background: rgb(207, 25, 25);
	padding: 4px;
	border-radius: 4px;
}

.definitions > p {
	margin-left: 15px;
  	text-indent: -15px;
}

.definitions a {
	text-decoration: none;
	color: rgb(0, 120, 255);
}

/* .definitions a:hover {
  	color: rgb(207, 25, 25);
} */

.definitions a.dead {
	text-decoration: none;
	color: rgb(115, 115, 125);
}

.definitions a.dead:hover {
	cursor: text;
}

.definitions .material-icons {
  	display: inline-flex;
  	vertical-align: top;
	padding-left: 20px;
}

.def {
	scroll-margin-top: 80px;
	font-weight: bold;
	color: black;
}

.info {
	font-style: italic;
	color: rgb(115, 115, 125);
	display: none;
}

.en {
	display: none;
}

main a {
	text-decoration: none;
	color: inherit;
	background: linear-gradient(0deg, rgb(0, 120, 255), rgb(0, 120, 255));
	background-position: bottom;
	background-repeat: no-repeat;
  	background-size: 100% 2px;
	transition: 0.2s;
}

main a:hover {
	color: white;
  	background-size: 100% 100%;
}

main a.nodecor {
  background: none;
}

main a.nodecor:hover {
  color: inherit;
}

.anchor-tag {
	position: relative;
	top:-5em;
}

.specLink {
	color: inherit;
	text-decoration: none;
}

mjx-utext {
  	font-family: MJXZERO, Noto Sans, sans-serif;
}

@media (min-width: 650px) {
	body {
		font-size: 16px;
	}

	.grid-container {
		grid-template-columns: 1fr 650px 1fr;
	}

	.col-left,
	.col-right,
	.col-full {
		grid-column: 2/3;
	}
}

@media (min-width: 1200px) {

	.grid-container {
		grid-template-columns: 1fr 650px 20px 450px 1fr;
	}

	.col-left {
		grid-column: 2/3;
	}

	.col-right {
		grid-column: 4/5;
	}

	.col-full {
		grid-column: 2/5;
	}

}
