* {
	margin: 0;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 12px;
	max-width: 960px;
	margin: auto;
}

h1 {
	font-size: 3em;
	letter-spacing: .6em;
	padding-top: 1em;
	padding-bottom: 1em;
}

h2 {
	font-size: 1.5em;
	padding-bottom: 1em;
}

main {
	display: grid;
	grid-template-columns: minmax(0, 45%) minmax(0, 55%);
	margin-top: 2em;
}

header {
	text-align: center;
	margin: auto 2em;
}

section {
	margin: auto 1em 4em 2em;
}

i {
	margin-right: .1em;
}

p {
	margin: auto
}

hr {
	border: none;
	background-color: lightgray;
	height: 1px;
}

h1,
h2 {
	font-weight: 100;
	margin-bottom: 0;
}

#mainLeft {
	border-right: 1px solid lightgray;
	min-width: 0;
}

#mainRight {
	min-width: 0;
}

/* The original list used a br between items. br is not allowed in ul, so the same one-line gap is set here. */
#mainRight li:not(:last-child) {
	margin-bottom: 1lh;
}

#mainRight ul {
	padding-bottom: 1lh;
}

#mainLeft a {
	text-decoration: none;
	color: #1a0db9;
	overflow-wrap: break-word;
}

.gridcontainer1 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	width: 100%;
}

.gridcontainer1 > a {
	display: block;
	min-width: 0;
}

.boxes {
	box-sizing: border-box;
	width: 100%;
	aspect-ratio: 3 / 1;
	border: #333 solid 1px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.box1 {
	background-image: url("../images/aws.png");
}

.box2 {
	background-image: url("../images/a-plus.jpg");
}

.box3 {
	background-image: url("../images/net-plus.jpg");
}

.box4 {
	background-image: url("../images/CCNA.png");
}

.box5 {
	background-image: url("../images/ccna-s.png");
}

.box6 {
	background-image: url("../images/ccna-w.png");
}

.box7 {
	background-image: url("../images/vmware.png");
}

.box8 {
	background-image: url("../images/pfsense.png");
}

.box9 {
	background-image: url("../images/Windows.png");
}

.box10 {
	background-image: url("../images/html-css.jpg");
}

@media (max-width: 640px) {
	main {
		grid-template-columns: minmax(0, 1fr);
	}

	#mainLeft {
		border-right: none;
		border-bottom: 1px solid lightgray;
	}
}

/* 404 page */
main.notfound {
	display: block;
	text-align: center;
}

.notfound-link {
	margin-top: 2em;
}

.notfound a {
	text-decoration: none;
	color: #1a0db9;
}
