/*************************** Layout and Globals ***************************/
html {
  font-size: 18px;
}
html, body {
  width: 100%;
  height: 100%;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
body {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Source Sans Pro", Calibri, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  background: #31393a;
  position: relative;
  display: table;
}
#gradient {
  background: #31393a;
  background: -moz-linear-gradient(#31393a, #232929, #0b0e0e); /* FF 3.6+ */
  background: -ms-linear-gradient(#31393a, #232929, #0b0e0e); /* IE10 */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #31393a), color-stop(50%, #232929), color-stop(100%, #0b0e0e)); /* Safari 4+, Chrome 2+ */
  background: -webkit-linear-gradient(#31393a, #232929, #0b0e0e); /* Safari 5.1+, Chrome 10+ */
  background: -o-linear-gradient(#31393a, #232929, #0b0e0e); /* Opera 11.10 */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#31393a', endColorstr='#0b0e0e'); /* IE6 & IE7 */
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#31393a', endColorstr='#0b0e0e')"; /* IE8+ */
  background: linear-gradient(#31393a, #232929, #0b0e0e); /* the standard */
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -3;
}
.poof {
  display: none;
}
.noscroll {
  overflow: hidden;
}
h1 {
  color: #fff;
  font-family: "Paytone One", sans-serif;
  font-size: 5em;
  letter-spacing: .02em;
  line-height: 1.2;
  transition: all 1s ease;
}
h2 {
  color: rgba(255, 255, 255, 0.6);
  font-size: 3em;
  font-weight: 300;
  line-height: 1.5;
  margin-right: .75em;
  float: left;
}
h3 {
  color: #fff;
  font-family: "Paytone One", sans-serif;
  font-size: 2em;
  letter-spacing: .02em;
  line-height: 1.2;
  text-transform: uppercase;
  margin-right: .5em;
  float: left;
  position: relative;
}
h4 {
  color: #0ebbcf;
  font-size: 1.3em;
  line-height: 1.5;
  margin-bottom: .25em;
}
h5 {
  font-size: 1em;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
em {
  font-style: italic;
}
strong {
  font-weight: bold;
}  
a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
a:before {
  content: "\203A";
  color: rgba(251, 220, 52, 1); /* #fbdc34 */
  position: absolute;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
a:after {
  content: "";
  background-color: rgba(251, 220, 52, 0.8); /* #fbdc34 */
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
a:hover {
  color: #fff;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
a:hover:before {
  right: -.6em;
  opacity: 1;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
a:hover:after {
  background-color: rgba(251, 220, 52, 1); /* #fbdc34 */
  bottom: -2px;
  width: calc(100% + .7em);
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
p {
  line-height: 1.5em;
}
p:last-child {
  margin-bottom: 0;
}
ul, ol {
  list-style-position: outside;
  padding-left: 20px;
  -webkit-transition: font-size 0.25s ease;
  -moz-transition: font-size 0.25s ease;
  -o-transition: font-size 0.25s ease;
  transition: font-size 0.25s ease;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
h1, h3, p {
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.indent {
  padding-left: 2rem;
}


/*************************** Heading ***************************/
#h1-wrap h1 br,
#h1-wrap #above-screen,
#h1-wrap #battery {
  display: none;
}


/*************************** Photo ***************************/
.me {
  border: 0.7em solid rgba(0,0,0,0);
  border-radius: 50%;
  box-shadow: 0 0 0 3px #0ebbcf;
  margin: -0.5em 2.3em 0 0;
  width: 10em;
  height: 10em;
  float: left;
  position: relative;
  overflow: hidden;
}
.me>img {
  display: inline;
  margin: -13% 0 0 -48%;
  height: auto;
  width: 200%;
  transform: rotate(1deg);
}


/*************************** Main content ***************************/
div#page {
  display: block;
  -webkit-transition: margin 0.25s ease;
  -moz-transition: margin 0.25s ease;
  -o-transition: margin 0.25s ease;
  transition: margin 0.25s ease;
}
header {
  padding: 8em 10%;
}
section {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: -1px;
  padding: 7em 10%;
}
.heading {
  margin: 0 0 4rem;
}
.description {
  color: rgba(255,255,255,.6);
  font-size: 1.3rem;
  font-style: italic;
  padding-top: 0.465rem;
}


/*************************** Values ***************************/
section#values h3:before {
  content: 'I.';
  color: #0ebbcf;
  display: block;
  position: absolute;
  left: -1em;
}
section#values ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
section#values li {
  margin: 0 3rem 3rem 0;
  width: calc(20% - 3rem);
  flex: 1 1 auto;
}
section#values li:nth-child(5n) {
  margin-right: 0;
}
section#values li:nth-child(n+6) {
  margin-bottom: 0;
}
section#values li p {
  font-size: .9em;
}


/*************************** Experience ***************************/
section#experience h3:before {
  content: 'II.';
  color: #0ebbcf;
  display: block;
  position: absolute;
  left: -1.35em;
}
section#experience ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
section#experience li.position {
  margin: 0 3rem 3rem 0;
  width: calc(50% - 1.5rem);
  flex: 1 1 auto;
}
section#experience li.position:nth-child(even) {
  margin-right: 0;
}
section#experience li.position:nth-child(n+5) {
  margin-bottom: 0;
}
section#experience h4 {
  color: #fff;
}
section#experience .logo {
  margin-bottom: 1rem;
  height: 50px;
  position: relative;
}
section#experience img,
section#experience h4 {
  margin: 0;
  max-width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
}
section#experience p {
  margin: .5em 0 1em;
}
section#experience ul.duties {
  color: #0ebbcf;
  font-size: 0.9em;
  list-style: disc;
  margin: 0 0 0 1.5em;
}
section#experience ul.duties li {
  margin: 0 0 .5em !important;
  padding-left: 0.5em;
  width: 100%;
}
section#experience ul.duties li span {
  color: rgba(255, 255, 255, 0.8);
}
section#experience span.title {
  color: #0ebbcf;
}
section#experience .bandwidth img {
  height: 50px;
}
section#experience .agamatrix img {
  height: 50px;
}
section#experience .ziftr img {
  height: 40px;
}
section#experience .transparent img {
  height: 30px;
}
section#experience .commonplaces img {
  height: 40px;
}


/*************************** Skills ***************************/
section#skills h3:before {
  content: 'III.';
  color: #0ebbcf;
  display: block;
  position: absolute;
  left: -1.7em;
}
section#skills ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
section#skills li {
  margin: 0 3rem 3rem 0;
  width: calc(25% - 2.25rem);
  flex: 1 1 auto;
  position: relative;
}
section#skills li:nth-child(4n) {
  margin-right: 0;
}
section#skills li h4 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}
section#skills li .rank .on,
section#skills li .rank .off {
  text-indent: -999em;
  display: inline-block;
  border-radius: 4rem;
  margin-right: 0.2rem;
  width: 0.5em;
  vertical-align: middle;
}
section#skills li .rank .ons {
  display: inline-block;
}
section#skills li .rank .on {
  background: #0ebbcf;
  height: 0.5em;
}
section#skills li .rank .off {
  background: rgba(255, 255, 255, 0.25);
  height: 0.3em;
}
section#skills p.code {
  font-size: .9em;
  margin-top: 2em;
  max-width: 75%;
}


/*************************** Background ***************************/
section#background h3:before {
  content: 'IV.';
  color: #0ebbcf;
  display: block;
  position: absolute;
  left: -1.55em;
}
section#background ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
section#background li {
  margin-right: 3rem;
  width: calc(33.33% - 2rem);
  flex: 1 1 auto;
}
section#background li:nth-child(3n) {
  margin-right: 0;
}
section#background li p {
  font-size: .9em;
}


/*************************** Contact ***************************/
section#contact h3:before {
  content: 'V.';
  color: #0ebbcf;
  display: block;
  position: absolute;
  left: -1.2em;
}
section#contact .spam-protection {
  display: none;
}
section#contact .footer p {
  float: left;
}
section#contact .footer a#konami {
  font-family: "Silkscreen", Calibri, Verdana, Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1rem;
  float: right;
  opacity: 0.2;
  transition: opacity 0.25s ease;
}
section#contact .footer a#konami:before,
section#contact .footer a#konami:after {
  display: none;
}
section#contact .footer #konami:hover {
  opacity: 1;
}
section#contact .footer #konami span {
  vertical-align: middle;
}
#konami .u,
#konami .d,
#konami .l,
#konami .r {
  border-width: 0.5em;
  border-style: solid;
  border-radius: 2px;
  text-indent: -999em;
  display: inline-block;
  margin-top: 0.15em;
  height: 0;
  position: relative;
}
#konami .u {
  border-color: transparent transparent rgba(255,255,255,0.8);
  top: -0.25em;
}
#konami .d {
  border-color: rgba(255,255,255,0.8) transparent transparent;
  bottom: -0.25em;
}
#konami .l {
  border-color: transparent transparent transparent rgba(255,255,255,0.8);
  left: 0.25em;
}
#konami .r {
  border-color: transparent rgba(255,255,255,0.8) transparent transparent;
  right: 0.25em;
}


/****************************** Media queries ******************************/


/**** <1400 ****/
@media all and (max-width: 1400px) {

header {
  font-size: .92em;
}

}


/**** <1300 ****/
@media all and (max-width: 1300px) {

header {
  font-size: .85em;
}
section#values li {
  margin: 0 3rem 3rem 0;
  width: calc(50% - 1.5rem);
}
section#values li:nth-child(5n) {
  margin-right: 3rem;
}
section#values li:nth-child(2n) {
  margin-right: 0;
}
section#values li:nth-child(n+6) {
  margin-bottom: 3rem;
}
section#values li:nth-child(n+9) {
  margin-bottom: 0;
}

}


/**** <1180 ****/
@media all and (max-width: 1180px) {

header {
  font-size: .8em;
}
section#skills li {
  width: calc(33.33% - 2rem);
}
section#skills li:nth-child(4n) {
  margin-right: 3rem;
}
section#skills li:nth-child(3n) {
  margin-right: 0;
}
section#skills li:nth-last-child(2) {
  flex-grow: 0;
}
section#skills li:last-child {
  flex-grow: 2;
}

}


/**** <1100 ****/
@media all and (max-width: 1100px) {

header {
  font-size: .7em;
}
p.description {
  font-size: inherit;
  padding-top: .88rem;
}
section#skills p.code {
  max-width: none;
}

}


/**** <980 ****/
@media all and (max-width: 980px) {

header {
  font-size: .65em;
}

}


/**** <900 ****/
@media all and (max-width: 900px) {

header {
  font-size: .6em;
}
section#experience li.position {
  margin: 0 0 3rem !important;
  width: 100%;
}
section#experience li:last-child {
  margin: 0 !important;
}
section#experience .logo {
  margin-bottom: .8rem;
  height: auto;
}
section#experience img,
section#experience h4 {
  display: block;
  position: static;
}
section#skills li {
  width: calc(50% - 1.5rem);
}
section#skills li:nth-child(3n) {
  margin-right: 3rem;
}
section#skills li:nth-child(even) {
  margin-right: 0;
}
section#skills li:nth-last-child(2),
section#skills li:last-child {
  flex-grow: 0;
}

}


/**** <840 ****/
@media all and (max-width: 840px) {

header {
  font-size: .55em;
}
.me {
  box-shadow: 0 0 0 2px #0ebbcf;
}
p.description {
  padding: 0;
  clear: both;
}

}


/**** <780 ****/
@media all and (max-width: 780px) {

header {
  font-size: .5em;
}
section {
  font-size: .9em;
  padding: 5em 10%;
}
section .heading {
  margin: 0 0 2rem;
}
p.description {
  font-size: inherit;
}
section#values li:nth-child(5n) {
  margin-right: 0;
}
section#values li,
section#values li:nth-child(5) {
  margin: 0 2rem 2rem 0;
  width: calc(50% - 1rem);
}
section#values li:nth-child(n+6) {
  margin-bottom: 2rem;
}
section#values li:last-child,
section#values li:nth-last-child(2) {
  margin-bottom: 0;
}
section#experience li {
  margin: 0 0 2.5rem !important;
}
section#experience .bandwidth img {
  height: 30px;
}
section#experience .agamatrix img {
  height: 30px;
}
section#experience .ziftr img {
  height: 25px;
}
section#experience .transparent img {
  height: 20px;
}
section#experience .commonplaces img {
  height: 25px;
}
section#skills li {
  margin: 0 2rem 2rem 0;
  width: calc(50% - 1rem);
}
section#skills li:nth-child(3n) {
  margin-right: inherit;
}
section#skills li:nth-child(odd) {
  margin-right: 2rem;
}
section#background li {
  margin: 0 0 2rem !important;
  width: 100%;
}
section#background li:last-child {
  margin: 0 !important;
}
section#contact .footer a#konami {
  margin-top: 1rem;
  float: left;
  clear: both;
}

}


/**** <710 ****/
@media all and (max-width: 710px) {

header {
  font-size: .45em;
}

}


/**** <650 ****/
@media all and (max-width: 650px) {

header {
  font-size: .4em;
}
section {
  font-size: .8em;
}

}


/**** <570 ****/
@media all and (max-width: 570px) {

header {
  font-size: .35em;
}
section .heading {
  font-size: .8em;
}
p.description {
  font-size: 1.2em;
}

}


/**** <510 ****/
@media all and (max-width: 510px) {

header {
  font-size: .3em;
}
section#values h3:before,
section#experience h3:before,
section#skills h3:before,
section#background h3:before,
section#contact h3:before {
  margin-right: .25em;
  display: inline;
  position: static;
  left: 0;
}

}


/**** <450 ****/
@media all and (max-width: 450px) {

header {
  font-size: .27em;
}
section {
  padding: 4em 8%;
}
p.description {
  font-size: 1.1em;
}
section#skills li {
  margin: 0 0 2rem !important;
  width: 100%;
}
section#skills li:last-child {
  margin: 0 !important;
}

}



/**** <420 ****/
@media all and (max-width: 420px) {

header {
  font-size: .25em;
}

}



/****************************** Print styles ******************************/
@media print {

/* Hide */
#gradient,
.me,
a:before,
a:after,
section h3:before,
section#experience .logo img,
section#experience .logo h4,
section#contact .heading,
section#contact .emojis {
  display: none !important;
}

/* Colors */
body,
.description,
section#experience ul.duties,
section#experience ul.duties li span {
  color: #333 !important;
}
h1,
h3 {
  color: #000 !important;
}
h2,
h4,
section#experience span.title,
section#experience .logo::after,
section#skills li {
  color: #486 !important;
}
section#skills li:after {
  color: #aaa !important;
}
section {
  border-color: #ccc !important;
}

/* Typography */
html {
  font-size: 12px;
}
body {
  font-family: "Source Sans Pro", Calibri, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  background: #fff;
}
h1 {
  font-family: "Paytone One", sans-serif;
  font-size: 2rem;
  letter-spacing: .02em;
  line-height: 1.2;
}
h2 {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  margin-right: .75em;
  float: left;
}
h3 {
  font-family: "Paytone One", sans-serif;
  font-size: 1.5rem;
  letter-spacing: .02em;
  line-height: 1.2;
  text-transform: uppercase;
  margin-right: .5em;
  float: left;
  position: relative;
}
h4 {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 0 !important;
}
h5 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
section#skills li {
  font-size: 1rem;
  line-height: 1.5;
}
section#values li p,
section#experience ul.duties {
  font-size: 0.8rem;
  line-height: 1.5em;
}

/* Layout */
header {
  padding: 0 0 2rem !important;
}
section {
  border: 0 none;
  border-top: 1px solid #000;
  padding: 2rem 0 !important;
}

section#values li {
  margin: 0 3rem 2rem 0 !important;
  width: calc(20% - 3rem) !important;
}
section#values li:nth-child(5n) {
  margin-right: 0 !important;
}
section#values li:nth-child(n+6) {
  margin-bottom: 0 !important;
}

section#experience li.position {
  margin: 0 3rem 2rem 0 !important;
  width: calc(50% - 1.5rem) !important;
}
section#experience li.position:nth-child(even) {
  margin-right: 0 !important;
}
section#experience li.position:nth-child(n+5) {
  margin-bottom: 0 !important;
}

section#skills li {
  margin: 0 3rem 2rem 0 !important;
  width: calc(25% - 2.25rem) !important;
}
section#skills li:nth-child(4n) {
  margin-right: 0 !important;
}

section#background li {
  margin-right: 3rem !important;
  width: calc(33.33% - 2rem) !important;
}
section#background li:nth-child(3n) {
  margin-right: 0 !important;
}

section#contact {
  border: 0 none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 3rem;
  position: absolute;
  top: 0;
  right: 0;
}
section#contact::after {
  content: '\0028\0036\0030\0033\0029\00A0\0037\0038\0035\2011\0034\0037\0032\0037';
  position: absolute;
  top: 1.2rem;
  right: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Replace logo images with text*/
section#experience .logo {
  position: relative;
  height: 1.2rem !important;
}
section#experience .logo::after {
  content: attr(data-alt);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1.2rem;
  line-height: 1.5;
}


}