/* Clean, responsive single-column CV layout.
   Replaces the original fixed-position theme, which overflowed horizontally. */

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

body {
	font-family: Avenir, Verdana, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: #222;
	max-width: 820px;
	margin: 2.5em auto;
	padding: 0 1.25em;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

#main,
#content {
	width: 100%;
}

h1 {
	font-size: 2.6em;
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: 0.1em;
}

/* the "Software Engineer" line directly under the name */
h1 + p {
	font-style: italic;
	font-size: 1.1em;
	color: #555;
	margin-bottom: 1em;
}

h2 {
	font-size: 1.15em;
	font-weight: 600;
	color: #bc412b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-top: 2em;
	margin-bottom: 0.6em;
	padding-bottom: 0.2em;
	border-bottom: 1px solid #eee;
}

h3 {
	font-size: 1em;
	font-weight: 600;
	color: #444;
	margin-top: 1.2em;
	margin-bottom: 0.3em;
}

p {
	margin-bottom: 0.8em;
}

ul {
	list-style: disc;
	margin: 0.4em 0 1em 1.3em;
}

li {
	margin-bottom: 0.3em;
}

li ul {
	margin-top: 0.3em;
}

code {
	font-family: Monaco, Menlo, monospace;
	font-size: 0.85em;
	color: #999;
}

/* date stamps at the top of each entry */
p code {
	display: inline-block;
	margin-bottom: 0.15em;
}

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

a:hover {
	color: #39f;
	text-decoration: underline;
}

#webaddress {
	font-family: Monaco, Menlo, monospace;
	font-size: 0.95em;
	color: #bc412b;
	margin-bottom: 1.5em;
}

#webaddress a {
	text-decoration: none;
}

strong {
	font-weight: 600;
}

em {
	font-style: italic;
}

#address {
	display: none;
}

@media only screen and (max-width: 600px) {
	body {
		margin: 1.2em auto;
		font-size: 15px;
	}

	h1 {
		font-size: 2em;
	}
}
