@font-face
{
	font-family: "Raleway";
	src: url("fonts/Raleway-VariableFont_wght.ttf") format("truetype");
}

html
{
	height: 100%;
}

body
{
	height: 100%;
	--indigo: #30415d;
	--ultramarine: #031424;
	--light-blue: #8eaebd;
	--crimson-sky: #cf6766;
	--sidebar-width: 400px;
	color:white;
	background-color: var(--ultramarine);
	font-family: "Raleway";
	text-align: center;
	margin: 0;
	padding: 0;
}

#sidebar
{
	background-color: var(--indigo);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#sidebar img
{
	width: 50%;
	margin-top: 0.5em;
	border: 2px solid white;
	border-radius: 2px;
}

@media screen and (min-width: 800px)
{
	#sidebar
	{
		position: fixed;
		left: 0;
		top: 0;
		height: 100%;
		width: var(--sidebar-width);
	}

	#not-sidebar
	{
		margin-left: var(--sidebar-width);
	}

	.project-photos img
	{
		width: 35%;
		margin: 1em 1em 0;
	}
}

@media screen and (max-width: 800px)
{
	#sidebar
	{
		height: auto;
		width: 100%;
	}

	.project-photos img
	{
		width: 80%;
		margin: 1em 1em 0;
	}
}


@media screen and (min-height: 900px)
{
	#sidebar
	{
		font-size: 1.3em;
	}

	#sidebar p
	{
		margin: 2em 0;
	}

	h1
	{
		font-size: 3em;
	}
}

@media screen and (max-height: 900px)
{
	#sidebar
	{
		font-size: 1.1em;
	}

	h1
	{
		font-size: 2.5em;
	}

	#sidebar p
	{
		margin: 1.2em 0;
	}
}

#not-sidebar
{
	padding-top: 1.5em;
	font-size: 1.8em;
}



h2
{
	font-size: 1.4em;
	margin-top: 0;
	text-transform: uppercase;
}

h3
{
	margin: 0.5em;
}

#not-sidebar > div
{
	margin-bottom: 2.5em;
}


footer
{
	margin-bottom: 1em;
	font-size: 0.8em;
}

#whoami section
{
	margin: 0.5em 1em;
}

#projects p
{
	margin: 0.2em 2em;
}

#projects > section
{
	margin-bottom: 2em;
}

.project-photos
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.techno
{
	font-size: 0.9em;
	display: inline-block;
	padding: 0.1em;
	border: 0.1em solid white;
	border-radius: 0.2em;
	margin-bottom: 0.2em;
}

a
{
	color: var(--light-blue);
	text-decoration: none;
}

a:hover
{
	transform: scale(1.5);
}

a
{
	color: var(--crimson-sky);
}

#not-found
{
	height: 100%;
	font-size: 3em;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

.error-code
{
	font-size: 5em;
}

.error-message
{
	margin-bottom: 3em;
}