html,
body {
	min-width: 320px;
	min-height: 100vh;
	margin: 0;
	color: #333;
	font-family: "Merriweather sans", Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 300;
}

h1 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-size: 26px;
}

h2,
h3 {
	margin-top: 1.5rem;
	margin-bottom: -.5rem;
	font-size: 20px;
}

p {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

a {
	color: rgb(20, 138, 40);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

strong {
	font-weight: 700;
}

img {
	max-width: 100%;
	max-height: 100%;
}

ul {
	margin-top: 1rem;
	margin-bottom: 1rem;
	padding-left: 2.5rem;
}

#wrapper {
	display: flex;
	min-height: 100vh;
}

#left-side {
	flex: auto;
	padding-top: calc(60px + (2 * calc(2rem + 1rem * .5)));
	padding-bottom: 2rem;
	background-color: #f9f9f9;
}

#right-side {
	width: calc(50% + 30ch + calc(2rem + 1rem * .5));
}

#left-side .logo {
	display: none;
}

nav#global-nav {
	float: right;
}

nav#global-nav ul {
	margin: 0;
	padding: 0;
}

nav#global-nav li {
	list-style: none;
}

nav#global-nav li a {
	display: block;
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 2rem;
	padding-right: calc(2 * 40px);
	color: #767676;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .03em;
	white-space: nowrap;
}
nav#global-nav li a:after {
	display: block;
	content: attr(data-name);
	font-weight: bold;
	height: 0;
	color: transparent;
	overflow: hidden;
	visibility: hidden;
}

nav#global-nav li a:hover,
nav#global-nav li.active a {
	text-decoration: none;
	color: #333;
	font-weight: 700;	
}

nav#global-nav li.active a {
	padding-left: calc(2rem - 3px);
	border-left: rgb(20, 138, 40) solid 3px;
}

#connect {
	margin-top: calc(2rem + 1rem * .5);
	margin-left: 2rem;
}

#connect .img-linkedin {
	opacity: .4;
	filter: grayscale(1);
}
#connect .img-linkedin:hover {
	opacity: 1;
	filter: none; 
}

.img-logo {
	display: inline-block;
	height: 60px; /* 60 / 83.4 *  83.4 = 60 */
	width: 372px; /* 60 / 83.4 * 517.4 = 372.23021582734 */
	vertical-align: middle;
	background-image: url("../images/logo.svg");
	background-size: 100%;
	background-repeat: no-repeat;
}

.img-linkedin {
	display: inline-block;
	width: 34px;
	height: 34px;
	background-image: url("../images/linkedin-logo.svg");
	background-size: 100%;
	background-repeat: no-repeat;
}

#content {
	margin: calc(2rem + 1rem * .5);
	max-width: 60ch;
	font-size: calc(1rem + 1rem * .1);
	line-height: 1.7em;
}

.logo {
	margin: calc(2rem + 1rem * .5);
}

.logo img {
	vertical-align: bottom;
}

.no-scroll-x {
	overflow-x: hidden;
	overflow-y: auto;
}

.button-group {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

a.button {
	display: inline-block;
	padding: .5rem 1rem;
	font-weight: 700;
	font-size: 15px;
	border: rgb(20, 138, 40) solid 2px;
}
a.button:after {
	display: inline-block;
	margin-left: .5ch;
	content: "\203A";
}


@media (max-width: 768px) {
	html,
	body {
		min-height: auto;
	}

	#wrapper {
		min-height: auto;
	}

	#nav-toggle {
		display: flex;
		align-items: center;
		padding-left: calc((80px - 25px) / 2);
		padding-right: calc((80px - 25px) / 2);
		cursor: pointer;
	}

	#nav-toggle .bar {
		margin-top: 4px;
		margin-bottom: 4px;
		height: 3px;
		width: 25px;
		background-color: #888;
		transition: all 400ms ease-out;
	}

	#nav-toggle.close .bar {
		background-color: #333;
	}
	#nav-toggle.close .bar:nth-child(1) {
		margin-bottom: -7px;
		transform: rotate(45deg);
	}
	#nav-toggle.close .bar:nth-child(2) {
		opacity: 0;
	}
	#nav-toggle.close .bar:nth-child(3) {
		margin-top: -7px;
		transform: rotate(-45deg);
	}

	#wrapper {
		display: block;
	}

	#left-side {
		padding-top: 0;
		padding-bottom: 0;
		width: 100%;
		background-color: transparent;
	}

	#left-side .header {
		display: flex;
		max-height: 80px;
		border-bottom: #e9e9e9 solid 1px;
	}

	#left-side .logo {
		flex: auto;
		display: block;
		margin: 1rem;
		width: calc(100vw - 80px - (2 * 16px));
	}

	.img-logo {
		height: 34px; /* 34 / 83.4 *  83.4 = 34 */
		width: 211px; /* 34 / 83.4 * 517.4 = 210.93045563549 */
	}

	#right-side {
		width: auto;
	}

	#right-side .logo {
		display: none;
	}

	nav#global-nav {
		position: fixed;
		opacity: 0;
		z-index: -1;
		width: 100%;
		height: 0;
		overflow: hidden;
		transform: scale(1.2);
		padding-top: 1rem;
		padding-bottom: 2rem;
	}

	nav#global-nav.animate {
		height: auto;
		transition: all 400ms ease-out;
	}

	nav#global-nav.open {
		position: absolute;
		height: auto;
		overflow: auto;
		opacity: 1;
		z-index: 100;
		transform: scale(1);
		float: none;
	}

	nav#global-nav li a {
		font-size: 17px;
	}

	#content {
		margin: 1rem;
		margin-bottom: 2rem;
		font-size: 1rem;
	}

	#right-side {
		transition: all 200ms linear;
	}

	#right-side.nav-open {
		opacity: 0;
	}

	#right-side.hidden {
		overflow: hidden;
		height: 0;
	}
}