* {
	box-sizing: border-box;
	color-adjust: exact;
	-webkit-print-color-adjust: exact;
}

body, input {
	font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

html {
	font-size: 2vw;
	font-size: min(2vw, 3vh);
}

body {
	padding: 0;
	margin: 0;
	background-color: #555;

	color: #222;
	transition: opacity 1s ease-out;
	overflow: hidden;
	display: flex;
}

@media print {
	body {
		flex-direction: column;
	}

	@page {
	    margin: 0;
	    size: landscape;
	    size: 297mm 210mm; /* landscape */
	}
}

.chapter {
}

.chapter:last-of-type {
	padding-right: 334vw; /* for zoom: 50vw/0.15 */
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
}
h3 {
	font-size: 100%;
	font-weight: bold;
}
h3.topic {
	margin-top: 1em;
	font-weight: normal;
	font-size: 1.3em;
}

main h1, main h2, main h3, main strong, header .hint {
	color: #009c82; /* green */
}

.chapter:nth-child(odd) main h1, .chapter:nth-child(odd) main h2, .chapter:nth-child(odd) main h3, .chapter:nth-child(odd) main strong, .chapter:nth-child(odd) header .hint {
	color: #db0651; /* pink */
}

section.slide {
	width: 100vw;
	height: 100vh;
	max-height: 80vw;
	max-width: 200vh;

	background-color: white;

	margin: 0;
	box-sizing: content-box;
	border: 30px solid #555;
	border-width: max(30px, calc((100vh - 80vw)/2)) max(30px, calc((100vw - 200vh)/2));

	display: flex;

	page-break-before: always;
	page-break-after: always;
	page-break-inside: avoid;
}

.zoom section.slide.current {
	border-color: #ffdd00;
}

@media print {
	section.slide {
		border: 0;
	}
}

section.slide > header {
	background-color: #009c82;
	color: white;
	width: 27%;
	padding: 2%;
	overflow: hidden;
	position: relative;
}

section.slide:not(.no_header) > header {
	padding-bottom: 12vw;
}
section.slide.no_header .logo {
	display: none;
}

.chapter:nth-child(odd) section.slide > header {
	background-color: #db0651; /* pink */
}

section.slide > header.full {
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

}

section.slide > header.large {
	width: 67%;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

section.slide > main {
	position: relative;
	padding: 2%;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	text-align: center;
}

section.slide > main > div {
	max-width: 100%;
	width: 100%;
}

ul, ol {
	text-align: left;
}

main.img {
	background-size: cover;
	background-position: center;
}

.hide {
	opacity: 0;
	transition: opacity 0.3s ease-out, transform 0.3s ease-out;
	transform: scale(1.5);
}

.zoom .hide {
	opacity: 1;
	transition-duration: 0s;
	transform: scale(1);
}

@media print {
	.hide {
		opacity: 1;
		transform: scale(1);
	}
}

.hide.show {
	opacity: 1;
	transform: scale(1);
}

aside {
	display: none;
}

.notes aside {
	display: block;
	opacity: 0.8;
	border-radius: 0.5em;
	background-color: white;
	color: #484;
	padding: 0.5em 1em;
	margin: 1em 0;
	font-style: italic;
	box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.notes aside::before {
	content: '☞ ';
	font-weight: bold;
}


.zoom {
	transform: scale(0.15);
}

.logo {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	width: 60%;
	height: 4rem;
	background-image: url(/saxion-logo-white.png);
	background-position: 0% 100%;
	background-size: contain;
	background-repeat: no-repeat;
	
}

li {
	margin: 1vw 0;
}

li > p {
	margin: 0;
}

.firstSlide {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	text-align: center;
}

.moduleName {
	font-size: 150%;
	text-align: right;
}
.teacherName {
	font-size: 80%;
	text-align: right;
	flex: 1;
}

.weekNumber {
	font-size: 80%;
}

.weekSubject {
	font-size: 300%;
	font-weight: bold;
	flex: 1;
}

.imageRow {
	display: flex;
	align-items: center;
	justify-content: space-around;
}
.imageRow > * {
	margin-left: 5%;
}
.imageRow > *:first-child {
	margin-left: 0;
}

.imageRow > * {
	flex: 1 1;
}

img {
	max-width: 100%;
	max-height: 61.8vh;
	object-fit: contain;
}

.shadow {
	box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

a, a, a:visited {
	color: #85cee4;
	text-decoration: none;
}
header a, header a:visited {
	color: white;
	text-decoration: underline;
}
header .hint a, header .hint:visited {
	color: #db0651; /* pink */
}


.fs {
	background-color: black;
	overflow: hidden;
	position: absolute;
	box-shadow: 0 5px 15px black;
	z-index: 2;
}

iframe.fs {
	height: 90%;
	width: 90%;
	top: 5%;
	left: 5%;
	right: 5%;
	bottom: 5%;
}

video.fs {
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

code, .hint code {
	color: #009c82; /* green */
	font-style: italic;
}

header code {
	color: #ddd; /* light gray */
}


pre > code {
	border: 0 !important;
	box-shadow: 0 3px 4px rgba(0,0,0,0.4) !important;
}

pre.output {
	text-align: left;
	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	font-size: 1em;
	line-height: 1.5;
	overflow: auto;
	box-shadow: 0 3px 4px rgba(0,0,0,0.4) !important;
	color: #123;
}
pre.output > * {
	padding: 0 16px;
	background-color: #eee;
}

pre.output > *:nth-child(even) {
	background-color: #ddd;
}

pre.output > .error {
	color: #a00;
}

pre.output > .warn {
	color: #066;
}

.lineNumber {
	width: 3em;
	display: inline-block;
	border-right: 1px solid #999;
	color: #aaa;
	text-align: right;
	padding-right: 0.75em;
	margin-right: 0.75em;
	margin-left: -16px;
}

/* green: #009c82 */
/* gray: #c0c5bf */
/* blue: #85cee4 */
/* pink: #db0651 */
/* yellow: #ffdd00 */

.supporter {
	margin: 0.5em 0;
	text-align: left;
}

.supporter > div:first-child {
	font-size: 1em;
}
	
.supporter > div {
	font-size: 0.7em;;
}
	
.hint {
	border: 1px solid #ccc;
	box-shadow: 0 5px 10px rgba(0,0,0,0.7);
	padding: 0.25em 0.5em;
	border-radius: 3px;
	margin: 0 auto;
}
header .hint {
	background-color: white;
}

div.caption {
	background-color: rgba(0,0,0,0.5);
	color: white;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	padding: 0.5em;
	font-size: 70%;
}

tr {
	margin: 0;
	padding: 0;
	text-align: left;
}
td {
	padding: 9px 18px;
}
table.noshade > tbody > tr > td {
	background-color: transparent;
}
tr:nth-child(odd) td {
	background-color: rgba(0,0,0,0.1);
}
table {
	margin: 1em 0;
}

section.slide > main.borderless {
	padding: 0;
}

h2 + .imageRow, h2 + a, h2 + img, h2 + h4, h2 + div {
	margin-top: 1em;
}

h4 {
	font-size: 85%;
	font-style: italic;
	font-weight: normal;
}

.imageLink > img {
   border: 5px solid #85cee4;
}

@keyframes pulse_animation {
	0% { transform: scale(1); }
	30% { transform: scale(1); }
	40% { transform: scale(1.1); }
	50% { transform: scale(1); }
	100% { transform: scale(1); }
}
.blink {
	animation: blink-animation 1s steps(5, start) infinite;
}
.hl {

	background-color: yellow;
	color: black;
	padding: 0 0.1em;
	font-weight: bold;
}

.in {
	color: #484;
}

.out {
	color: #448;
}

.err {
	color: #822;
}
.left {
	text-align: left;
}
.url {
	width: 90%;
	margin: 32px auto !important;
	padding: 16px;
	border-radius: 4px;
	background-color: #444;
	color: #eef;
	font-size: 120%;
	font-family: monospace;
}
.url > sub {
	display: block;
	font-size: 75%;
	font-weight: bold;
	color: #daa;
}

.cols {
	display: flex;
	text-align: left;
	gap: 40px;
	margin-top: 40px;
}
