@import url(fontawesome-all.min.css);
@import 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400';

/* Reset */
html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
	background-color: #000000;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

/* Basic */
@-ms-viewport {
	width: device-width;
}

body {
	-ms-overflow-style: scrollbar;
}

@media screen and (max-width: 480px) {
	html, body {
		min-width: 320px;
	}
}

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body.is-preload *, body.is-preload *:before, body.is-preload *:after {
	-moz-animation: none !important;
	-webkit-animation: none !important;
	-ms-animation: none !important;
	animation: none !important;
	-moz-transition: none !important;
	-webkit-transition: none !important;
	-ms-transition: none !important;
	transition: none !important;
}

/* Typography */
body, input, select, textarea {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 17pt;
	font-weight: 300;
	line-height: 1.65;
	color: #ffffff;
}

@media screen and (max-width: 1680px) {
	body, input, select, textarea {
		font-size: 14pt;
	}
}

@media screen and (max-width: 1280px) {
	body, input, select, textarea {
		font-size: 12pt;
	}
}

@media screen and (max-width: 360px) {
	body, input, select, textarea {
		font-size: 11pt;
	}
}

a {
	-moz-transition: color 0.2s ease, border-bottom 0.2s ease;
	-webkit-transition: color 0.2s ease, border-bottom 0.2s ease;
	-ms-transition: color 0.2s ease, border-bottom 0.2s ease;
	transition: color 0.2s ease, border-bottom 0.2s ease;
	text-decoration: none;
	border-bottom: dotted 1px;
	color: inherit;
}

a:hover {
	border-bottom-color: transparent;
	color: #ffffff;
}

strong, b {
	font-weight: 400;
	color: #ffffff;
}

em, i {
	font-style: italic;
}

p {
	margin: 0 0 2em 0;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 300;
	line-height: 1.5;
	margin: 0 0 0.7em 0;
	letter-spacing: -0.025em;
	color: #ffffff;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}

h1 {
	font-size: 2.5em;
	line-height: 1.2;
}

h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.25em;
}

@media screen and (max-width: 736px) {
	h1 {
		font-size: 2em;
	}
}

/* Lists */
ul {
  list-style: none;
  padding: 0;
}

li {
  display: grid;
  grid-template-areas:
    "image"
    "link"
    "heading"
    "paragraph";
  justify-items: center;
  margin-bottom: 2rem;
  text-align: center;
}

li a {
  grid-area: image;
}

li h3 {
  grid-area: heading;
}

li p {
  grid-area: paragraph;
}

img.fit {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Forms - CRITICAL STYLING */
form {
	margin: 0 auto !important;
	max-width: 600px !important;
	width: 100% !important;
	padding: 40px !important;
	background: rgba(255, 255, 255, 0.1) !important;
	border-radius: 20px !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
	border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

label {
	display: block !important;
	font-size: 1.1em !important;
	font-weight: 600 !important;
	margin: 0 0 10px 0 !important;
	color: #ffffff !important;
	letter-spacing: 0.5px !important;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
	-moz-appearance: none !important;
	-webkit-appearance: none !important;
	-ms-appearance: none !important;
	appearance: none !important;
	border-radius: 10px !important;
	border: 2px solid #ffffff !important;
	color: #ffffff !important;
	display: block !important;
	outline: 0 !important;
	padding: 15px 20px !important;
	text-decoration: none !important;
	width: 100% !important;
	background: rgba(255, 255, 255, 0.2) !important;
	transition: all 0.3s ease !important;
	margin-top: 0 !important;
	margin-bottom: 25px !important;
	box-sizing: border-box !important;
	font-size: 16px !important;
	font-family: "Source Sans Pro", Helvetica, sans-serif !important;
}

input[type="email"]::placeholder,
textarea::placeholder {
	color: rgba(255, 255, 255, 0.6) !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
	border-color: #ffffff !important;
	background: rgba(255, 255, 255, 0.3) !important;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2) !important;
}

textarea {
	min-height: 150px !important;
	resize: vertical !important;
}

/* Buttons */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-moz-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
	background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
	color: white !important;
	box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 50px;
	cursor: pointer;
	display: inline-block;
	font-weight: 600;
	height: auto;
	line-height: 1.5;
	min-width: 200px;
	padding: 15px 50px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 16px;
	margin-top: 10px;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
	background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.6);
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
button:active,
.button:active {
	transform: translateY(-1px);
	box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 736px) {
	input[type="submit"],
	input[type="reset"],
	input[type="button"],
	button,
	.button {
		min-width: 0;
		width: 100%;
	}
}

/* Header */
#header {
	padding: 5em 5em 1em 5em;
	text-align: center;
}

#header h1 {
	margin: 0 0 0.25em 0;
}

#header p {
	font-size: 1.25em;
	letter-spacing: -0.025em;
}

#header.alt {
	padding: 7em 5em 4em 5em;
}

#header.alt h1 {
	font-size: 3.25em;
}

@media screen and (max-width: 736px) {
	#header {
		padding: 3em 2em 0.1em 2em;
	}
	
	#header.alt {
		padding: 4em 2em 1em 2em;
	}
	
	#header.alt h1 {
		font-size: 2.5em;
	}
}

#heady {
	text-align: center;
}

/* Navigation */
#nav {
	-moz-transition: background-color 0.2s ease, border-top-left-radius 0.2s ease, border-top-right-radius 0.2s ease, padding 0.2s ease;
	-webkit-transition: background-color 0.2s ease, border-top-left-radius 0.2s ease, border-top-right-radius 0.2s ease, padding 0.2s ease;
	-ms-transition: background-color 0.2s ease, border-top-left-radius 0.2s ease, border-top-right-radius 0.2s ease, padding 0.2s ease;
	transition: background-color 0.2s ease, border-top-left-radius 0.2s ease, border-top-right-radius 0.2s ease, padding 0.2s ease;
	background-color: #ffffff;
	color: #636363;
	position: absolute;
	width: 64em;
	max-width: calc(100% - 4em);
	padding: 1em;
	background-color: #f7f7f7;
	border-top-left-radius: 0.25em;
	border-top-right-radius: 0.25em;
	cursor: default;
	text-align: center;
}

#nav + #main {
	padding-top: 4.25em;
}

#nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#nav ul li {
	-moz-transition: margin 0.2s ease;
	-webkit-transition: margin 0.2s ease;
	-ms-transition: margin 0.2s ease;
	transition: margin 0.2s ease;
	display: inline-block;
	margin: 0 0.35em;
	padding: 0;
	vertical-align: middle;
}

#nav ul li a {
	-moz-transition: font-size 0.2s ease;
	-webkit-transition: font-size 0.2s ease;
	-ms-transition: font-size 0.2s ease;
	transition: font-size 0.2s ease;
	display: inline-block;
	height: 2.25em;
	line-height: 2.25em;
	padding: 0 1.25em;
	border: 0;
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px transparent;
	color: #636363;
}

#nav ul li a:hover {
	background-color: rgba(222, 222, 222, 0.25);
}

#nav ul li a.active {
	background-color: #000;
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: none;
}

@media screen and (max-width: 736px) {
	#nav {
		display: none;
	}
	
	#nav + #main {
		padding-top: 0;
	}
}

/* Main */
#main {
	background-color: #ffffff;
	color: #636363;
	border-radius: 0.25em;
}

/* Make contact section background black */
#main #second {
	background-color: #000000 !important;
	color: #ffffff !important;
}

#main > .main {
	padding: 5em 5em 3em 5em;
	border-top: solid 1px #dddddd;
}

#main > .main:first-child {
	border-top: 0;
}

@media screen and (max-width: 736px) {
	#main > .main {
		padding: 3em 2em 1em 2em;
	}
}

/* Spotlight */
.spotlight {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	margin: 0 0 2em 0;
}

.spotlight .content {
	-moz-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.spotlight .content > :last-child {
	margin-bottom: 0;
}

.spotlight .image {
	display: inline-block;
	margin-left: 4em;
	padding: 0.65em;
	border-radius: 100%;
	border: solid 1px rgba(255, 255, 255, 0.35);
}

.spotlight .image img {
	display: block;
	border-radius: 100%;
	width: 16em;
}

@media screen and (max-width: 980px) {
	.spotlight {
		-moz-flex-direction: column-reverse;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
		text-align: center;
	}
	
	.spotlight .content {
		-moz-flex: 0 1 auto;
		-webkit-flex: 0 1 auto;
		-ms-flex: 0 1 auto;
		flex: 0 1 auto;
		width: 100%;
	}
	
	.spotlight .image {
		-moz-flex: 0 1 auto;
		-webkit-flex: 0 1 auto;
		-ms-flex: 0 1 auto;
		flex: 0 1 auto;
		margin-left: 0;
		margin-bottom: 2em;
	}
}

@media screen and (max-width: 736px) {
	.spotlight .image {
		padding: 0.35em;
	}
	
	.spotlight .image img {
		width: 12em;
	}
}

/* Social Icons */
.social-icons {
	display: flex;
	gap: 20px;
	margin-top: 20px;
	justify-content: flex-start;
}

.social-icons a {
	color: #ffffff;
	font-size: 32px;
	transition: all 0.3s ease;
}

.social-icons a:hover {
	color: #cccccc;
	transform: scale(1.15);
}

/* Contact Section */
#second h2 {
	color: #ffffff !important;
	font-size: 2.5em !important;
	margin-bottom: 1.5em !important;
	font-weight: 300 !important;
	letter-spacing: 1px !important;
	text-align: center !important;
}

#second {
	position: relative;
	padding-bottom: 3em !important;
}

#second .container {
	position: relative;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	padding: 20px;
}

@media (max-width: 736px) {
	.container {
		width: 100%;
		margin-left: 0 !important;
		padding: 10px;
	}
	
	form {
		padding: 30px 20px !important;
	}
	
	#second h2 {
		font-size: 2em !important;
	}
}

@media (max-width: 480px) {
	form {
		padding: 25px 15px !important;
	}
}

/* Wrapper */
#wrapper {
	width: 64em;
	max-width: calc(100% - 4em);
	margin: 0 auto;
}

@media screen and (max-width: 480px) {
	#wrapper {
		max-width: calc(100% - 2em);
	}
}

@media screen and (max-width: 360px) {
	#wrapper {
		max-width: 100%;
	}
}

/* Features */
.features {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	width: calc(100% + 2em);
	margin: 0 0 3em -2em;
	padding: 0;
	list-style: none;
}

.features li {
	width: calc(33.33333% - 2em);
	margin-left: 2em;
	margin-top: 3em;
	padding: 0;
}

.features li:nth-child(1), .features li:nth-child(2), .features li:nth-child(3) {
	margin-top: 0;
}

@media screen and (max-width: 980px) {
	.features li {
		width: calc(50% - 2em);
	}
	
	.features li:nth-child(3) {
		margin-top: 3em;
	}
}

@media screen and (max-width: 736px) {
	.features {
		width: 100%;
		margin: 0 0 2em 0;
	}
	
	.features li {
		width: 100%;
		margin-left: 0;
		margin-top: 2em;
	}
	
	.features li:nth-child(2), .features li:nth-child(3) {
		margin-top: 2em;
	}
}

/* Image */
.image {
	border-radius: 8px;
	border: 0;
	display: inline-block;
	position: relative;
}

.image img {
	border-radius: 8px;
	display: block;
}

/* Section Headers */
header.major {
	margin-bottom: 3em;
}

header.major h2 {
	font-size: 2em;
}

header.major h2:after {
	display: block;
	content: '';
	width: 3.25em;
	height: 2px;
	margin: 0.7em 0 1em 0;
	border-radius: 2px;
	background-color: rgba(255, 255, 255, 0.35);
}

section.special header.major h2:after,
article.special header.major h2:after {
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 736px) {
	header.major {
		margin-bottom: 0;
	}
	
	header.major h2 {
		font-size: 1.5em;
	}
}