body {
	background: repeating-linear-gradient(120deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 7px, rgba(255, 255, 255, 0.1) 7px, rgba(255, 255, 255, 0.1) 14px);
	background-color: rgb(7 7 45);
	color: aliceblue; /* :) */
}

p, h1, h2, h3, a, li, button, input, label, img {
	font-family: ocr-a-std, monospace;
	overflow-wrap: anywhere;
}

a {
	text-decoration: underline;
	color: aliceblue;
}

a:not(.topbar, #archive-button) {
	display: inline-block;
	margin-bottom: 20px;
}

.topbar {
	margin-bottom: 12px;
	width: 100%;
}

#banner {
	max-width: 100%;
	height: auto;
}

img {
	margin-bottom: 5px;
}

button { /* To negate iOS automatic styling */
	-webkit-appearance: none;
	border-radius: 0;
}

button:hover {
	cursor: pointer;
}

form {
	margin-bottom: 15px;
}

.full-width-area {
	width: calc(100%);
}

header {
	text-align: center;
	margin-bottom: 40px;
}

.header-title {
	text-align: center;
}

.topbar-module {
	background-color: rgb(186 35 85);
	margin: auto;
	margin-bottom: 20px;
	background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(Dunderheads/Fabrics/RedFabric.webp);
	background-size: cover;
	max-width: 600px;
	border: 5px solid rgb(155 0 0);
	border-radius: 25px;
	padding: 5px;
}

.navbar {
	background-color: rgb(255 50 59);
	margin: auto;
	margin-bottom: 50px;
	background-image: url(Dunderheads/Fabrics/TigerFabric.webp);
	background-size: cover;
	max-width: 400px;
	border: 5px solid rgb(155 0 0);
	border-radius: 25px;
	padding: 5px;
}

.ui-module {
	background-color: rgb(120 20 35);
	margin: auto;
	margin-bottom: 20px;
	background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(Dunderheads/Fabrics/BlockFabric.webp);
	background-size: cover;
	max-width: 500px;
	border: 5px solid rgb(155 0 0);
	border-radius: 25px;
	padding: 5px;
}

.sewn-border {
	border: 1px dashed rgb(166 166 166);
	border-radius: 15px;
	justify-content: space-between;
	margin: auto;
	padding-left: 30px;
	padding-right: 30px;
}

div:not(#comic-module, #search-module, #transcript-module, #search-result) > .sewn-border {
	display: flex;
	padding-top: 15px;
}

.text-module {
	background-color: rgb(80 142 117);
	min-height: 50px;
	max-width: 850px;
	margin: auto;
	padding: 5px;
	margin-bottom: 20px;
	border: 7px solid rgb(0 105 60);
	border-radius: 25px;
}

.extra-module {
	min-height: 50px;
	max-width: 850px;
	margin: auto;
	padding: 5px;
	margin-bottom: 20px;
	border-radius: 25px;
}

#search-module {
	background-color: rgb(56 50 56);
	background-image: linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.56)), url(Dunderheads/Fabrics/TieDyeFabric.webp);
	background-size: cover;
	border: 7px solid rgb(76 70 100);
}

#transcript-module {
	background-color: rgb(25 35 55);
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(Dunderheads/Fabrics/DottedFabric.webp);
	background-size: cover;
	border: 7px solid rgb(50 50 65);
}

.text-module > .sewn-border > img {
	height: 100%;
	display: block;
	margin: auto;
	max-width: 100%;
	object-fit: contain;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25), 0 6px 20px 0 rgba(0, 0, 0, 0.25);
}

#comic-module {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(Dunderheads/Fabrics/GreenFabric.webp);
	background-size: cover;
	text-align: center;
}

#search-result {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(Dunderheads/Fabrics/GreenFabric.webp);
	background-size: cover;
}

#displayed-comic {
	width: 100%;
}

#print-date, #comic-title {
	text-align: center;
}

#caption, #comic-link, #transcript {
	font-size: smaller;
}

.ui-module > .sewn-border > * {
	margin-bottom: 12px;
}

#search-field {
	width: calc(100% - 65px);
}

#patch {
	display: block;
	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;
}

#popup {
	background-color: rgb(191 62 40);
	width: 400px;
	height: 750px;
	margin: auto;
	padding-left: 30px;
	padding-right: 30px;
	border: 7px solid rgb(112 15 13);
	scrollbar-color: rgb(215 180 180) rgb(112 15 13);
	visibility: hidden;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

#popup-container {
	overflow-y: scroll;
	height: 620px;
}

#popup-text {
	width: 390px;
}

#exit {
	display: block;
	margin: auto;
	margin-bottom: 15px;
	margin-top: 15px;
	width: 50px;
}

footer {
	width: 100%;
	text-align: center;
	font-size: smaller;
}

#comics-link, #random {
	transform: rotate(-10deg);
}

#blogs-link, #previous {
	transform: rotate(15deg);
}

#photos-link {
	transform: rotate(25deg);
}

#about-link, #next {
	transform: rotate(-15deg);
}

#question-link, #archive {
	transform: rotate(10deg);
}