:root {
	--font-family: "Helvetica Neue", Arial, sans-serif;
	/* --font-family: "Times New Roman", Times, serif; */
	--base-font-size: 12px;
	--base-line-height: 1.4;
	--h1-size: 42px;
	--h2-size: 18px;
	--h3-size: 14px;
	--small-font-size: 9px;
	--text-color: #000;
	--subtitle-color: #606060;
	--section-background-color: white;

	/* Horizontal spacing variables */
	--page-padding-inline: 0.65in;
	--section-padding-left: 2px;

	/* Vertical spacing variables */
	--page-padding-block: 0.55in;
	--header-to-content-gap: 24px;
	--section-spacing: 11px;
	--section-title-bottom: 10px;
	--section-title-padding-block: 3px;
	--section-header-top: 0px;
	--subsection-spacing: 5px;
	--subsection-bottom: 6px;
	--list-bottom: 10px;
	--list-item-bottom: 5px;
	--h3-bottom: 9px;
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* ---------------------------------------------------------------- */
/* -----------------------   PAGE SETUP   ------------------------- */
/* ---------------------------------------------------------------- */

@page {
	size: 8.5in 11in;
	margin: 0;
}

body {
	font-family: var(--font-family);
	font-size: var(--base-font-size);
	color: var(--text-color);
	background-color: gray;
	width: 8.5in;
	height: 11in;
}

#pageContainer {
	width: 8.5in;
	height: 11in;
	padding: var(--page-padding-block) var(--page-padding-inline);
	/* margin: 0.25in auto; */
	background-color: white;
	display: flex;
	flex-flow: column nowrap;
}

/* ---------------------------------------------------------------- */
/* ----------------------   FONT SIZE RAMP   ----------------------- */
/* ---------------------------------------------------------------- */

h1 {
	font-size: var(--h1-size);
}

h2 {
	font-size: var(--h2-size);
	color: var(--subtitle-color);
}

h3 {
	font-size: var(--h3-size);
	font-weight: normal;
	text-decoration: underline;
	text-align: center;
	margin-bottom: var(--h3-bottom);
}

/* h4 {
	font-weight: bold;
} */

.institution {
	text-transform: uppercase;
}

/* ---------------------------------------------------------------- */
/* ----------------------   HEADER STYLING   ---------------------- */
/* ---------------------------------------------------------------- */

#titleArea {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: var(--header-to-content-gap);
}

#name {
	flex-shrink: 0;
}

#contactInfo {
	text-align: right;
	flex-shrink: 0;
}

#contactInfo p {
	margin: 0;
	line-height: 1.3;
}

.contactType {
	font-weight: bold;
}

/* ---------------------------------------------------------------- */
/* ---------------------   SECTION STYLING   ---------------------- */
/* ---------------------------------------------------------------- */

/* Sections use margin-bottom for spacing */
.section {
	margin-bottom: var(--section-spacing);
}

.section:last-child {
	margin-bottom: 0;
}

.sectionTitle {
	/* height: 100%;
	padding-top: 3px;
	border-right: 2px solid var(--subtitle-color); */
	/* color: var(--subtitle-color); */
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	/* border-left: 1px solid black;
	border-right: 1px solid black; */

	padding-block: var(--section-title-padding-block);
	padding-left: var(--section-padding-left);
	margin-bottom: var(--section-title-bottom);
	letter-spacing: 1.5px;
	/* font-weight: bold; */
}

.sectionTitle {
	font-size: 14px;
	/* font-weight: 600; */
}

.sectionYOE > .YOE {
	font-size: 11px;
	font-style: italic;
	margin-left: 1ch;
	/* font-weight: 600; */
}

/* .sectionContentWrapper previously had margin-left: 18px */

.sectionContent {
	padding-left: var(--section-padding-left);
}

.sectionContentHeader {
	padding-top: var(--section-header-top);
}

.sectionContentSubsectionHeader {
	margin-top: var(--subsection-spacing);
	margin-bottom: var(--subsection-bottom);
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
}

.sectionContentSubsectionLocation {
	font-style: italic;
}

ul {
	margin-left: 36px;
	margin-bottom: var(--list-bottom);
}

/* Remove bottom margin from last element to prevent collapse with container padding */
.section:last-child ul:last-child {
	margin-bottom: 0;
}

li {
	margin-bottom: var(--list-item-bottom);
	line-height: var(--base-line-height);
}

/* ---------------------------------------------------------------- */
/* ----------------------   CUSTOMIZATIONS   ---------------------- */
/* ---------------------------------------------------------------- */

#skillsSectionWrapper {
	display: flex;
	flex-flow: column nowrap;
	/* align-items: center; */
	/* justify-content: center; */
	gap: 6px;
}

span.skillTitle {
	font-weight: bold;
}
