/* mekosh.org portfolio.css */

/*
black   54, 53, 55
green   12, 206, 107
yellow 220, 237, 49
red    239, 45, 86
orange 237, 125, 58
*/



/* reset styles based on https://www.joshwcomeau.com/css/custom-css-reset/ */

*, *::before, *::after {
	box-sizing: border-box;
}
* {
	margin: 0;
}
html, body {
	height: 100%;
}
body {
	line-height: 1.3;
	-webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}
input, button, textarea, select {
	font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
}





html {
    /* set a base font size that grows proportionally as the screen widens. this controls all font sizes */
    font-size: calc(15px + 0.390625vw);
}

body {
	background: #363537;
	color: #efefef;
	font-family: 'Lato', sans-serif;
}

a {
	background:
		linear-gradient(
			to right,
			rgba(54, 53, 55, 1),
			rgba(54, 53, 55, 1)
		),
		linear-gradient(
			to right,
			rgba(220, 237, 49, 1)
	);
	background-size: 100% 2px, 0 2px;
	background-position: 100% 100%, 0 100%;
	background-repeat: no-repeat;
	color: rgb(12, 206, 107);
	text-decoration: none;
	transition: background-size 400ms;
}

a:hover {
	background-size: 0 2px, 100% 2px;
	color: rgb(220, 237, 49);
}

.page-wrap {
	max-width: 1600px;
	margin: 0 auto;
	padding: 1.5rem;
}

header {
	border-bottom: 2px solid #666;
	margin-bottom: 1rem;
	padding-bottom: .5rem;
	max-width: 760px;
}

h1 {
	margin-bottom: 1rem;
}

p {
	margin: 0 0 .5rem 0;
}


.projects {}

.project {
	margin: 0 0 1rem 0;
	max-width: 760px;
}

.project h3 {
	margin-bottom: .5rem;
}



@media (min-width: 600px) {
	header { 
		border-width: 4px;
		margin-bottom: 2rem;
		padding-bottom: 1rem;
	}

	p {
		margin-bottom: 1rem;
	}
	
	.page-wrap {
		padding: 3rem;
	}

	.project {
		margin-bottom: 2rem;
	}
}



@media print {
	body {
		background: #fff;
		color: #000;
	}

	.page-wrap {
		max-width: 100%;
		margin: 0;
		padding: 0;
	}

	a {
		background: none;
		color: #000;
		text-decoration: underline;
		transition: none;
	}
}