@font-face {
	font-family: poppins;
	src: url('fonts/poppins-bold-webfont.woff');
	font-weight: bold;
}

@font-face {
	font-family: poppins;
	src: url('fonts/poppins-medium-webfont.woff');
	font-weight: medium;
}

@font-face {
	font-family: poppins;
	src: url('fonts/poppins-light-webfont.woff');
	font-weight: light;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: #dbdbdb;
	font-family: poppins;
	font-weight: light;
	font-size: 2.1vh;
	line-height: 1.3;
	color: black;
	margin: 0px;
	cursor: url('images/pointer.png'), auto;
}

a {
	cursor: url('images/hand.png'), auto;
	text-decoration: none;
	color: black;
}

a:hover {
	text-decoration: none;
	color: greenyellow;
}

.topnav {
	position: fixed;
	right: 0px;
	font-size: 4vh;
	padding: 10px;
	text-align: right;
	background-color: none;
	z-index: 100;
	
	a {
		padding: 10px;
		color: black;
		display: none;
		float: none;
	}
	a:hover {
		color: greenyellow;
	}
	#icon {
		display: block;
	}
}
.topnav.responsive{
	background-color: white;

	a {
		float: none;
		display: block;
	}
}

#topbox {
	width: 100%;
	max-width: 880px;
	margin: auto;
	padding: 0px;
	overflow: hidden;
	overflow-wrap: anywhere;
	overflow-clip-margin: 40px;

	h1 {
		margin: 0;
		padding: 0;
		font-size: 8vh;
		line-height: 9vh;
	}

	:nth-child(2n) {
		color: greenyellow !important;
	}
}

h1 {
	font-weight: bold;
	font-size: 5vh;
	margin: 0px;
	padding: 0px;
}

h2 {
	margin: 1vh;
}

k {
	color: greenyellow;
}

small {
	display: block;
	font-size: 1.3vh;
	line-height: 2.2vh;
	margin-bottom: 1vh;
}

main {
	width: 800px;
	margin: auto auto 40px auto;
	background-color: white;
	padding: 40px;
}

.section {
	width: 100%;
	max-width: 800px;
	padding: 40px;
	margin: 40px auto 40px auto;
	background-color: white;

	h1 {
		margin-bottom: 4vh;
	}
}

.section.off {
	display: none;
}

.icons {
	img {
		filter: grayscale(100%);
		width: 60px;
		height: 60px;	
		padding: 20px;
	}
}

.project {
	position: relative;
	width: 100%;
	margin: 0px;

	img {
		padding: 20px;
		filter: grayscale(100%);
		width: 300px;
		height: 300px;
	}
	.box {
		position: absolute;
		left: 320px;
		top: 0px;
		padding: 20px;
		color: black;
		opacity: 1;

		h1 {
			display: block;
			font-weight: bold;
			font-size: 3vh;
			line-height: 3.5vh;
			margin: 0;
		}
		.info {
			font-size: 1.5vh;
			line-height: 1.3vh;;
			display: block;
			opacity: 0;

			p {
				margin: 1vh 0px;
			}

			a {
				font-weight: bold;
			}

			a:hover {
				color: black;
				text-decoration: underline;
			}
		}
	}
}

@media screen {
	
}

.project:hover {
	background-color: greenyellow;
	transition: background-color 0.2s;

	img {
		filter: grayscale(0%);
		transition: filter 1s;
	}
	.box {
		.info {
			opacity: 1;
			transition: opacity 1s;
		}		
	}
}

.footer {
	width: 800px;
	height: 100vh;
	padding: 40px;
	margin: auto;
	text-align: center;
	color: white;
	font-size: 2vh;
	font-weight: light;
}