html {
	font-size: 16px;
	overflow-y: scroll;
}
body {
	font-family: 'Metra', sans-serif;
	line-height: 1.35;
	font-feature-settings: 'ss03' 1;
	background-color: #f5f5f5;
}
img {
	width: 100%;
	display: block;
}
.project-item img,
.project-hero img {
	border-radius: 1rem;
}
.home-projects-item img,
.about-portrait img,
.footer-projects-item img {
	border-radius: 0.5rem;
	margin: 0 0 0.25rem 0;
}
.project-images img {
	margin: 0 0 1rem 0;
}
.project-images img.no-margin,
.about-header {
	margin: 0;
}
h1, h2 {
	font-weight: 500;
	line-height: 1;
	letter-spacing: -1px;
}
h1 {
	font-size: 3rem;
	margin: 0 0 2rem 0;
}
h2 {
	font-size: 2rem;
	margin: 0 0 1rem 0;
}

a {
	color: #000000;
	text-decoration: none;
}
a:hover,
p a,
a.active {
	border-bottom: 1px #000000 solid;
}

a.cta {
	display: block;
	width: max-content;
	background-color: #000000;
	color: #f5f5f5;
	font-weight: 500;
	padding: 0.25rem 0.5rem;
	border: 0;
	border-radius: .25rem;
	margin: 0 0 .25rem 0;
}

a.cta:hover {
	border: 0;
	color: #757575;
}

p a:hover {
	border: 0;
}
p {
	hanging-punctuation: first last allow-end;
	margin: 0 0 0.75rem 0;
}
p:last-of-type {
	margin: 0;
}

dd {
	color: #757575;
	border-top: 1px #000000 solid;
	padding-top: .25rem;
}
dt {
	margin: 0 0 0.75rem 0;
}
dt:last-of-type {
	margin: 0;
}
.footer-nav li {
	margin-left: 1rem;
	text-indent: -1rem;
}

.container {
	display: grid;
	margin: 0 auto;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 1rem;
}
.home-projects-item,
.about-text,
.project-title,
.project-hero,
.project-details,
.project-desc,
.project-images,
.footer-projects,
.footer-copyright {
	grid-column-end: span 2;
}
nav,
header,
main,
.project-hero,
.project-details,
.footer-projects-item,
.home-projects-item,
.footer-copyright {
	margin: 0 0 2rem 0;
}
.footer-projects {
	margin: 0 0 1rem 0;
}
nav {
	padding: 1rem 0 0 0;
}
header .container,
.about-container,
.cta-container,
.project-desc,
.footer-projects,
.footer-copyright {
	border-top: 1px #000000 solid;
	padding-top: .25rem;
}
.about-portrait {
	margin-top: 0.4rem;
	margin-bottom: 2rem;
}
.cta-container {
	margin-top: 2rem;
}
.rm-nav ul {
	float: right;
}
.rm-nav li {
	float: left;
	margin-left: 1rem;
}

/*XS screen sizes*/
@media (max-width: 767px) {
	.container {
		width: calc(100% - 2rem);
	}
}

/*S screen sizes*/
@media (min-width: 768px) {
	.container {
		width: calc(768px - 2rem);
		grid-template-columns: repeat(8, 1fr);
	}
	.about-portrait {
		margin-bottom: 0;
		grid-column-end: span 2;
	}
	.project-details {
		margin: 0;
		grid-column-end: span 3;
	}
	.rm-name,
	.rm-nav,
	.about-text,
	.project-desc,
	.home-projects-item,
	.footer-projects-item {
		grid-column-end: span 4;
	}
	.project-title,
	.project-hero,
	.project-images,
	.footer-projects,
	.footer-copyright {
		grid-column-end: span 8;
	}
	.about-text,
	.project-desc {
		grid-column-start: 5;
	}
	a.cta {
		display: inline-block;
	}
}

/*M screen sizes*/
@media (min-width: 1000px) {
	html {
		font-size: 20px;
	}
	.container {
		width: calc(1000px - 2rem);
	}
	nav,
	header,
	main,
	.project-hero,
	.footer-nav,
	.footer-copyright {
		margin: 0 0 3rem 0;
	}
	h1 {
		font-size: 4rem;
		letter-spacing: -2px;
		margin: 0 0 3rem 0;
	}
	h2 {
		font-size: 3rem;
		letter-spacing: -2px;
		margin: 0 0 2rem 0;
	}
}
/*L screen sizes*/
@media (min-width: 1300px) {
	.container {
		width: calc(1300px - 2rem);
	}
	header {
		margin: 0 0 5rem 0;
	}
}
/*XL screen sizes*/
@media (min-width: 1500px) {
	.container {
		width: calc(1500px - 2rem);
	}
	.footer-projects-item {
		grid-column-end: span 2;
	}
}
/*XXL screen sizes*/
@media (min-width: 1800px) {
	.container {
		width: calc(1800px - 2rem);
	}
}