html {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	background-color: #fff;
	color: #333;
}


h1 {
	font-size: 2.5rem;
	font-weight: 300;
	line-height: 1;
	padding: 0;
	margin: 0 0 .5em 0;
}

h2 {
	font-size: 1.6rem;
	font-weight: 300;
	line-height: 1;
	padding: 0;
	margin: 0 0 1em 0;
}

h3 {
	font-size: 1.3rem;
	font-weight: 300;
	line-height: 1;
	padding: 0;
	margin: 0 0 .5em 0;
}

p {
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.3;
	padding: 0;
	margin: 0 0 0 0;
}


header {
	text-align: center;
	padding: 60px 30px 40px 30px;
}

section {
	max-width: 1200px;
	padding: 0 30px;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
    gap:30px;
}

.portfolio_item {
    display: block;
	box-sizing: border-box;
    padding:20px;
	width: calc(33% - 20px);
    height:auto;
	transition: all .4s;
	text-decoration: none;
	color: #333;
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
    vertical-align: top;
}

.portfolio_item:hover {
	-webkit-box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.2);
}

.portfolio_image {
	width: 100%;
	height: 220px;
	background-color: #ccc;
	margin-bottom: 15px;
	background-size: cover;
	background-position: center;
	background-repeat: none;
}

footer {
	position: relative;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 80px 30px 30px 30px;
	text-align: center;
	font-size: .8rem;
}

footer a {
	color: #279989;
	text-decoration: underline;
}

footer a:hover {
	color: #117a6b;
}

@media screen and (max-width: 1000px) {
	.portfolio_item {
		width: calc(50% - 20px);
		height: 440px;
		margin-bottom: 20px;
	}

	footer {
		position: relative;
		bottom: auto;
		left: auto;
		right: auto;
		padding: 60px 30px 30px 30px;
	}
}

@media screen and (max-width: 580px) {
	.portfolio_item {
		display: block;
		width: 100%;
		height: 440px;
		margin-bottom: 20px;
	}

	h2 {
		line-height: 1.3;
		margin-bottom: .5em;
	}

}
