
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
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 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    min-height: 740px;

    background: rgb(215, 215, 215);
    background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 500, from(rgb(240, 240, 240)), to(rgb(190, 190, 190)));
    background: -webkit-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
    background:    -moz-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
    background:     -ms-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
    background:      -o-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
    background:         radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    /*color: #547AA5;*/
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    /*color: #4F5165;*/
}

b, strong { font-weight: bold }
i, em { font-style: italic }

a {
    color: inherit;
    text-decoration: none;
    padding: 0 0.1em;
    background: rgba(255,255,255,0.5);
    text-shadow: -1px -1px 2px rgba(100,100,100,0.9);
    border-radius: 0.2em;

    -webkit-transition: 0.5s;
    -moz-transition:    0.5s;
    -ms-transition:     0.5s;
    -o-transition:      0.5s;
    transition:         0.5s;
}

a:hover,
a:focus {
    background: rgba(255,255,255,1);
    text-shadow: -1px -1px 2px rgba(100,100,100,0.5);
}

.cat,
.unicorn,
.unicorn2 {
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;

    transition: all .55s;
    transform: translate(-100%, -100%);
}

.unicorn2 {
    transform: translate(100%, 100%);
    left: 50%;
}

.impress-on-intro .unicorn {
    opacity: 1;
    animation-duration: 4s;
    animation-name: slidein0;
}

.impress-on-intro .unicorn2 {
    opacity: 1;
    animation-duration: 3s;
    animation-name: slidein;
}


@keyframes slidein0 {
  0 {
    transform: translate(-100%, -100%);
  }

  80% {
    transform: translate(5%, 5%);
  }

  100% {
    transform: translate(500%, 500%);
  }
}

@keyframes slidein {
  0 {
    transform: translate(-100%, -100%);
  }

  100% {
    transform: translate(500%, 500%);
  }
}

.impress-on-chatspar .cat,
.impress-on-chatspar .unicorn {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translate(0%, 0%);

    animation-delay: 1s;
    animation-duration: 5s;
    animation-name: slideup;
}

.impress-on-chatspar .cat {
    animation-delay: 1.5s;
    animation-duration: 4.7s;
    animation-name: slideup3;
}

.impress-on-chatspar .unicorn,
.impress-on-chatspar .unicorn-1,
.impress-on-chatspar .unicorn-2,
.impress-on-chatspar .unicorn-3,
.impress-on-chatspar .cat,
.impress-on-chatspar .cat-1,
.impress-on-chatspar .cat-2,
.impress-on-chatspar .cat-3 {
    transform: translate(0%, 0%);
}

.impress-on-chatspar .cat-3,
.impress-on-chatspar .unicorn-1 {
    bottom: 0; left: 50%;
    animation-name: slideup1;
}

.impress-on-chatspar .cat-1,
.impress-on-chatspar .unicorn-2 {
    animation-name: slideup;
}

.impress-on-chatspar .cat-2,
.impress-on-chatspar .unicorn-3 {
    top: 50%; left: 0;
    opactiy: 1;
    /*animation-name: slideup3;*/
}


@keyframes slideup {
  0 {
    transform: translate(-100%, -100%);
  }

  10% {
      opacity: 1;
  }

  50% {
      transform: translate(100%, 100%);
  }

  100% {
    opacity: .7;
    transform: translate(500%, -100%);
  }
}

@keyframes slideup {
  0 {
    transform: translate(-100%, -100%) scale(.4);
  }

  10% {
      opacity: 1;
  }

  50% {
      transform: translate(100%, 100%) scale(.8);
  }

  100% {
    opacity: .7;
    transform: translate(500%, -100%) scale(.5);
  }
}

@keyframes slideup1 {
  0 {
    transform: translate(-100%, -100%);
  }

  15% {
      opacity: 1;
  }

  50% {
      transform: translate(100%, 100%) rotate(-90deg);
  }

  100% {
    opacity: .7;
    transform: translate(-300%, -100%) rotate(-90deg);
  }
}

@keyframes slideup3 {
  0 {
    transform: translate(0, 50%);
  }

  15% {
      opacity: 1;
  }

  75% {
      opacity: .7;
  }

  100% {
    opacity: .2;
    transform: translate(500%, 50%) scale(.2);
  }
}


.fallback-message {
    font-family: sans-serif;
    line-height: 1.3;

    width: 780px;
    padding: 10px 10px 0;
    margin: 20px auto;

    border: 1px solid #E4C652;
    border-radius: 10px;
    background: #EEDC94;
}

.fallback-message p {
    margin-bottom: 10px;
}

.impress-supported .fallback-message {
    display: none;
}

.step {
    position: relative;
    width: 980px;
    padding: 40px;
    margin: 20px auto;

    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    -ms-box-sizing:     border-box;
    -o-box-sizing:      border-box;
    box-sizing:         border-box;

    font-family: georgia, serif;
    font-size: 36px;
    line-height: 1.5;
}

.step > h2 {
    font-size: 90px;
}

.impress-enabled .step {
    margin: 0;
    opacity: 0.1;

    -webkit-transition: opacity 1s;
    -moz-transition:    opacity 1s;
    -ms-transition:     opacity 1s;
    -o-transition:      opacity 1s;
    transition:         opacity 1s;
}

.impress-enabled .step.active { opacity: 1 }

.slide {
    display: block;

    width: 900px;
    /*height: 700px;*/
    padding: 40px 60px;

    color: rgb(102, 102, 102);
    text-shadow: 0 2px 2px rgba(0, 0, 0, .1);

    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -1px;
}

#intro {
    text-align: center;
}

#intro h1 {
    font-size: 110px;
    line-height: 1;
}

#intro h1 strong {
    display: block;
    line-height: .9;
    color: #000;
}

#intro h1 small {
    font-size: 60px;

}

#intro h1 small:last-child {
    font-size: 30px;
    opacity: .6;
}

#menu li + li { margin-top: 20px }

#menu h2 {
    position: relative;
    font-size: 60px;
    color: #000;
    min-height: 120px;
    line-height: 120px;
    padding-left: 130px;

    -webkit-transform: translateZ(50px);
    -moz-transform:    translateZ(50px);
    -ms-transform:     translateZ(50px);
    -o-transform:      translateZ(50px);
    transform:         translateZ(50px);
}

#menu h2:before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    content: '';
    display: inline-block;
    width: 100px;
}

h2.ico-open-source::before {
    background-image: url(../img/noun_8233.png);
}

h2.ico-chiffrement::before {
    background-image: url(../img/noun_228830_cc.png);
}

h2.ico-permissionless::before {
    background-image: url(../img/noun_100425_cc.png);
}

#menu h2.ico-p2p::before {
    background-image: url(../img/noun_154437_cc.png);
}

.slide-bg {
    /*background: #fff;*/
    -webkit-transform: translateZ(50px);
    -moz-transform:    translateZ(50px);
    -ms-transform:     translateZ(50px);
    -o-transform:      translateZ(50px);
    transform:         translateZ(50px);
}

.slide-bg-img {
    position: absolute;
    left: 0; top: 50%;
    transform: translate(-70%, -20%);
    opacity: .2;
    z-index: -1;
}

#open-source .slide-bg-img { transform: translate(-60%, -35%); }
#permissionless .slide-bg-img { transform: translate(-60%, -25%); }

#chatspar {
    text-align: center;
}

#chatspar img {
    max-width: 80%;
}

#chatspar small {
    opacity: .5;
    font-size: 70%;
}



.impress-enabled          { pointer-events: none }
.impress-enabled #impress { pointer-events: auto }
