@font-face {
    font-family: 'oxygenbold';
    src: url('font/oxygen-bold.ttf') format('truetype'),
      url('font/oxygen-bold.woff') format('woff'),
      url('font/oxygen-bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'oxygenlight';
    src: url('font/oxygen-light.ttf') format('truetype'),
      url('font/oxygen-light.woff') format('woff'),
      url('font/oxygen-light.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'palanquinlight';
    src: url('font/palanquin-light.ttf') format('truetype'),
      url('font/palanquin-light.woff') format('woff'),
      url('font/palanquin-light.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/*  S T R U C T U R E  */

body {
  margin: 0;
  padding: 0;
  font-family: palanquinlight,Helvetica,Arial;
  font-size: 13px;
  color: #333;
  overflow-x: hidden;
}

/* T Y P O G R A P H Y  */

h1, h2, h3, h4, p {
  margin: 0;
}
h1 {
  font-family: oxygenbold;
  font-size: 260%;
  line-height: 1.6;
}
h2 {
  font-family: oxygenlight;
  font-size: 200%;
  padding: 1em 0;
}
p {
  font-size: 125%;
  padding: 0 0 1em 0;
  line-height: 1.4;
}
a.phone {
	text-decoration: none;
	color: #fff;
}

/*  S L I D E S  */

.slide {
  position: relative;
  width: 100vw;
  box-sizing: border-box;
  background: 50% 50% / cover;
}
.slide .splash {  /* ollows independent opacity on background */
  position: absolute;
  height: 100%;
  width: 100%;
}
.slide .content {
  position: relative;
  padding: 10vh 10vw 10vh 10vw;
}
.interstitial {
  position: relative;
  padding: 10vh 10vw;
  background-color: #333;
  color: #fff;
}
.interstitial h2 {
  text-shadow: 1px 1px 2px #000;
}

/* H O M E */

.welcome .splash {
  background: transparent url(media/rampant.jpg) fixed no-repeat 50% 90% / cover;
}
.welcome .content {
  padding: 20vh 10vw 10vh 10vw;
  min-height: 70vh;
}
.welcome h1, .welcome h2 {
  color: #333;
  text-shadow: 1px 1px 2px #fff;
}
.welcome a {
	text-decoration: none;
	position: absolute;
	top: 5vh;
	right: 10vw;
	color: #333;
	text-shadow: 1px 1px 2px #79a;
	font-size: 0;
	background: transparent url(media/key.png) scroll no-repeat 0px 0px / contain;
	width: 35px;
	height: 100px;
}
.login a.home {
	text-decoration: none;
	position: absolute;
	top: 5vh;
	right: 10vw;
	color: #333;
	text-shadow: 1px 1px 2px #79a;
	background: transparent url(media/knight.png) no-repeat 0 0 / 80% 100%;
	width: 50px;
	height: 50px;
}
.consulting .splash {
  background: transparent url(media/consulting2.jpg) fixed no-repeat 50% 30% / cover;
}
.consulting .content {
	min-height: 80vh;
}
.community .splash {
  background: transparent url(media/community1.jpg) fixed no-repeat 50% 70% / cover;
}
.community .content {
	min-height: 80vh;
}
.capital .splash {
  background: transparent url(media/capital1.jpg) fixed no-repeat 50% 50% / cover;
}
.capital .content {
	min-height: 80vh;
}
.about .content {
	display: flex;
	justify-content: center;
  align-items: center;
}
.about img {
	display: block;
	width: 100%;
}
.login .splash {
  background: transparent url(media/rampant.jpg) fixed no-repeat 50% 90% / cover;
}
.login .content {
  padding: 20vh 10vw 10vh 10vw;
  min-height: 70vh;
}
form > div {
  position: relative;
  margin-bottom: 1em;
  max-width: 20rem;
}
form input {
  width: 90%;
  padding: 1.0em 0.2em 0.2em;
  font-size: 125%;
  font-family: oxygenbold;
  color: #333;
  background-color: #fff;
  border-radius: 0.2em;
  border-width: 0;
}
form i {
  font-style: normal;
  position: absolute;
  top: 0;
  left: 0;
  font-family: oxygenlight;
  color: #999;
  padding: 0.2em;
}
#login {
	display: inline-flex;
	padding: .5em 1em;
	margin: 1em 0 2em 0;
	font-family: OxygenBold;
	font-size: 150%;
	color: #fff;
	border-radius: 0.4em;
	text-decoration: none;
	text-shadow: 1px 1px 2px #333;
	box-shadow: 1px 1px 2px #666;
	opacity: 0.9;
	background-color: #99ca3c;
}
#failed {
	font-family: OxygenBold;
	font-size: 150%;
	color: #b00;
}
body.animation {
	width: 100vw;
	height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
	background-color: #444;
}
@media screen and (max-width: 1100px) {
	.splash { /* mobile browsers (esp safari) don't handle fixed+cover */
		background-attachment: scroll !important;
	}
}

@media screen and (max-width: 700px) {
  body {
    font-size: 11px;
  }
}

@media screen and (max-width: 450px) {
  body {
    font-size: 9px;
  }
}


