:root {
	--page-bg: #e1f4f5;
	--dialog-bg: #f5ffff;
    --button-bg: #fff;

    --page-container-bg: #eff;

    --link-color: #106590;
    --link-pressed-color: #202050;

    --strong-link-color: #303580;
    --strong-link-pressed-color: #151540;

	--highlight-color: #00ffff;
	--text-shadow-color: #00ffff;
	--hover-shadow-color: #00dddd;
	--click-shadow-color: #4080b0;
}

[data-darkreader-scheme="dark"] body {
    --text-shadow-color: #301060;
}

html {
    background-color: var(--dialog-bg);
}

body {
	font-family: "Roboto Condensed";
	color: #000;
	margin: 0;
    position: relative;
}

.bg-image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background-color: var(--page-bg);
	background-image: url("/static/img/bg_tile.svg");
	background-repeat: repeat;
}

h1 {
    font-family: "NotoSansMono";
	font-size: 2.8rem;
}

h2 {
    font-weight: 500;
}

a {
    color: var(--link-color);
    text-decoration: underline 7%;
}

a:active {
    color: var(--link-pressed-color);
}

a.standalone-link {
	font-size: 1.5rem;
}

p.large {
	font-size: 1.5rem;
}

.site-container {
	display: flex;
	flex-flow: column;
	min-height: 100vh;

}

header {
	display: grid;
	height: 6.25rem;
	padding: 0.25rem 1.25rem;
	box-sizing: border-box;
	grid-template-columns: 8% max-content auto 18%;
	background-color: var(--dialog-bg);
	border-bottom: 5px var(--highlight-color) solid;
}

.header-items-left {
	grid-column: 2;
	display: flex;
	align-items: center;
	justify-items: left;
}

.header-items-right {
	grid-column: 3;
	display: flex;
	justify-self: right;
	align-items: center;
	justify-items: right;
}

@media screen and (max-width: 65rem) {
    header {
        grid-template-columns: auto auto;
    }

    .header-items-left {
        grid-column: 1;
    }
    .header-items-right {
        grid-column: 2;
    }
}

@media screen and (max-width: 35rem) {
    .logo-text {
        display: none;
    }
}

.logo-container, .header-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #000000;
}

.logo-container {
	padding: 0 0.6rem;
}

.logo-img {
	margin-right: .15rem;
    filter: drop-shadow(.1em .1em var(--text-shadow-color));
}

[data-darkreader-scheme="dark"] .logo-img {
    filter: invert(85%) drop-shadow(.1em .1em #00000050);
}

.logo-text {
	font-family: "Barlow Condensed";
	font-weight: 500;
	font-size: 2.5rem;
	position: relative;
	letter-spacing: -0.01em;
    filter: drop-shadow(.065em .065em var(--text-shadow-color));
}

.header-button {
    padding: 0.8rem 1.3rem;
	margin: 0rem 0.625rem;
	background-color: var(--button-bg);
	border: 4px #000000 solid;
}

.header-button:hover {
	box-shadow: 4px 4px var(--hover-shadow-color);
}

.header-button:active:hover {
	box-shadow: 4px 4px var(--click-shadow-color);
}

.header-button span {
	font-size: 2.6rem;
    text-wrap: nowrap;
	position: relative;
    font-family: "Roboto Condensed";
    font-weight: 400;
    -webkit-text-stroke: 0.3px black;
    filter: drop-shadow(.065em .065em var(--text-shadow-color));
}

@media screen and (max-width: 52rem) {
    .logo-container {
        padding: 0;
    }
    .header-button {
        padding: 0.8rem 0.5rem;
        border-width: 3px;
    }

    .header-button span {
        font-size: 1.5rem;
    }
}

div.sp_banner {
    display: flex;
}

.sp_banner span {
    margin: 2px auto;
}

.page-container {
	width: 75%;
	margin: 0 auto;
	padding: 1rem max(6vh, 1rem);
	box-sizing: border-box;
	flex-grow: 1;
}

@media screen and (max-width: 52rem) {
    .page-container {
        width: 100%;
    }
}

footer {
	width: 100%;
	background-color: var(--dialog-bg);
}
