*, *:before, *:after {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	line-height: 14pt;
	font-size: 15pt;
}

html, body {
	height: calc(100% - 30px);
	font-family: "Arial", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

main {
	position: relative;
	min-height: 800px;
	z-index: 100;
	margin: 30px;
}

ul li {
	list-style: none;
}

ul li a {
	display: inline-block;
	position: relative;
}

.large {
	font-size: clamp(1rem, 1.3vw + .3rem, 1.8rem);
	font-weight: 500;
	line-height: clamp(1.4rem, 1.3vw + .5rem, 2.2rem);
}

.large-text * {
	font-size: clamp(1rem, 1.3vw + .3rem, 1.8rem);
	font-weight: 500;
	line-height: clamp(1.4rem, 1.3vw + .5rem, 2.2rem);
}

a {
	color: #000;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
	color: #000;
}

nav a:hover {
	text-decoration: underline;
}

footer {
	margin: 30px;
	display: block;
	height: 3em;
}

.footer {
	float: left;
	height: 100%;
}

@media only screen and (max-width: 1000px) {
	footer {
		margin: 10px;
	}
}

header {
	float: left;
	width: 50%;
}

nav {
	float: right;
	width: 50%;
}

.slider {
	width: 42%;
	height: auto;
	position: absolute;
	bottom: 30px;
	left: 30px;
}

.slider img {
	width: 100%;
}

.copy {
	position: absolute;
	top: 0;
	right: 0;
	margin: 30px;
}

@media only screen and (max-width: 1000px) {
	.slider {
		width: calc(100% - 20px);
		position: relative;
		bottom: initial;
		left: initial;
		margin: 10px;
	}
	.copy {
		top: initial;
		text-align: right;
		width: 100%;
		margin: 10px;
	}
	main {
		position: relative;
		min-height: 50%;
		margin: 10px;
	}
	nav {
		text-align: right;
	}
}

.modal {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 101;
	background-color: #fff;
	visibility: hidden;
	display: none;
	opacity: 0;
	padding: 0;
	transition: opacity .5s, visibility 0s .5s;
}

.modal.active {
	opacity: 1;
	display: initial;
	visibility: visible;
	transition: opacity .5s;
}

.close {
	text-transform: none;
	font-size: 30pt;
	position: absolute;
	top: 0;
	right: 0;
	margin: 30px;
}

@media only screen and (max-width: 1000px) {
	.close {
		margin: 10px;
	}
}

div.row {
	clear: both;
	width: 100%;
}

div.full img, div.full div {
	width: calc(100% - 60px);
	margin-left: 30px;
	margin-right: 30px;
	margin-bottom: 30px;
}

div.half {
	clear: both;
}

div.half img, div.half div {
	width: calc((100% - 90px)/2);
	float: left;
	margin-left: 30px;
	margin-bottom: 30px;
}

div.row p {
	margin: 0 0 30px;
	width: 100%;
}

@media only screen and (max-width: 1000px) {
	div.full img, div.full div {
		width: calc(100% - 20px);
		margin-left: 10px;
		margin-right: 10px;
		margin-bottom: 10px;
	}
	div.half img, div.half div {
		width: calc(100% - 20px);
		margin-left: 10px;
		margin-right: 10px;
		margin-bottom: 10px;
		float: left;
	}
}

#modal-projects h2 {
	margin: 30px;
}

ul.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	list-style: none;
	padding: 0;
	margin: 30px;
}

ul.gallery li {
	margin: 0;
}

figure img {
	width: 100%;
	height: auto;
}

figcaption {
	margin-top: 10px;
	text-align: left;
	line-height: 1.2rem;
}

div.project-container {
	margin-top: 13rem;
	padding: 0 clamp(50px, 10vw, 400px);
}

@media only screen and (max-width: 1000px) {
	#modal-projects h2 {
		margin: 10px;
	}
	ul.gallery {
		grid-template-columns: 1fr;
		margin: 10px;
	}
	div.project-container {
		margin-top: 7rem;
		padding: 0 !important;
	}
}

.detail header {
	width: calc(100% - 60px);
	margin: 12rem 30px 30px 30px;
}

.detail header h2 {
	float: left;
	width: 70%;
}

.detail header a {
	float: right;
}

.detail p {
	margin: 30px;
	clear: both;
}

@media only screen and (max-width: 1000px) {
	.detail header {
		width: calc(100% - 20px);
		margin: 10px;
	}
	.detail header h2 {
		float: initial;
	}
	.detail header a {
		margin: 30px 0;
		text-align: left;
		float: initial;
		display: block;
	}
}

#modal-contact h2 {
	margin: 30px;
}

@media only screen and (max-width: 1000px) {
	#modal-contact h2 {
		margin: 10px;
	}
}

#modal-info h2 {
	margin: 30px;
}

@media only screen and (max-width: 1000px) {
	#modal-info h2 {
		margin: 10px;
	}
}
