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

img {
    display: block;
}

/*
    Now here is when interesting things start to appear.

    We set up <body> styles with default font and nice gradient in the background.
    And yes, there is a lot of repetition there because of -prefixes but we don't
    want to leave anybody behind.
*/
body {
    font-family: 'Roboto Slab';
    min-height: 7400px;
    background: #676767;
    color: #eee;
}

/*
    Now let's bring some text styles back ...
*/
b, strong {
    font-weight: bold
}

i, em {
    font-style: italic
}

code {
    font-family: monospace;
    background: #333;
    padding: 0 5px;
    margin: 0 2px;
    border-radius: 3px;
}

/*
    ... and give links a nice look.
*/
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);
}

/*
    Because the main point behind the impress.js demo is to demo impress.js
    we display a fallback message for users with browsers that don't support
    all the features required by it.

    All of the content will be still fully accessible for them, but I want
    them to know that they are missing something - that's what the demo is
    about, isn't it?

    And then we hide the message, when support is detected in the browser.
*/

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

/*
    Now let's style the presentation steps.

    We start with basics to make sure it displays correctly in everywhere ...
*/

.step {
    position: relative;
    width: 1200px;
    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-size: 48px;
    line-height: 1.5;
}

/*
    ... and we enhance the styles for impress.js.

    Basically we remove the margin and make inactive steps a little bit transparent.
*/
.impress-enabled .step {
    margin: 0;
    opacity: 0;
    opacity: 0.95;

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

/* The side of the cube */
.cube-side {
    display: block;
    padding: 20px 20px;

    background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 500, from(rgb(193, 240, 252)), to(rgb(158, 221, 247)));
    background: radial-gradient(circle, rgb(205, 252, 249), rgb(153, 203, 247));
    box-shadow: inset 0px 0px 20px 5px rgb(119, 183, 195);
    width: 850px;
    height: 850px;

    n-border: 1px solid rgba(0, 0, 0, .3);
    n-border-radius: 5px;
    n-box-shadow: 4px 4px 12px rgba(0, 0, 0, .3);
}

.cube-text {
    padding: 20px 20px;
    display: block;
    width: 850px;
    height: 850px;
}



/* The thing we present on */
.slide {
    display: block;

    padding: 100px 100px;

    width: 750px;
    height: 750px;

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

    font-size: 28px;
    line-height: 32px;
    letter-spacing: 0px;
}

/* the pop out slides that are */
.pop-out-slide {
    display: block;

    width: 1080px;
    height: 700px;
    padding: 20px 20px;

    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);

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

    font-size: 28px;
    line-height: 32px;
    letter-spacing: 0px;
}

p {
    font-size: 30px;
    margin: 30px 20px;
}

.title h1 {
    margin-top: 50px;
    line-height: 100px;
    font-size: 50px;
    font-weight: bold;
    text-align: left;
}

.title h2 {
    color: #aaa;
    font-size: 45px;
    padding-left: 30px;
    text-align: left;
}

.cube-side h2, .cube-text h2 {
    margin-top: 60px;
    line-height: 100px;
    font-size: 50px;
    font-weight: bold;
}

.cube-side p, .cube-text p {
    font-size: 40px;
    margin: 30px 20px;
    color: inherit;
}

h2 {
    font-size: 34px;
    text-align: center;
}

svg.fadein {
    opacity: 0;
}

svg .link {
    fill: none;
    stroke-linejoin: round;
    stroke: #eee;
    stroke-width: 5px;
    stroke-dasharray: 5, 30;
}

.past .real-fade, .future .real-fade {
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.present .real-fade {
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.present svg.fadein {
    -webkit-transition-delay: 2s;
    -webkit-transition-duration: 1s;
    -webkit-transition-property: opacity;
    opacity: 1;
}

.footnote {
    position: absolute;
    bottom: 0px;
    right: 50px;
    font-size: 32px;
    color: #aaa;
}

.screen {
    border: 1px solid #333;
    border-radius: 5px;
    display: block;
    background: #eee;
    width: 900px;
    height: 700px;
    padding: 15px 15px;
}

pre {
    color: #fffc99;
    padding: 10px;
    font-size: 18px;
    font-family: monospace;
    border-radius: 20px;
    background: #555; /* Old browsers */
}

#function pre {
    display: inline-block;
    border-radius: 8px;
    width: 340px;
    line-height: 50px;
    height: 50px;
    margin-bottom: 10px;
    position: relative;
}

#function svg {
    width: 440px;
    height: 120px;
    position: relative;
    top: 55px;
}

#functioncontext svg {
    width: 800px;
    height: 140px;
}

#overview {
    display: none
}

.impress-enabled {
    pointer-events: none
}

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

.no-support-message {
    display: none;
}

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

