html {
	scrollbar-color: lightseagreen teal;
}

body {
	background-color: steelblue;
	color: aliceblue; /* :) */
}

p, h1, h2, h3, a, li, button, input, label {
	font-family: ocr-a-std, monospace;
	overflow-wrap: anywhere;
}

a {
	text-decoration: underline;
	color: aliceblue;
}

a:not(.topbar, .list-link, #archive-button) {
	display: inline-block;
	margin-bottom: 20px;
}

.topbar {
	display: inline-block;
	margin-bottom: 12px;
	max-width: 100%;
	max-height: 100vh;
	height: auto;
}

img {
	margin-bottom: 5px;
}

button { /* To negate iOS automatic styling */
	-webkit-appearance: none;
	border-radius; 0;
}

form {
	margin-bottom: 20px;
}

textarea {
	resize: none;
	margin-bottom: 20px;
}

.email-message {
	width: calc(100%);
	height: 100px;
}

header {
	text-align: center;
	margin-bottom: 40px;
}

.header-title {
	text-align: center;
}

.navbar {
	max-width: 600px;
	display: flex;
	justify-content: space-between;
	margin: auto;
}

.overlay {
	position: fixed;
	visibility: hidden;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.text-module {
	background-color: lightseagreen;
	max-width: 800px;
	margin: auto;
	padding-left: 30px;
	padding-right: 30px;
	margin-bottom: 20px;
	border: 7px solid teal;
	border-radius: 25px;
	box-shadow: 10px 5px 5px rgb(35 100 125);
}

.extra-module {
	background-color: coral;
	max-width: 800px;
	margin: auto;
	padding-left: 30px;
	padding-right: 30px;
	margin-bottom: 20px;
	border: 7px solid rgb(223 90 88);
	border-radius: 25px;
	box-shadow: 10px 5px 5px rgb(55 100 115);
}

.text-module > img {
	height: 100%;
	display: block;
	margin: auto;
	max-width: 100%;
	object-fit: contain;
}

.text-module > #displayed-comic {
	width: 100%;
}

#comic-module {
	text-align: center;
}

#archive-module > p,  {
	font-size: smaller;
}

#caption {
	font-size: smaller;
	opacity: 0.75;
	text-align: center;
}

#transcript {
	font-size: smaller;
}

.ui-module {
	background-color: coral;
	max-width: 500px;
	margin: auto;
	padding-left: 30px;
	padding-right: 30px;
	margin-bottom: 20px;
	border: 7px solid rgb(223 90 88);
	border-radius: 25px;
	box-shadow: 8px 4px 4px rgb(55 100 115);
	display: flex;
	justify-content: space-between;
}

.popup {
	background-color: coral;
	max-width: 300px;
	margin: auto;
	padding-left: 30px;
	padding-right: 30px;
	border: 7px solid rgb(223 90 88);
	border-radius: 25px;
	text-align: center;
	visibility: hidden;
	position: fixed;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

.ui-module > *, .popup > * {
	margin-top: 8px;
	margin-bottom: 8px;
}

.row {
	display: flex;
}

.skinny-column {
	flex: 20%;
	margin-left: 10px;
	margin-right: 10px;
}

.wide-column {
	flex: 80%;
	margin-left: 10px;
	margin-right: 10px;
}

.container {
	display: flex;
	flex-wrap: wrap;
	column-gap: 10px;
	max-width: 1000px;
	margin: 0px auto;
}

.fixed-space {
	width: 200px;
	text-align: center;
}

.fill-space {
	flex: 1;
}

.backup-space {
	display: none;
}

#search-field {
	width: calc(100% - 65px);
}

@media screen and (max-width: 700px) {
	.navbar {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
	}

	.fixed-space {
		display: none;
	}

	.backup-space {
		display: block;
	}
}

footer {
	/*bottom: 0px;
	position: sticky;*/
	width: 100%;
	text-align: center;
	font-size: smaller;
}