@import url('https://fonts.googleapis.com/css?family=Oswald|Pacifico');

@font-face {
    font-family: 'Transuranium';
    src:url('../fonts/Transuranium12.ttf.woff') format('woff'),
        url('../fonts/Transuranium12.ttf.svg#Transuranium12') format('svg'),
        url('../fonts/Transuranium12.ttf.eot'),
        url('../fonts/Transuranium12.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}


html, body {
    background: #111;
    color: #fff;
    font-size: 1em;
    line-height: 1.4;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

::-moz-selection {
    background: #b474d6;
    text-shadow: none;
}

::selection {
    background: #b474d6;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




/* Loading spinner */

#loader {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}

#loader::after {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 15px;
    height: 15px;
    background: #111;
    content: ' ';
    display: block;
    font-size: 0;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}



h1, h3 {
    font-family: 'Transuranium', sans-serif;
    font-weight: 100;
    text-transform: uppercase;
}

h2 {
    font-family: 'Pacifico', cursive;
    font-weight: 100;
}

p {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}



#left, #right {
    width: 50%;
    float: left;
    height: 100%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#right {
    text-align: right;
}







/* Parallax scene */

#scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    opacity: 0;
    transition: 0.5s opacity;
}

#scene.reveal {
    opacity: 1;
}

#scene > li {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: -1;
    transition: 0.5s opacity;
    opacity: 1;
}

#layer1 {
    width: 120%;
    height: 120%;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-image: url('../img/bg.jpg');
    position: absolute;
    top: -10%;
    left: -10%;
}

#layer2, #layer15 {
    width: 110%;
    height: 110%;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    position: absolute;
    top: -5%;
    left: -5%;
    opacity: .5;
}

#layer2 {
    background-image: url("../img/layer2.png");
    opacity: .2;
}
#layer15 {
    background-image: url("../img/layer1.png");
	pointer-events: none;
}




#header {
    text-align: center;
    text-shadow:
       -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
         1px 1px 0 #000,
       -2px -2px 0 #000,  
        2px -2px 0 #000,
        -2px 2px 0 #000,
         2px 2px 0 #000;
}

#header h1 {
    font-size: 6em;
    margin-bottom: 0;
}

#header h2 {
    font-size: 2.6em;
    margin: 0;
}

#details {
    text-shadow:
       -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
         1px 1px 0 #000;
}

#details h3 {
    font-size: 3em;
    margin: 0;
}

#details p {
    font-size: 1.4em;
    margin-top: 0;
}


#scene > #video {
    text-align: center;
    width: 50%;
    margin-top: 20%;
    margin-top: 40vh;
    margin-left: 25%;
    z-index: 99999;
}


a {
    color: #fff;
    text-decoration: none;
    transition: 0.2s color;
}

a:hover {
    color: #b474d6;
}



.hidden {
    display: none !important;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
