* {
	box-sizing: border-box;
}

body {
	margin: 0px;
	color: white;
	line-height: 1.6;
	font-size: 1.12em;
	font-family: serif;
	background: url("./assets/bg.webp");
	background-size: 40em;
	image-rendering: pixelated;
	background-repeat: repeat;
}

h1,h2,h3 {
	line-height: 1.2;
}

p {
	padding: 0px;
	margin: 0px;
	margin-top: 18px;
	margin-bottom: 18px;
}

a {
	color: white;
	font-weight: bold;
}

footer {
	margin-bottom: 1.2em;
}

.footer-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.footer-links {
	display: flex;
	flex-direction: row;
	gap: 1.5em;
}

.site-container {
	width: 100vw;
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 6px;
	padding-top: 3em;
	padding-bottom: 3em;
}

.projects-col {
	display: flex;
	width: 47em;
	flex-direction: column;
	gap: 1.3em;
}

.text-body {
	width: 47em;
	border-width: 8px;
	border-style: ridge;
	border-color: lightgray;
	background-color: #202020;
	padding: 1.5em;
	padding-top: 2.5em;
}

.project-body {
	width: 47em;
	border-width: 8px;
	border-style: ridge;
	border-color: lightgray;
	background-color: #202020;
	padding: 1.5em;
}

.project-header {
	margin-bottom: 0.3em;
}

.project-contents a {
	font-weight: normal;
}

.topheader {
	background-image: url("./assets/chain.webp");
	background-repeat: repeat-x;
	background-position: top left;
	image-rendering: pixelated;
	background-size: 5em;
}

@keyframes border-spin {
	0% {
		border-color: red;
	}

	25% {
		border-color: green;
	}

	50% {
		border-color: blue;
	}

	75% {
		border-color: gold;
	}

	100% {
		border-color: red;
	}
}

.left-container {
	width: 7.6em;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-shrink: 0;
	margin-left: 1em;
}

.margin-button {
	background-color: #202020;
	color: white;
	padding: 0.1em;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	cursor: default;
	border-width: 4px;
	border-style: ridge;
	border-color: lightgray;
	width: 100%;
}

.margin-button-current {
	position: relative;
}

.current-page-sign {
	position: absolute;
	bottom: 0px;
	left: -20px;
	transform: rotate(-15deg);
	height: 3.5em;
	width: 3.5em;
}

.margin-button:hover {
	background-color: #707070;
}

.right-container {
	width: 7.6em;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-shrink: 1;
	margin-right: 1em;
}

@media (max-width: 1027px) {
	.left-container {
		width: 100%;
		display: flex;
		flex-direction: row;
		gap: 10px;
		justify-content: center;
		margin: 0px;
	}

	.margin-button {
		background-color: #202020;
		color: white;
		padding: 0.3em;
		padding-left: 2em;
		padding-right: 2em;
		font-weight: bold;
		text-align: center;
		text-decoration: none;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 0.8em;
		cursor: default;
		border-width: 4px;
		border-style: ridge;
		border-color: lightgray;
	}

	.site-container {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 1em;
		padding-top: 3em;
		padding-bottom: 3em;
		align-items: center;
		padding-left: 2em;
		padding-right: 2em;
	}

	.text-body {
		box-sizing: border-box;
		width: 100%;
		border-width: 8px;
		border-style: ridge;
		border-color: lightgray;
		background-color: #202020;
		padding: 1.5em;
		padding-top: 2.5em;
	}

	.projects-col {
		display: flex;
		width: 100%;
		align-items: center;
		flex-direction: column;
		gap: 1em;
	}

	.project-body {
		width: 100%;
		border-width: 8px;
		border-style: ridge;
		border-color: lightgray;
		background-color: #202020;
		padding: 1.5em;
	}
}

@media (max-width: 625px) {
	.site-container {
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
}
