@font-face {
	font-family: pixel;
	src: url("MS Sans Serif.ttf");
}

body {
	width: 100vw;
	height: 100vh;
	font-family: pixel, Arial, Helvetica, sans-serif;
	text-transform: lowercase;
	margin: 0;
	box-sizing: border-box;
	background: linear-gradient(to top right, transparent, #a12178);
	background-position: center;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-color: white;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	margin-bottom: 10px;
}

.modal,
.titlebtn, a, #pageEmbed, input[type="checkbox"] {
	box-shadow: inset 2px 2px 0 white, 2px 2px 0px black;
	translate: -2px -2px;
}

.modal {
	background-color: lightgray;
	padding: 2px;
	border-left: solid 1px lightgray;
	border-top: solid 1px lightgray;
	width: fit-content;
	scale: 1 0;
	transition: scale 0.3s ease;
}

.titlebar {
	width: 100%;
	height: 20px;
	background-color: darkblue;
	position: relative;
	color: white;
	padding: 5px;
	box-sizing: border-box;
	font-size: 10px;
	display: flex;
	align-items: center;
}
.titlebtns {
	display: flex;
	position: absolute;
	right: 5px;
	gap: 5px;
}
.titlebtn {
	width: 12px;
	height: 12px;
	background-color: lightgray;
	box-sizing: border-box;
	color: black;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	padding-left: 2px;
}
.modalcontent {
	padding: 10px;
	display: flex;
	flex-direction: column;
}

.links {
	display: flex;
	gap: 5px;
	width: 100%;
}

a {
	font-size: 12px;
	color: black;
	text-decoration: none;
	padding: 5px;
	box-sizing: border-box;
	flex: 1;
	text-align: center;
}
a:hover {
	box-shadow: inset 1px 1px 0 white, 1px 1px 0px black;
}

input {
	border-radius:0;
	font-family: inherit;
	font-size: inherit;
	display: block;
	width: calc(100% - 6px)
}
input[type="checkbox"] {
	width: 15px;
	height: 15px;
	display: inline-block;
}

.inputPair {
	margin-bottom: 10px;
	text-transform: uppercase;
}

#pageEmbed {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	height: 90%;
	background-color: lightgray;
	overflow-y: auto;
	overflow-x: hidden;
	max-width: 600px;
}

#bth {
	display: inline-block;
	width: fit-content;
	margin-bottom: 10px;
}