:root {
	--colour-house: #237989;
	--sidebar-width: 450px;
}

html {
	font-size: 62.5%;
}

body {
	margin: 0;
	padding: 0;
	font-family: Roboto, sans-serif;
	font-size: 1.4rem;
}

a {
	text-decoration: none;
	font-weight: 500;
	color: var(--colour-house);
}

a:hover {
	text-decoration: underline;
}

#content {
	width: var(--sidebar-width);
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

footer {
	text-align: center;
	background: var(--colour-house);
	padding: 8px;
	font-weight: 500;
	color: white;
}

#header-bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

#page-bottom {
	display: none;
	width: 100%;
}

#portfolio {
	padding-left: var(--sidebar-width);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(342px, 1fr));
	grid-auto-flow: dense;
}

#portfolio img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#portfolio a {
	width: 100%;
	position: relative;
}

#portfolio .overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	opacity: 0;
	background-color: black;
}

#portfolio a:hover .overlay {
	opacity: .1;
}

#logo-container {
	text-align: center;
}

#icon-container {
	margin: 20px 0;
	text-align: center;
}

#icon-container img {
	margin-right: 10px;
	width: 32px;
}

.links-line {
	text-align: center;
}

.links-line a {
	margin-right: 20px;
	font-variant: small-caps;
	font-size: 1.8rem;
}

#kofi {
	padding-top: 20px;
	text-align: center;
}

#kofi img {
	height: 36px;
}

@media (max-width: 1200px) {
	#content {
		position: unset;
		margin: auto;
	}

	#portfolio {
		padding: 12px 0 0 0;
	}

	#header-bottom {
		display: none;
	}

	#page-bottom {
		display: block;
	}
}
