:root {
	--main-color: #d0ff37;
	--sub-color: white;
	--accent-color: slategrey;
}

html {
	height: 100vh;
	width: 100vw;
	overflow-x: hidden;
}

body {
	margin: 0px;
	font-family: sans-serif;
	font-optical-sizing: auto;
	font-weight: 100;
	font-style: normal;
	letter-spacing: .5vw;
	background-color: var(--main-color);
	max-width: 100vw;
}

h2, h3 h4 {
	text-transform: uppercase;
}

h2, h5 {
	color: var(--sub-color);
}

h3, h4 {
	color: var(--accent-color);
}

a {
	text-decoration: none;
	color:inherit;
}

.logo {
	width: 35vw;
	position: absolute;
	z-index: 10;
	top: 6.5vh;
	left: 5vw;
}

header {
	background: url('../img/header.jpg') rgba(0,0,0,0.5);
	background-size: cover;
	background-blend-mode: multiply;
	height: 120vh;
}

.sliced {
	transform: skewY(-4deg);
	width: 100vw;
	background-color: var(--main-color);
	height: 20vh;
	position: relative;
	top: -10vh
}
.sliced.alt {
	transform: skewY(2deg);
	border-bottom: solid 2vh white;
	z-index: 50;
	box-shadow: rgba(0, 0, 0, 0.25) 0 1.5vh 1vw 0;
}
.sliced.alt.end {
	border-bottom: none;
	border-top: solid 2vh white;
	top: -18vh;
	box-shadow: rgba(0, 0, 0, 0.25) 0 -1.5vh 1vw 0;
}
.sliced.black {
	background-color: black;
	height: 125vh;
	position: absolute;
	top: -68vh;
	transform: skewY(-40deg);
	z-index: 0;
}

#subtitle, #banner {
	margin: 5% 0 0 11.5%;
	text-align: center;
	width: fit-content;
	position: relative;
	z-index: 10;
}

#subtitle h2:first-child, #banner h2:first-child {
	font-size: 3.5vw;
	margin: 0;
}
	#subtitle h2:nth-child(2), #banner h2:nth-child(2) {
		margin: 0;
		font-size: 4.15vw;
	}
#subtitle h3, #banner h3 {
	margin-top: 0;
	font-weight: 100;
	font-size: 1.6vw;
}

#work {
	letter-spacing: initial;
	padding: 0;
	margin: 6vh 0 0 4vw;
	list-style: none;
	position: relative;
	z-index: 10;
}
#work div {
	display: inline-block;
	padding: 0 2vw;
	vertical-align: top;
}

.service img {
	width: 5vw;
}
.service h5 {
	font-size: 2vw;
	margin: 0;
}
.service p {
	margin: 0;
	color: var(--main-color);
	font-size: 1.2vw;
	font-weight: lighter;
}

#maps {
	width: 100vw;
	position: relative;
	top: -14vh;
}

#email {
	display: block;
	font-weight: bold;
	letter-spacing: .1vw;
	font-size: 2vw;
}

#email, #social {
	text-align: center;
}

#social {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw;
	font-size: 3vw;
}
#social img {
	width: 3vw;
	margin-right: 1vw;
}
#social p {
	display: inline-block;
}

#banner {
	margin: auto;
	background-color: var(--sub-color);
	border-radius: 1vw 1vh 0 0;
	padding: 2vh 2vw;
}
#banner h2 {
	color: black;
}

footer {
	position: fixed;
	bottom: 0;
	right: 5vw;
	background-color: var(--main-color);
	border-radius: 1vw 1vw 0 0;
	display: flex;
	align-items: center;
	padding: .5vw 2vw;
	z-index: 50;
	box-shadow: rgba(0, 0, 0, 0.25) 0 0 1vh 0;
}
footer img {
	width: 4vw;
	margin-right: 1vw;
}
footer div {
	display: inline-block;
	vertical-align: middle;
}
footer p {
	margin: 0 0 1vh 0;
	letter-spacing: 0;
}
footer a {
	font-weight: bold;
	letter-spacing: .1vw;
	padding: 1vw 0;
}

@media screen and (max-width: 600px) {
	.logo, #subtitle {
		position: static;
		margin: 0;
	}
	.logo {
		width: 35vh;
	}

	header {
		height: 110vh;
		background: url('../img/header.jpg') rgba(0,0,0,0.75);
		background-size: cover;
		text-align: center;
	}

	#subtitle, #banner {
		margin: 0;
		width: auto;
	}
	#subtitle h2:first-child, #banner h2:first-child {
		font-size: 4vh;
	}
	#subtitle h2:nth-child(2), #banner h2:nth-child(2) {
		font-size: 4.5vh;
	}
	#subtitle h3, #banner h3 {
		font-size: 2vh;
	}

	#work {
		margin: 0;
	}

	#work div {
		display: block;
	}

	.service {
		text-align: center;
		margin-bottom: 4vh;
	}
	.service img {
		width: 7vh;
	}
	.service h5 {
		font-size: 3vh;
	}
	.service p {
		font-size: 2vh;
	}

	footer {
		transition: opacity .5s ease-in-out;
		opacity: 0;
		right: 15%;
		left: 15%;
	}
	footer img {
		width: 10vh;
	}

	.sliced:nth-child(1) {
		position: static;
		height: 5vh;
	}
	.sliced {
		transform: skewY(0deg) !important;
		height: 13vh;
	}
	.sliced.black {
		display: none;
	}
	.sliced.alt {
		top: -12vh;
		height: 10vh;
	}

	#email, #social {
		position: relative;
		top: -18vh;
	}

	#email {
		font-size: 2vh;
	}

	#social {
		font-size: 3vh;
	}
	#social img {
		width: 3vh;
	}
	
	#banner {
		display: none;
	}
}