body, html { padding: 0; margin: 0; }

body {
	font-size: 1.125rem;
	color: var(--blue);
	background-color: var(--d-purple);
	background-image: url('/graphix/bg/rainbow-paw-stars.png');
	background-size: min(400px, 50vw, 50vh);
	text-align: center;
}

img { max-width: 100%; }

.container {
	position: relative;
	width: 90%;
	max-width: 1000px;
	height: auto; min-height: 100vh;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	background-color: var(--dd-purple);
}
@media screen and (max-width:800px) {
	.container {
		/* spacing for the bottom fixed image at small sizes */
		padding-bottom: 50px;
	}
}

.header {
	display: block;
	width: 100%;
	margin-bottom: 25px;
	padding: 0;
	background-color: var(--black);
	background-image: url('/graphix/bg/black-binary.gif');
	background-blend-mode: screen;
}
.header .title { --text-shadow-color: var(--d-purple); }
.header .title h1 {
	font-size: min(4rem, 8vw);
	letter-spacing: .1em;
	margin: 0;
}
.header .subtitle {
	font-size: min(2rem, 4vw);
	letter-spacing: .3em;
	background-color: var(--yellow);
	color: var(--red);
}
.header .divider {
	display: flex;
	width: 100%;
	overflow: hidden;
}

.skip-to-content {
	left: -5%;
	position: absolute;
	z-index: 5000;
	transform: translateY(-1000%);
	background: var(--yellow);
	border: var(--green) 2px solid;
	padding: .1em .25em;
}
.skip-to-content:focus {
	transform: translate(50%);
	color: var(--d-purple);
	outline: 0px;
}

main {
	position: relative;
	display: flex;
	align-content: center;
	justify-content: center;
	padding: 0 5%;
}
@media screen and (max-width:800px) { main { display: block; } }

/* updates iframe */
.updates {
	height: max(50vh,350px);
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; /* border on inside of box */
	border: 2px var(--green) dashed;
	background: var(--d-purple);
}
/* screens over 1500px wide */
@media screen and (min-width:1600px) {
	.updates {
		position: absolute; left: 0; transform: translate(-105%, 0);
		width: min(300px, calc((100vw - 1000px)/2 * .9));
		background: var(--dd-purple);
	}
}
/* screens under 800px wide */
@media screen and (max-width:800px) { .updates { width: min(100%, 390px); margin-bottom: 1em; } }

#about { max-width: 55%; }
@media screen and (max-width:800px) { #about { max-width: 100%; } }

.links {
	width: 100%;
	padding: 2rem 5%;
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; /* border on inside of box */
	display: grid;
	gap: .5rem;
	grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) );
}

/************** FIXED ELEMENTS **************/

/* image at bottom right */
.bottom-right-fixed {
	z-index: 100;
	position: fixed;
	bottom: -5px;
	right: 0;
	width: max(25%, 200px);
	-webkit-user-select: none; user-select: none; /* make unselectable */
	padding: 0;
	pointer-events: none;
}
.bottom-right-fixed img { width: auto; max-width: 100%; }
.bottom-right-fixed svg { position: absolute; bottom: 3px; right: 0; width: 100%; opacity: 0; }
.bottom-right-fixed path { pointer-events: fill; }