@charset "utf-8";
/* CSS Document */
body {
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
	background-color: #343434;
	color: white;
	margin: 0;
	min-width: 435px;
}

html {
	scroll-behavior: smooth;
}

a:link, a:visited {
	color: white;
}

a:hover {
	color: black;
}

a:active {
	color: yellow;
	font-weight: 700;
}

.sticky {
	position: sticky;
	top: 0;
	align-self: stretch;
}

.page {
	width: 96%;
	height: 100%;
	margin: auto;
}

.header {
	position: sticky;
	top: 0;
	height: 3em;
	padding-bottom: 0px;
	background-color: grey;
}

.header:after {
	content: '';
    display: block;
    clear: both;
}

.float_left {
	float: left;
}

.float_left:after {
	content: '';
    display: block;
    clear: both;
}

.float_right {
	float: right;
	margin-left: 5px;
	margin-right: 5px;
	padding-top: 5px;
}

.float_right:after {
	content: '';
    display: block;
    clear: both;
}

.pre_section:before {
	content: '"Productivity brought to you by a nerd"';
}

.pre_section {
	height: 2em;
	background: grey;
	text-align: center;
	padding-top: 1em;
	font-style: italic;
}

.spacer {
	height: 1em;
}

.bold {
	font-weight: 700;
}

.thirds-small {
	max-width: 450px;
	margin: 0 auto; 
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2%;
	padding-bottom: 1em;
	
}

.logo > img {
	height: 3em;
	object-fit: contain;
}

.logo {
	padding-left: 1em;
	xborder: solid black 2px;
}

.justify {
	text-align: center;
	margin: auto;
	height: auto;
	display: flex;
}

.center {
	text-align: center;
	align-items: center;
}

.underline {
	text-decoration: underline;
}

.copyright {
	margin: 4px;
	background: grey;
	text-align: center;
}



/* single column format */
@media screen and (max-width: 1000px) {
	
	.left {
		text-align: left;
		xmax-width: 450px;
		--width: 100%;
		margin-left: calc(((var(--width)) - 450px)/3);
		margin-right: calc(((var(--width)) - 450px)/3);
		
	}
	
	.thirds {
		display: grid;
		grid-template-columns: repeat(1,1fr);
		gap: 30px;
		padding-bottom: 10px;
	}
	
	.thirds div:nth-child(1) {border-bottom: grey solid 2px;}
	.thirds div:nth-child(2) {border-bottom: grey solid 2px;}
	
	.thirds img {
		height: 300px;
		width: 300px;
	}
}

/* 3 column format */
@media screen and (min-width: 1001px) {
	.left {
		text-align: left;
	}
	
	.thirds {
		display: grid;
		grid-template-columns: repeat(3,1fr);
		gap: 2%;
		padding-bottom: 1em;
	}

	.thirds div:nth-child(1) {border-bottom: none;}
	.thirds div:nth-child(2) {border-bottom: none;}
	
	.thirds > div {
		align-self: center;
		justify-self: center;
	}
	
	.thirds img {
		height: 50%;
		width: 50%;
	}
}

.linkgrid {
	display: grid;
	margin: 10px;
	grid-auto-columns: 500px;
	xalign-content: left;
}

.linkgrid > div {
	padding: 2px;
}

