html {
	overflow-y: scroll;
}

body {
	margin: 0% 15% 0% 15%;
	padding: 6% 2% 0% 2%;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
}

header {
	display: flex;
	overflow: hidden;
	flex-wrap: wrap;
	justify-content: center;
}

header img {
	align-self: center;
	flex: 0 1 auto;
	max-width: 9em;
	max-height: 9em;
	margin-right: 2em;
}

header div.heading {
	align-self: center;
	flex: 1 1 auto;
}

ul.navbar {
	overflow: hidden;
	margin: 0%;
	padding: 0%
}

ul.navbar li:first-child {
	float: left;
	margin-left: 0em;
}

ul.navbar li {
	display: block;
	float: left;
	list-style: none;
}

/* =============================================================
   TAB NAVIGATION
   Full-width row with border-bottom as the single divider.
   Tabs are left-aligned; social icons are pushed to the right.
   ============================================================= */

nav.tabs {
	margin: 1.5em 0 0 0;
	border-bottom: 1px solid lightgray;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

nav.tabs .tabs-left {
	display: flex;
	align-items: center;
}

nav.tabs a.tab {
	display: inline-block;
	padding: 0.5em 1.2em;
	font-size: 14px;
	color: gray;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	/* First tab has no left padding to align with page content */
}

nav.tabs a.tab:hover {
	color: inherit;
}

nav.tabs a.tab.active {
	color: inherit;
	border-bottom: 2px solid gray;
}

nav.tabs .tabs-icons {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding-bottom: 0.2em;
}

nav.tabs .tabs-icons a {
	color: gray;
	text-decoration: none;
	font-size: 1.25em;
	line-height: 1;
}

nav.tabs .tabs-icons a:hover {
	color: inherit;
}

/* =============================================================
   TAB PANELS
   ============================================================= */

.tab-panel {
	display: none;
}

.tab-panel.active {
	display: block;
}

/* =============================================================
   COMPANY / JOB TIMELINE
   ============================================================= */

.company {
	position: relative;
}

.job-position {
	position: relative;
}

.job-position::before {
	content: '';
	position: absolute;
	top: 0.4em;
	left: -0.2em;
	border-radius: 40%;
	height: 0.4em;
	width: 0.4em;
	background-color: lightgray;
	z-index: 1;
}

.job-position:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 0.7em;
	bottom: -1.45em;
	left: -0.035em;
	width: 1px;
	background-color: lightgray;
}

.company > .job-position > .title {
	margin-block-end: 0em;
	font-weight: 500;
	color: gray;
}

.company > .job-position > p {
	margin-block-start: 0em;
}

.company > .job-position > ul {
	padding: 0 0 0 3em;
}

.company > .job-position > * {
	padding: 0 0 0 1em;
}

.company a {
	color: gray;
	text-decoration: inherit;
}

.company a > svg {
	height: 0.70em !important;
	vertical-align: 0;
}

.company a:hover {
	color: inherit;
}

/* =============================================================
   PROJECT CARDS
   ============================================================= */

.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1em;
	margin-top: 1em;
}

.project-card {
	border: 1px solid lightgray;
	border-radius: 4px;
	padding: 1em;
	display: flex;
	flex-direction: column;
	gap: 0.6em;
}

.project-card-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5em;
	flex-wrap: wrap;
}

.project-title {
	margin: 0;
	font-weight: 500;
	color: gray;
}

.project-tag {
	font-size: 12px;
	color: gray;
	white-space: nowrap;
}

.project-desc {
	margin: 0;
	color: inherit;
	line-height: 1.6;
	flex: 1;
}

.project-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.6em;
	border-top: 1px solid lightgray;
	font-size: 12px;
}

.project-status {
	color: gray;
}

.project-link {
	color: gray;
	text-decoration: none;
}

.project-link:hover {
	color: inherit;
}

.project-link > svg {
	height: 0.70em !important;
	vertical-align: 0;
}

/* =============================================================
   SKILLS TAB
   ============================================================= */

.skills-legend {
	display: flex;
	gap: 1.4em;
	margin: 1em 0 1.8em 0;
	font-size: 12px;
	color: gray;
}

.skills-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

.skills-section {
	margin-top: 0.5em;
}

.skills-group {
	margin-bottom: 1.8em;
}

.skills-group-title {
	font-size: 12px;
	color: gray;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 0.7em 0;
	font-weight: normal;
}

.skills-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.skill-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	border: 1px solid lightgray;
	border-radius: 3px;
	padding: 0.25em 0.6em;
	font-size: 13px;
	line-height: 1.4;
}

.skill-dots {
	display: inline-flex;
	gap: 3px;
	align-items: center;
	flex-shrink: 0;
}

.skill-dots span {
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	border: 1px solid gray;
	background: transparent;
}

.skill-dots span.filled {
	background: gray;
}

/* =============================================================
   NOTES
   ============================================================= */

.notes-intro {
	color: gray;
	margin-top: 0;
}

.notes-empty {
	color: lightgray;
}
