@font-face {
  font-family: konztante;
  src: url('../fonts/konztanteregular.ttf'); }

* {
  box-sizing: border-box;
  font-smooth: always;
  -webkit-font-smoothing: subpixel-antialiased; }

body {
  font-size: 1em;
  margin: 0;
  background-color: white;
  color: #333333; 
}

a {
  text-decoration: none; }

a[href*="mailto:"] {
  font-weight: bold;
  color: #9e0c24; }

a img {
  border: none; }

p {
  position: relative;
  padding-top: 10px; }

ul {
  margin: 10px 0;
  padding: 10px;
}

li {
  list-style: none;
  position: relative;
  font-weight: 600;
}

.screenshot {
  float: right;
  margin-right: -100px;
  margin-top: -50px;
  z-index: 2;
  position: relative;
  text-align: center; }
  .screenshot img {
    height: 600px;
    display: block; }
  .screenshot a {
    font-size: 0.8em;
    color: #cccccc; }

.layerWrapper {
  height: 200px;
  position: relative; }

.layer {
  position: absolute;
  font-family: PT Sans, Arial;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; }
  .layer.primary {
    background-color: white; }
  .layer.base {
    z-index: 1;
    background-color: white;
    background-image: url(../images/paper.jpg);
    -webkit-mask-image: url(../images/layerMask2.png);
    -webkit-transition: -webkit-mask-position 1s cubic-bezier(.82,.11,.25,.96), -webkit-mask-size 1s cubic-bezier(.82,.11,.25,.96);
    -webkit-mask-position: -2000px -200px;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 300%; }
    .layer.base:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      z-index: -1; }
    .layer.base header {
      position: relative;
      background-image: url(../images/header.png);
      background-repeat: no-repeat;
      background-position: 21% 0;
      background-color: transparent;
      -webkit-border-image: url(../images/horzPencil.png) 0 0 30 0 round repeat;
      margin-bottom: 15px; }
      @media screen and (max-width: 900px) {
        .layer.base header {
          background-position: -296px 0; } }
      .layer.base header:after {
        position: absolute;
        content: "";
        height: 250px;
        bottom: -230px;
        background-image: url(../images/divider.png);
        background-repeat: no-repeat;
        display: block;
        left: 0;
        right: 0;
        background-position: 20% 0; }
      .layer.base header h1 {
        color: transparent;
        text-shadow: none;
        -webkit-border-image: url(../images/vertPencil.png) 0 30 0 30 round repeat;
        margin: -6px; }
      .layer.base header .product {
        color: transparent;
        text-shadow: none;
        position: relative; }
        .layer.base header .product:after {
          content: "";
          display: block;
          position: relative;
          top: -100px;
          left: -60px;
          background-image: url(../images/slogan.png);
          height: 168px;
          width: 515px; }
    .layer.base nav {
      -webkit-border-image: url(../images/horzPencil.png) 0 0 30 0 round repeat;
      margin: -3px 0; }
      .layer.base nav a {
        -webkit-border-image: url(../images/vertPencil.png) 0 30 0 30 round repeat;
        margin: -3px 0; }
    .layer.base .main, .layer.base footer {
      -webkit-border-image: url(../images/horzPencil.png) 0 0 30 0 round repeat; }
      .layer.base .main a, .layer.base footer a {
        -webkit-border-image: url(../images/vertPencil.png) 0 30 0 30 round repeat;
        margin: 3px 0; }
    .layer.base section {
      -webkit-border-image: url(../images/vertPencil.png) 0 30 0 30 round repeat;
      margin: -3px 0; }
  .layer.middle {
    display: none; }

    .layer.base .screenshot img,
    .layer.middle .screenshot img {
      opacity: 0;
      filter: saturate(0);
    }

a {
  color: black; }
  a:hover {
    text-decoration: underline; }

.page {
  margin: 0 auto; }

header {
  padding-bottom: 30px;
  background-color: #333333;
  background-image: url("../images/tbg.png");
  background-repeat: no-repeat;
  background-position: 50% 0;
  border-bottom: solid 1px black; }
  header .product {
    display: inline-block;
    font-family: konztante, Arial;
    vertical-align: middle;
    margin-left: 50px;
    color: white;
    font-size: 2.5em;
    padding: 20px 0;
    text-shadow: 0 0 10px black, 0 0 20px black;
    height: 86px;
    width: 252px; }
    @media screen and (max-width: 900px) {
      header .product {
        margin-left: 0; } }
  header h1 {
    vertical-align: middle;
    margin: 0;
    font-size: 8em;
    font-family: konztante, Arial;
    font-weight: normal;
    color: white;
    display: inline-block;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4); }
  @media screen and (max-width: 900px) {
 }

header, nav, .main, footer {
  padding: 0 20%; }
  @media screen and (max-width: 900px) {
    header, nav, .main, footer {
      padding: 0 5%; } }

nav {
  position: relative;
  z-index: 1px; }
  nav a {
    display: inline-block;
    padding: 20px;
    font-family: konztante;
    font-size: 2em;
    text-decoration: none; }

.main section {
  padding: 20px;
  padding-bottom: 30px; }

footer {
  text-align: center; }
  footer a {
    display: inline-block;
    vertical-align: middle;
    padding: 5px; }
