* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	box-sizing: border-box;
}

:root {
	--main-color: #3ACAAA;
	--bg-color: #FFF;
	--switch-color: #BABABA;
	--header-color: #404040;
	--text-color: #606060;
	--menu-inactive-color: #606060;
	--footer-text-color: #7F7F7F;
	--theme-color-one: #F24B68;
	--theme-color-two: #F5A623;
	--theme-color-three: #203C5A;
	--theme-color-four: #6516A4;
	--theme-color-five: #3EAF6B;
	--theme-color-six: #67A5CC;
	--theme-color-seven: #1D7B8A;
	--theme-color-eight: #D67993;
	--divider-color: #DFE3E5;
	--twitter-nav-bg-position: 0 0;
}

.dark-theme {
	--main-color: #3ACAAA;
	--bg-color: #1E2630;
	--switch-color: #646A70;
	--header-color: #FFF;
	--text-color: #FFF;
	--menu-inactive-color: #FFF;
	--footer-text-color: #7F7F7F;
	--divider-color: #585b5e;
	--twitter-nav-bg-position: -40px 0;
	--email-nav-bg-position: -46px 0;
}

html {
	font-size: 62.5%;
}

body {
	background-color: var(--bg-color);
	height: 100vh;
	transition: all .2s ease-out;
}

a {
    text-decoration: none;
    font-weight: bold;
}

h1,
h2,
h3,
h4,
h5 {
	font-family: "Montserrat", Helvetica, Arial;
    color: var(--header-color);
    font-weight: bold;
}

h1 {
	text-transform: uppercase;
	font-size: 3rem;
	margin-bottom: 20px;
}

h2 {
	font-size: 1.8rem;
}

p, a {
	color: #FFF;
	font-size: 1.5rem;
	font-family: "OpenSans", Helvetica, Arial;
	line-height: 2.3rem;
}

::-moz-selection {
	background: var(--main-color);
	color: #FFF;
}

::selection {
	background: var(--main-color);
	color: #FFF;
}

p strong {
	font-weight: 700;
}

.content {
	display: flex;
}

.introduction {
	flex: 0 0 500px;
	border-top: 3px solid var(--main-color);
	padding: 0px 50px 0;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	height: 500px;
}

.introduction p, .profile p {
	margin-bottom: 20px;
	color: var(--text-color);
}

.intro-name {
	font-size: 1.5rem;
	display: inline;
}

.intro-nav {
	display: inline-flex;
}

header {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

.about header {
	margin-top: 10px;
}

.theme-toggler {
	cursor: pointer;
	width: 24px;
	height: 24px;
	position: relative;
	top: -1px;
	left: 5px;
}

.theme-toggler g g g path {
	fill: var(--switch-color);
	stroke: var(--switch-color);
}

.intro-content {
	min-height: calc(100vh - 220px);
	margin-top: 175px;
}

.intro-content a, .intro-content a:visited, .intro-content a:active {
	color: var(--main-color);
}

.intro-content a:hover {
	text-decoration: underline;
}

nav {
	font-size: 1.5rem;
	letter-spacing: .28px;
	text-align: right;
	margin-right: 15px;
}

nav li {
	display: inline-block;
	margin-left: 15px;
}

header a {
	opacity: 0.5;
}

header a:hover {
	opacity: 1;
}

header a, .profile a {
	color: var(--text-color);
}

header a:hover, .contact-intro a:hover {
	color: var(--main-color);
}

.contact-intro a {
	font-size: 13px;
}

.twitter-nav {
	position: relative;
	top: 4px;
	width: 20px;
	height: 16px;
	display: block;
	background: url(../images/twitter-nav.png) no-repeat;
	background-size: cover;
	text-indent: -99999px;
	background-position: var(--twitter-nav-bg-position);
}

.twitter-nav:hover {
	background-position: -20px 0;
}

.email-nav {
	position: relative;
	top: 4px;
	width: 23px;
	height: 16px;
	display: block;
	background: url(../images/email-nav.png) no-repeat;
	background-size: cover;
	text-indent: -99999px;
	background-position: var(--email-nav-bg-position);
}

.email-nav:hover {
	background-position: -23px 0;
}

.work {
	flex-grow: 1;
}

.work-item {
	padding: 60px 40px 45px;
}

.work-item img {
	height: auto;
	width: auto;
	max-width: 500px;
	max-height: 500px;
	margin: 0 auto;
	margin-bottom: 45px;
	display: block;
}

.work .natwest {
	background-color: var(--theme-color-one);
}

.work .other {
	background-color: #1E2630;
}

.work .other h2 {
	margin-bottom: 5px;
	font-size: 1.4rem;
	font-family: "OpenSans", Helvetica, Arial;
}

.work .other h3 {
	color: #A5A8AC;
	opacity: 0.6;
	font-size: 1.5rem;
	margin: 0;
}

.work .other p {
	color: #A5A8AC;
	line-height: 1.9rem;
}

.work .other a, .work .natwest a {
	opacity: 0.8;
	font-size: 1.3rem;
}

.work .other a:hover, .work .natwest a:hover {
	text-decoration: underline;
}

.work .other div {
	margin-top: 30px;
}

.work h2 {
	color: #FFF;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.work p {
	font-size: 1.4rem;
}

.natwest .tech-tags span:before {
	color: var(--theme-color-two);
}

.work .natwest-mimo {
	background-color: var(--theme-color-seven);
}

.natwest-mimo .tech-tags span:before {
	color: var(--theme-color-eight);
}

.work .matchday {
	background-color: var(--theme-color-two);
}

.matchday .tech-tags span:before {
	color: var(--theme-color-one);
}

.work .blockchain {
	background-color: var(--theme-color-three);
}

.blockchain .tech-tags span:before {
	color: var(--theme-color-five);
}

.work .housemove {
	background-color: var(--theme-color-four);
}

.housemove .tech-tags span:before {
	color: var(--theme-color-two);
}

.work .foresight {
	background-color: var(--theme-color-five);
}

.foresight .tech-tags span:before {
	color: var(--theme-color-two);
}

.work .cibc {
	background-color: var(--theme-color-six);
}

.cibc .tech-tags span:before {
	color: var(--theme-color-three);
}

footer {
	height: 50px;
}

footer p {
	font-size: 1.1rem;
	color: var(--footer-text-color);
}

.about-body,
.single-article,
.article-list {
	border-top: 3px solid var(--main-color);
}

.about,
.articles,
.article-content {
	padding: 20px;
	position: relative;
	margin: 0 auto;
	max-width: 900px;
}

.about ul {
	margin-left: 17px;
	list-style-position: outside;
}

.about li,
.about p,
.about li span {
	color: var(--text-color);
	font-size: 1.5rem;
	font-family: "OpenSans", Helvetica, Arial;
	line-height: 2.3rem;
}

.about li strong {
	font-weight: 700;
}

.about h2,
.about h3,
.about h4 {
	font-family: "OpenSans", Helvetica, Arial;
	font-weight: 700;
	margin-bottom: 10px;
}

.about h2 {
	font-size: 2.5rem;
	margin-top: 50px;
}

.about h3 {
	font-size: 1.6rem;
}

.about h4 {
	font-size: 1.3rem;
	color: #B0B0B0;
	font-weight: 700;
}

.about footer {
	margin-top: 50px;
}

.profile img {
	display: inline-block;
	width: 40px;
	height: 40px;
}

.profile h1 {
	display: inline-block;
	position: relative;
	top: 10px;
	margin-left: 10px;
}

.profile h1 a,
.profile h1 a:visited {
	color: var(--header-color);
}

.profile h1 a:hover,
.profile h1 a:active {
	color: var(--main-color);
	text-decoration: underline;
}

.profile-intro {
	margin-top: 40px;
	padding-bottom: 10px;
	margin-bottom: 25px;
}

.achievements li,
.future-learning li {
	list-style-type: square;
	color: #DFE3E5;
}

.achievements li {
	margin-bottom: 15px;
}

.timeline {
	margin-top: 20px;
}

.timeline-entry {
	display: grid;
	grid-template-columns: 100px auto;
}

.timeline-date {
	margin-right: 15px;
	vertical-align: top;
	width: 100px;
	overflow: hidden;
}

.timeline-date span {
	font-family: "OpenSans", Helvetica, Arial;
	font-size: 1.2rem;
	color: var(--text-color);
	font-style: italic;
	position: relative;
	top: 3px;
}

.timeline-info {
	border-left: 4px solid var(--main-color);
	padding-left: 18px;
	padding-bottom: 30px;
	position: relative;
}

.timeline-entry:last-child .timeline-info {
	border-left: none;
}

.timeline-info p {
	font-size: 1.3rem;
}

.timeline-decoration {
	width: 16px;
	height: 16px;
	background-color: var(--bg-color);
	border: 3px solid var(--main-color);
	border-radius: 8px;
	position: absolute;
	left: -10px;
}

.timeline-entry:last-child .timeline-decoration {
	left: -6px;
}

.skills h3 {
	margin-top: 30px;
}

.skills ul {
	list-style: none;
	margin: 8px 0;
	padding: 0 17px;
}

.skills li:before {
	content: "";
	border-color: transparent var(--main-color);
	border-style: solid;
	border-width: .35em 0 .35em .45em;
	display: block;
	height: 0;
	left: -1em;
	position: relative;
	top: 1.2em;
	width: 0;
}

.article-list h1 {
	text-transform: none;
	font-size: 3.2rem;
	margin-bottom: 20px;
	margin-top: 50px;
}

.article-list h1 a:hover,
.article-list h1 a:active,
.article-list h1 a:visited {
	color: var(--main-color);
}

.article-list h1 a:hover {
	text-decoration: underline;
}

.article-list p {
	color: var(--text-color);
}

.article-grid {
	margin: 75px 0 50px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 40px;
}

article h2 a {
	font-size: 3.4rem;
	color: var(--header-color);
	padding-bottom: 15px;
	border-bottom: 2px solid var(--main-color);
}

article a time {
	font-weight: 700;
	font-size: 1.5rem;
	font-family: "OpenSans", Helvetica, Arial;
	color: var(--main-color);
}

article a h2 {
	font-family: "OpenSans", Helvetica, Arial;
	font-size: 3rem;
	line-height: 3.5rem;
	color: var(--header-color);
	font-weight: 700;
	margin-top: 10px;
}

article h2 a:visited,
article h2 a:hover,
article h2 a:active {
	color: var(--main-color);
	text-decoration: underline;
}

article a:after {
	content: '';
	display: block;
	width: 45px;
	height: 2px;
	background-color: var(--main-color);
	margin: 15px 0;
}

.article-content .intro-banner {
	text-align: center;
	margin: 50px 0;
	display: block;
}

.article-content .intro-banner p {
	color: var(--text-color);
	font-size: 1.4rem;
}

.article-content a {
	color: var(--main-color);
}

.article-content a:hover {
	text-decoration: underline;
}

.article-content header {
	text-align: center;
	max-width: 400px;
	margin: 0 auto;
	margin-top: 20px;
}

.article-content header:after {
	content: '';
	display: block;
	width: 45px;
	height: 2px;
	background-color: var(--main-color);
	margin: 0 auto;
}

.article-content header h1 {
	margin-top: 20px;
	font-size: 3.6rem;
	line-height: 4rem;
}

.article-content time {
	font-weight: 700;
	font-size: 1.5rem;
	font-family: "OpenSans", Helvetica, Arial;
	color: var(--main-color);
}

.article-content article {
	margin-top: 40px;
	margin-bottom: 40px;
}

.article-content p,
.article-content li {
	color: var(--text-color);
}

.article-content ul {
	margin: 25px;
}

.article-content li {
	font-size: 1.5rem;
	font-family: "OpenSans", Helvetica, Arial;
	line-height: 2.3rem;
	list-style-type: square;
	list-style-position: inside;
}

@media only screen and (max-width: 1200px) {
	.work-item img {
		max-width: 400px;
		max-height: 400px;
		margin: 0 auto 20px;
	}
}

@media only screen and (max-width: 900px) {
	.intro-content {
		margin-top: 80px;
		min-height: 100%;
	}
	footer {
		margin-top: 100px;
	}
	.content {
		display: block;
	}
	.introduction {
		position: initial;
		padding: 0 20px 0;
		height: auto;
    }
	.work-item img {
		max-width: 300px;
        max-height: 300px;
        margin-bottom: 40px;
    }
    .work h2 {
        line-height: 2.1rem;
    }
	.article-grid {
		grid-template-columns: 1fr;
	}
	nav {
		font-size: 1.3rem;
	}
	nav li:after {
		padding: 0 5px 0 10px;
    }
    .about h3 {
        line-height: 2.0rem;
        position: relative;
        top: -3px;
    }
}

@media only screen and (max-width: 330px) {
	html {
		font-size: 50.5%;
	}
	.work-item img {
		max-width: 240px;
		max-height: 240px;
		margin: 0 auto 20px;
	}
	nav {
		font-size: 1.2rem;
	}
	nav li:after {
		padding: 0 0 0 5px;
	}
}