/* ==================================== general rules ======================= */
:root * {
	user-select: none;
}

html {
	overflow-y: scroll;
	overflow-x: hidden;
	min-width: fit-content;
	background-color: #fff;
}

body {
	margin: 0;
}

.lard {
	margin-left: auto;
	margin-right: auto;
}

.lube {
	max-width: fit-content;
}

h1#new_title {
	color: #900;
	font-size: 96px;
	margin: 0px auto 0px auto;
	padding: 36px 0px 27px 0px;
	max-width: fit-content;
	letter-spacing: -3px;
	text-align: center;
	padding-right: 40px;
}

@media (max-width:710px) {
	h1#new_title {
		font-size: calc(1vw * 13.5);
	}
}

/* ====================================== stuff for iframe ================== */
[popover] {
	margin: 0;
	padding: 0;
}

#the_iframe {
	width: 100%;
	height: calc(100% - 70px);
	border: none;
}

#iframe_framed {
	width: calc(100% - 6px);
	height: calc(100% - 6px);
	overflow-x: clip;
	overflow-y: hidden;
	z-index: 10;
	position: fixed;
	background-color: #fff;
	border: 3px solid black;
}

	#iframe_framed * {
		overscroll-behavior: none;
	}

#go_back {
	font-size: 36px;
	height: 70px;
	display: block;
	width: 100%;
}

/* ======================= stuff for navboat ================================ */
#goto {
	position: fixed;
	top: 0px;
	right: 0px;
	background-color: #FFF;
	padding-right: 5px;
	font-size: 200%;
	display: flex;
	flex-flow: column nowrap;
	height: 100%;
	width: 31px;
	z-index: 9;
}

	#goto > a {
		text-decoration: none;
		color: #00E;
		text-align: center;
		flex: auto;
		max-height: calc(100% / 27);
	}

		#goto > a:active {
			color: #F00;
		}

/* ======================= stuff for the actual table ======================= */
tr * {
	appearance: none;
	border: none;
	background-color: unset;
	line-height: 2;
	font-size: 24px;
	font-family: sans-serif;
}

.easy {
	color: red;
}

tbody#tbod > tr:nth-of-type(even) {
	background-color: #f3f3f3;
}

table {
	width: calc(100% - 40px);
	border-collapse: collapse;
}

th {
	background-color: #e3e3e3;
}

tr > *:last-child {
	border-left: 1px solid black;
	padding-left: 1ch;
}

thead {
	position: sticky;
	top: 0;
}

th > button {
	font-weight: bolder;
	padding: 0;
	width: 100%;
	font-variant: small-caps;
}

button.attention {
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-thickness: inherit;
}

tbody * {
	scroll-margin-top: 50px;
}
/* ======================= stuff for the download button ==================== */
#download-btn {
	display: block;
	margin: auto;
	transform: scaleY(1.4);
	font-size: 1.2em;
	margin-bottom: 1em;
}

div#the_container {
	overflow-y: scroll;
	width: 100%;
	height: calc(100% - 70px);
	border: none;
	background-color: black;
	scrollbar-width: thin;
}

	div#the_container > canvas {
		width: 100%;
		height: 100%;
		object-fit: contain;
		margin-bottom: 9px;
		display: block;
	}

		div#the_container > canvas:last-child {
			margin-bottom: 0px;
		}

	div#the_container > iframe {
		display: block;
		width: 100%;
		height: 100%;
		border: none;
	}

	div#the_container.fallback-iframe,
	div#the_container:has(> iframe) {
		overflow: hidden;
	}

/* ============== some more copypastas lol ========================== */

button.alert_II {
	float: right;
	display: block;
	margin: 13px -14px -14px 0px;
	padding: 0px;
	width: 40px;
	height: 30px;
}

dialog.alert_II {
	margin-top: 2em;
	max-width: 3.5in;
}
