/* Eric Meyer's CSS Reset */
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;
}
/* End of Eric Meyer's CSS Reset */

html {
    font-size: 10px;
    height: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

@import url(http://fonts.googleapis.com/css?family=RussoOne:400,500,700|Open+Sans:800);

body {
    font: 17px/24px 'Russo One', 'Arial';
    height: 100%;
    background:#000;	
    color: #fff;
}
.wrapper {
    min-width: 320px;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}


/* Header
-----------------------------------------------------------------------------*/
.header {
    height: 30px;
}


/* Middle
-----------------------------------------------------------------------------*/
.middle {
    width: 100%;
    padding: 0 0 200px;
    position: relative;
}
.middle:after {
    display: table;
    clear: both;
    content: '';
}
.container {
    width: 50%;
    float: left;
    overflow: hidden;
    min-width: 360px;
}

a {
    color: #419BF9;
    text-decoration: none;
}

#aspect {
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 500px;
}

#dummy {
    padding-top: 100%;
}

#canvas-container {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

canvas {
    background-color: black;
}

.flip-container {
    position: relative;
    line-height: 30px;
    max-width: 460px;
    min-width: 360px;
    text-align: justify;
    perspective: 1000px;
    -webkit-perspective: 1000px; 
}

.flip-container h1 {
    font-size: 31px;
    font-size: 2.7rem;
    border-width: 0 0 1px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.flip-container h2 {
    display: inline-block;
    margin-top: 10px;
}

.flip-container:lash-chid {
    margin-right: 0;
}

.flip-container {
    min-height: 550px;
    margin-top: 30px;
}

.flip-container .front-side,
.flip-container .back-side {
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: 1.2s;
    -webkit-transition: 1.2s;
    color: #fff;
    padding: 20px;
}

.flip-container .back-side {
    /*background-color: #333;*/
    z-index: 1;
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.flip-container .front-side {
    /*background-color: #5d3696;*/
    z-index: 2;
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
}

.flip .front-side {
    transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
}

.flip .back-side {
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
}

/* Right Sidebar
-----------------------------------------------------------------------------*/
.right-sidebar {
    float: left;
    width: 50%;
    position: relative;
    min-width: 360px;
}


/* Footer
-----------------------------------------------------------------------------*/
.footer {
    height: 150px;
    margin: -150px auto 0;
    max-width: 1920px;
    min-width: 320px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.footer .bottom {
    position: absolute;
    bottom: 0;
    height: 50px;
    background: #000;
    max-width: 1920px;
    min-width: 320px;
    width: 100%;
}

.footer .moon {
    background: url('moon.png');
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    height: 45px;
    max-width: 1920px;
    min-width: 320px;
    width: 100%;
}

code {
    display: inline-block;
    font-size: 9px;
    left: 0;
    opacity: 0.7;
    overflow: hidden;
    position: absolute;
    top: -3700px;
    width: 310px;
    -moz-transform: scale(0.7) rotate(270deg);
    -webkit-transform: scale(0.7) rotate(270deg);
    -o-transform: scale(0.7) rotate(270deg);
    -ms-transform: scale(0.7) rotate(270deg);
    transform: scale(0.7) rotate(270deg);
}

.icons {
    margin: 20px 0 0 -10px;
}

.icons li {
    display: inline-block;
    margin-left: 10px;
}

.icons li img {
    width: 60px;
}

.skype {
    margin-left: -35px;
    position: relative;
    top: -14px;
    display: inline-block;
}

.arrow_box {
    animation: pulse 2s infinite;
    background: #419bf9 none repeat scroll 0 0;
    display: inline-block;
    left: 50%;
    margin: 0 0 0 -120px;
    padding: 15px;
    position: absolute;
    bottom: -10px;
}

.arrow_box:after, .arrow_box:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box:after {
    border-color: rgba(65, 155, 249, 0);
    border-bottom-color: #419bf9;
    border-width: 30px;
    margin-left: -30px;
}

.subtitle {
    opacity: 0.7;
    margin-bottom: 15px;
    margin-top: -10px;
}

@keyframes pulse {
    0% {
        bottom: -10px;
    }
    50% {
        bottom: -20px;
    }
    100% {
        bottom: -10px;
    }
}

@media screen and (max-width: 750px) {

    .flip-container {
        margin-top: -20px;
    }
    .container,
    .right-sidebar {
        width: 100%;
    }
    code {
        width: 303px;
    }
}

