@import url(http://fonts.googleapis.com/css?family=Fredericka+the+Great|Amethysta|Nunito:400,300,700);

body {
    font-family: 'Amethysta', 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:      -o-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
    background:         radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
    */
    background-image: url(../img/bg.png);
    background-color: rgba(70, 130, 180, 0.1);

    -webkit-font-smoothing: antialiased;
}

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 {
    background: rgba(255,255,255,1);
    text-shadow: -1px -1px 2px rgba(100,100,100,0.5);
}

/* COMMON STEP STYLES */

.step {
    width: 900px;
    padding: 40px;

    -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-size: 48px;
    line-height: 1.5;
    color: #333;
}

.title {
    font-family: 'Fredericka the Great', sans-serif;;
    color: #222;
    font-weight: normal;
}

h3.title {
    font-size: 72px;
    text-transform: uppercase;
}

ul {
    list-style-type: circle;
    list-style-position: outside;
}

.support {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 500px;
    z-index: 5000;
    display: block;
    background: #333;
}

/* fade out inactive slides */

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

.step:not(.active) {
    opacity: 0.1;
}

.step.zero:not(.active) {
    opacity: 0;
}

#impress.step-overview .step.no-overview {
    opacity: 0;
}

/* STEP SPECIFIC STYLES */

/* hint on the first slide */

.hint {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 200px;

    background: rgba(70, 130, 180, 0.5);
    color: #222;
    text-align: center;

    font-size: 50px;
    padding: 20px;

    z-index: 100;

    opacity: 0;

    -webkit-transform: translateY(400px);
    -moz-transform:    translateY(400px);
    -ms-transform:     translateY(400px);
    -o-transform:      translateY(400px);
    transform:         translateY(400px);

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

.step-intro + .hint {
    opacity: 0.8;

    -webkit-transition: opacity 1s 5s, -webkit-transform 0.5s;
    -moz-transition:    opacity 1s 5s,    -moz-transform 0.5s;
    -ms-transition:     opacity 1s 5s,     -ms-transform 0.5s;
    -o-transition:      opacity 1s 5s,      -o-transform 0.5s;
    transition:         opacity 1s 5s,         transform 0.5s;

    -webkit-transform: translateY(0px);
    -moz-transform:    translateY(0px);
    -ms-transform:     translateY(0px);
    -o-transform:      translateY(0px);
    transform:         translateY(0px);
}

/* impress.js title */


/* CUSTOM */
#intro h1, #thankyou h1 {
    text-align: center;
    position: absolute;
    width: 780px;
    font-size: 128px;
    top: 45%;
}

#intro footer {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    color: #111;
}

#title h2 {
    font-size: 84px;
    width: 600px;
    font-weight: 400;
    color: #222;
}

#summary li {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    margin-left: 44px;
}

#summary span {
    font-family: 'Amethysta', serif;
    font-weight: 300;
    font-size: 50%;
    display: block;
}

#demo-intro, #what-intro, #why-intro, #how-intro, #discussion  {
    width: 600px;
    text-align: right;
    font-size: 60px;
    line-height: 1;
}

#demo-intro b, #what-intro b, #why-intro b, #how-intro b, #discussion b {
    font-family: 'Nunito', sans-serif;
    display: block;
    font-size: 200px;
    line-height: 250px;
}

#demo, #what, #what-technologies, #why {
    width: 500px;
    text-align: left;
    font-size: 32px;
}

#what1, #what2 {
    width: 900px;
    font-size: 24px;
}

#what1 p, #what2 p, #smart p {
    margin-bottom: 20px;
}

#what1 p:first-child {
    font-size: 42px;
}

#what2 p:first-child {
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
    font-size: 50px;
}

#demo b, #what1 .etc {
    font-family: 'Nunito', sans-serif;
    font-size: 150%;
    font-weight: bold;
    display: block;
}

#demo b {
    display: inline;
}

#why {
    width: 700px;
}

#what-technologies {
    width: 800px;
    position: relative;
}

#what b, #what-technologies b, #why b {
    font-family: 'Nunito', sans-serif;
    display: block;
    font-size: 80px;
    -webkit-transition: 0.5s;
    -moz-transition:    0.5s;
    -ms-transition:     0.5s;
    -o-transition:      0.5s;
    transition:         0.5s;
}

#what-technologies b {
    font-size: 48px;
    display: inline;
}

#what.active b {
    -webkit-transform: rotate(-3deg);
    -moz-transform:    rotate(-3deg);
    -ms-transform:     rotate(-3deg);
    -o-transform:      rotate(-3deg);
    transform:         rotate(-3deg);

    -webkit-transition-delay: 1.75s;
    -moz-transition-delay:    1.75s;
    -ms-transition-delay:     1.75s;
    -o-transition-delay:      1.75s;
    transition-delay:         1.75s;

}

#what-technologies p:last-child {
    font-size: 120px;
    font-family: 'Fredericka the Great', sans-serif;;
    position: absolute;
    right: 125px;
    bottom: 0;
}

#smart {
    width: 800px;
    font-size: 42px;
}

#smart p:nth-child(2) {
    font-size: 32px;
}

#smart p:last-child {
    font-size: 24px;
    margin-top: 40px;
}

#smart sup {
    font-size: 80%;
    margin: auto 10px;
}

#smart span {
    font-family: 'Nunito', sans-serif;
    font-size: 48px;
    font-weight: bold;
}

pre, code {
    font-family: 'Droid Sans Mono', monospace;
    font-size: 20px;
    line-height: 1.1;
    color: #999;
    text-shadow: none;
}

#code-exampe .vs {
    font-family: 'Nunito', sans-serif;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
}

#code-exampe .oh-yeah-promise {
    opacity: 0;
}

#code-exampe.active .oh-yeah-promise {
    font-family: 'Nunito', sans-serif;
    text-align: center;
    font-size: 40px;
    font-weight: 400;

    opacity: 1;

    -webkit-transition-delay: 10s;
    -moz-transition-delay:    10s;
    -ms-transition-delay:     10s;
    -o-transition-delay:      10s;
    transition-delay:         10s;
}

#advantages p:first-child {
    font-size: 60%;
}

#advantages p:nth-child(2) {
    font-family: 'Nunito', sans-serif;
}

#advantages b {
    display: inline-block;
    -webkit-transform: translateZ(40px);
    -moz-transform:    translateZ(40px);
    -ms-transform:     translateZ(40px);
    -o-transform:      translateZ(40px);
     transform:        translateZ(40px);

    -webkit-transition: 0.5s;
    -moz-transition:    0.5s;
    -ms-transition:     0.5s;
    -o-transition:      0.5s;
    transition:         0.5s;
}
#advantages span {
    font-size: 60%;
}

#client-side h3.title,
#server-side h3.title,
#some-links h3.title{
    font-size: 60px;
    margin-bottom: 30px;
}

#client-side p b,
#server-side p b {
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
    font-size: 150%;
}

#demo-client-code img,
#demo-server-code img {
    display: block;
    border: 5px solid #fff;
    -moz-box-shadow: 0 0 10px #666;
    -webkit-box-shadow: 0 0 10px #666;
    box-shadow: 0 0 10px #666;
    margin: 20px auto 0 auto;
}


#some-links p {
    margin-top: 40px;
}

#some-links b {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: #222;
}

#some-links hr {
    margin: 40px auto;
    width: 40%;
    display: block;
}

/* overview step */

#overview {
    z-index: -1;
    padding: 0;
}

/* on overview step everything is visible */

#impress.step-overview .step {
    opacity: 1;
    cursor: pointer;
}

/*
 * SLIDE STEP STYLES
 *
 * inspired by: http://html5slides.googlecode.com/svn/trunk/styles.css
 *
 * ;)
 */

.slide {
    display: block;

    width: 900px;
    height: 700px;

    padding: 40px 60px;

    border-radius: 10px;

    background-color: white;

    box-shadow: 0 0 6px #ccc;

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

    font-size: 30px;
    line-height: 36px;

    letter-spacing: -1px;

    position: relative;
}

.slide q {
    display: block;
    font-size: 50px;
    line-height: 72px;

    margin-top: 100px;
}

.slide q strong {
    white-space: nowrap;
}


/* IMPRESS NOT SUPPORTED STYLES */

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

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

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

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

.impress-not-supported .step {
    position: relative;
    opacity: 1;
    margin: 20px auto;
}

.impress-not-supported .fallback-message {
    display: block;
}

