@font-face {
	font-family: lato;
	src: url(lato.ttf);
}


html, body {
	background: url(images/background.jpg) no-repeat center center fixed;
	background-size: cover;
	color: white;
	font-family: lato;
	scroll-behavior: smooth;
}

.project_container {
	padding: 0 5em;
	display: flex;
	flex-direction: column;
	row-gap: 2em;
}

.content .title {
	text-align: center;
	font-size: 2.5em;
}

.projects {
	overflow: hidden;
	/* clip-path: inset(0px);
	 transition: clip-path 500ms;*/
}

.blog_content {
	box-shadow: 0 0 0.8em black;
	padding: 1.2em;
	border-radius: 0.5em;
	margin-bottom: 2em;
	background-color: #eeeeeeee;
	color: black;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	column-gap: 1em;
	justify-content: space-between;
}

.blog_content p {
	font-size: 1.2em;
}

.blog_content h1, .blog_content h2, .blog_content h3, .blog_content h4 {
	margin: 0.1em 0px;
	vertical-align: top;
}

.blog_content img {
	object-fit: contain;
	width: 100%;
}

#home_blog img {
	object-fit: contain;
	width: 100%;
	max-height: 60vh;
}

#nav_avatar {
	height: 64px;
	width: auto;
	border-radius: 100%;
	margin-right: 16px;
}

#nav_blog {
	margin: 0;
  	padding: 0;
  	overflow: hidden;
  	background-color: #000000bb;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-start;
	padding: 8px;
}

.projects .item {
	box-shadow: 0 0 0.8em black;
	padding: 1.2em;
	border-radius: 0.5em;
	margin-bottom: 2em;
	background-color: #eeeeeeee;
	color: black;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: center;
	column-gap: 1em;
	justify-content: space-between;
}

.projects .item .icon img {
	width: 100%;
    height: 100%;
	object-fit: cover;
	display: 0.5em;
	image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.projects .item .icon {
	height: 256px;
	width: 256px;
	max-width: 30%;
	height: max-content;
	flex-shrink: 0;
}

.projects .item .side {
	margin: 0;
	vertical-align: top; 
	display: inline-flex;
	flex-direction: column;
	min-height: 256px;
}

.projects .item .side h2 {
	font-size: 1.8em;
	margin: 0.1em 0px;
	vertical-align: top;
}

.projects .item .side h4 {
	margin: 0.1em 0px;
	vertical-align: top;
}

.projects .item .side p {
	margin: 0.3em 0px;
	vertical-align: top;
}

.projects .item .side {
	font-size: 1.15em;
}

.projects .item .side .links {
	margin-top: auto;
	display: flex;
    flex-direction: row;
	gap: 0.3em;
	row-gap: 0.3em;
	flex-wrap: wrap;
}

.projects .item .side .links a {
	font-size: 1.2em;
	font-weight: bold;
	font-style: normal;
	text-decoration: none;
	align-items: center;
	border-radius: 0.2em;
	color: white;
	padding: 0.3em;
	display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
	width: fit-content;
}

.projects .item .side .links a svg {
	height: 1em;
	width: 1em;
	vertical-align: center;
	padding-right: 0.1em;
}

.projects .item .side .links a img {
	max-width: 100%;
	height: 1em;
}

#avatar {
	height: 256px;
	width: auto;
	border-radius: 100%;
}

#home {
	margin-top: 5em;
	margin-bottom: 3em;
	margin-left: auto;
	margin-right: auto;
	padding: 1em;
	text-align: center;
	font-size: 1.3em;
	text-shadow: 0 0 0.15em black;
}

#home_blog {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	margin-left: auto;
	margin-right: auto;
	padding: 0.3em;
	text-align: center;
	font-size: 1.3em;
	text-shadow: 0 0 0.15em black;
}

#home_nav {}

.navbar, #home_blog nav {
	margin-top: 1em;
	font-size: 1.3em;
	font-weight: bold;
	width: auto;
}

.navbar a, #home_blog nav a {
	color: white;
}

.navbar a:hover, #home_blog nav a:hover {
	color: rgb(218, 248, 255);
}


.navbar div, #home_blog div {
	display: inline-block;
}

.seperated::after {
    content: " | ";
}

#home h1, #home_blog h1 {
	font-size: 2.3em;
}


@media (max-width: 800px) {
	.projects .item .icon {
		height: 100%;
		width: 100%;
		max-width: 256px;
	}

	.project_container {
		padding: 0 5vw;
	}

	.projects .item {
		flex-direction: column;
		align-items: center;
	}

	.projects .item .side {
		width: auto;
		text-align: center;
	}

	.projects .item .side .links {
		justify-content: center
	}

	.projects .item .side {
		width: auto;
		min-width: none;
		height: auto;
	}
	
}