/* -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, font, 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 {
    margin: 0; padding: 0; border: 0; outline: 0; background: transparent;
}
body { line-height: 1.2; fill: currentColor;}
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
:focus { outline: 0; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }

/* Global Elements */
html { background: url( assets/spaceBg3k.jpg) repeat; background-position: center 0px; background-size: 1920px; background-attachment: fixed; background-color: #0F0E3B;}
body, input, textarea { color: #fff; font: 10px/16px; font-family: resagokr, Helvetica, Arial, sans-serif; text-align: center;}
pre, code { font: 12px Monaco,monospace; line-height: 20px; }
blockquote { color: #999; font-style: italic; margin-bottom: 20px; padding-left: 10px; }
table { font-size: 14px; line-height: 20px; margin: 0 0 22px 0; text-align: left; }
caption { text-align: left; }
tr { border-bottom: 0; }
th, td { padding: .7em 1.25em; }
hr { background-color: #444; border: 0; color: #999; height: 1px; margin-bottom: 20px; }
a:link, a:visited { color: #6E3240; text-decoration: none; transition: color .25s, background .25s; -webkit-transition: color .25s, background .25s;}
a:focus, a:hover, a:active { color: #fff; text-shadow: 0 0 2px #fafaae, 0 0 5px #00f41c}
h1, h2, h3, h4, h5, h6 {  font-weight:normal; clear:both; }
h1, h2 {font-family: greatLakes, Helvetica, sans-serif; letter-spacing: 2px;}

/* General */
.hidden {
    display: none;
}

.clickThru {
    pointer-events: none;
}

#wrapper {
    overflow-x: hidden;
}

.noScript {
    margin-top: 336px;
    opacity: 0;
}
/* Main CSS */

/******-------------------- Header --------------------*****/
#header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 64px;
    background: url( assets/headerBarBgTile.png) repeat center center/contain;
    font-size: 0;
    vertical-align: top;
}

.barCap {
    position: absolute;
    width: 40px;
    height: 64px;
    top: 0;
}
    
    .capLeft {
        background: url( assets/headerBarBgCap.png) no-repeat center center/100% 100%;
        left: 0;
    }

    .capRight {
        background: url( assets/headerBarBgCapB.png) no-repeat center center/100% 100%;
        right: 0;
    }

#headContainer {
    position: relative;
    max-width: 1100px;
    width: 100%;
    height: 0;
    margin: 0 auto;
    text-align: center;
}

    .links {
    position: relative;
    top: 0;
    height: 0;
    margin: 48px 0 0px auto;
    left: 0;
    padding: 0;
    text-align: center;
    }
        
        .links li {
        display: inline-block;
        list-style: none;
        pointer-events: auto;
        }
            .links a, .links a:visited {
            margin: 0px 8px;
            font-size: 0px;
            text-decoration: none;
            padding: 48px 0 0 48px;
            -webkit-transition: margin .5s; /* Chrome, Safari, Opera */
            transition: margin .5s;
            }

                .links a.shifted, .links a:visited.shited {
                margin: 0 4px;
                }

            .links .pl a, .links .pl a:visited{
                background: url( assets/menuPlay00.png) no-repeat center/contain;
                padding-left: 92px;
            }
        
                .links .pl a:focus, .links .pl a:hover, .links .pl a:active {
                    background: url( assets/menuPlay01.png) no-repeat center/contain;
                }

            .links .dv a, .links .dv a:visited{
                background: url( assets/menuDevlog00.png) no-repeat center/contain;
                padding-left: 132px;
            }
        
                .links .dv a:focus, .links .dv a:hover, .links .dv a:active {
                    background: url( assets/menuDevlog01.png) no-repeat center/contain;
                }

            .links .ps a, .links .ps a:visited{
                background: url( assets/menuPress00.png) no-repeat center/contain;
                padding-left: 156px;
            }
        
                .links .ps a:focus, .links .ps a:hover, .links .ps a:active {
                    background: url( assets/menuPress01.png) no-repeat center/contain;
                }

            .links .fb a, .links .fb a:visited{
                background: url( assets/menuFb00.png) no-repeat center/contain;
            }
        
                .links .fb a:focus, .links .fb a:hover, .links .fb a:active {
                    background: url( assets/menuFb01.png) no-repeat center/contain;
                }

            .links .tw a, .links .tw a:visited{
                background: url( assets/menuTw00.png) no-repeat center/contain;
            }
        
                .links .tw a:focus, .links .tw a:hover, .links .tw a:active {
                    background: url( assets/menuTw01.png) no-repeat center/contain;
                }

            .links .pls a, .links .pls a:visited{
                background: url( assets/menuPl00.png) no-repeat center/contain;
            }
        
                .links .pls a:focus, .links .pls a:hover, .links .pls a:active {
                    background: url( assets/menuPl01.png) no-repeat center/contain;
                }

            .links .st a, .links .st a:visited{
                background: url( assets/menuSt00.png) no-repeat center/contain;
            }
        
                .links .st a:focus, .links .st a:hover, .links .st a:active {
                    background: url( assets/menuSt01.png) no-repeat center/contain;
                }

            .links .ap a, .links .ap a:visited{
                background: url( assets/menuAp00.png) no-repeat center/contain;
            }
        
                .links .ap a:focus, .links .ap a:hover, .links .ap a:active {
                    background: url( assets/menuAp01.png) no-repeat center/contain;
                }
#headerSpace {
    display: inline-block;
    font-size: 0;
    height: 0px;
    -webkit-transition: padding .5s; /* Chrome, Safari, Opera */
    transition: padding .5s;
}

.logoIn {
    padding-left: 300px;
}

#logoHeader {
    background: url(assets/logoMedium.png) no-repeat center bottom;
    background-size: 100%;
    left: 50%;
    width: 320px;
    height: 185px;
    margin-top: -230px;
    -ms-transform: translate(-520px, 0); /* IE 9 */
    -webkit-transform: translate(-520px, 0); /* Chrome, Safari, Opera */
    transform: translate(-520px, 0);
    -webkit-transition: padding .75s; /* Chrome, Safari, Opera */
    transition: padding .75s;
}

.scrolled {
    padding-top: 174px;
}

/******-------------------- Main --------------------*****/
#main {
    margin: auto;
    max-width: 1100px;
    text-align: center;
    position: relative;
    height: 100%;
}

/*-------------------- Branding Space --------------------*/
#villainsOverlay {
    position: fixed;
    top: 76px;
    left: 50%;
    margin-left: -50%;
    width: 100%;
    height: 708px;
    background: url( assets/villainsOverlay.png) no-repeat top center;
}

/*-------------------- Container --------------------*/
#container {
    position: relative;
    float: left;
    width: 100%;
}

#parallaxBlock {
    width: 100%;
    top: 480px;
}

    .surface {
        width: 100%;
        height: 400px;
        background: url( assets/surfaceCap.png) no-repeat;
        background-position: center bottom;
        background-size: 100% 100%;
    }

    .surface.mini {
        display: none;
    }

    .surfaceTile {
            height: 180px;
            background: url( assets/surfaceTile.jpg) repeat left top;
            background-size: 100% 100%;
            color: #4F3138;
    }

    .surfaceTile.mini {
        display: none;
    }

        .surfaceTile h1 {
            font-size: 64px;
            text-shadow: 2px 0px #f2c6c2, -2px 0px #f2c6c2, 0px 2px #f2c6c2, 0px -2px #f2c6c2,
                         2px 2px #f2c6c2, 2px -2px #f2c6c2, -2px 2px #f2c6c2, -2px -2px #f2c6c2;
        }

        .surfaceText {
            padding-top: 80px;
        }

        .surfaceTile p {
            font-size: 34px;
            font-weight: 600;
        }

.box {
    width: 100%;
    padding: 10px 0;
}

    .tileSurface {
        height: 520px;
        background: url( assets/surfaceTile.jpg) repeat left top;
        background-size: 100%;
    }

    .bar {
        margin-top: -20px;
        width: 100%;
        height: 32px;
        background: url( assets/bar.png) repeat left top;
    }

        .barSurface {
            margin-top: 80px;
        }

#brandingSpace {
    height: 740px;
}


.tileShip {
    background: url( assets/tileShip.png) repeat left top;
    background-size: 33.3% auto;
}

.tileRock {
    background: url( assets/tileRock.png) repeat left top;
    background-size: 33.3% auto;
    padding-bottom: 100px;
}

    #trailer-box {
        width: 900px;
        margin: 76px auto;
        background: url( assets/boxHuge.png) no-repeat center top;
        background-size: 100%;
    }  

        #trailer-box p {
            color: #c0f5ff;
            font-family: greatLakes, Helvetica, sans-serif;
            font-size: 48px;
            letter-spacing: 2px;
            text-shadow: 2px 0px #093439, -2px 0px #093439, 0px 2px #093439, 0px -2px #093439,
                         2px 2px #093439, 2px -2px #093439, -2px 2px #093439, -2px -2px #093439;
            padding-top: 22px;
        }

            #trailer-block {
            position: relative;
            text-align: center;
            width: 840px;
            padding: 20px 0 40px 0;
            margin: 0 auto;
            }

                .video-wrapper {
                position: relative;
                height: 0px;
                /*padding-bottom: 56.25%;*/
                padding-bottom: 54%;
                }

                    .video-padding {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    left: 0;
                    top: 0;
                    }

                        .video-frame {
                        background: #000;
                        width: 100%;
                        height: 100%;
                        /*position: absolute;
                        left: 0px;
                        top: 0px;
                        height: 100%;
                        width: 100%;*/
                        }

#spaceGap {
    position: relative;
    height: 340px;
    background: url( assets/glassWindow.png) no-repeat center center/cover;
}

    #playstore, #playstore:visited {
        position: absolute;
        padding: 100px 100px;
        margin: -100px -100px;
        top: 50%;
        left: 24.6%;
        font-size: 0;
        background: url( assets/void200.png) center center/cover;
        transition: background 1s;
        -webkit-transition: background 1s;
    }

        #playstore:hover, #playstore:active, #playstore:focus {
            background: url( assets/playstore01.png) center center/cover;
        }

    #steam, #steam:visited {
        position: absolute;
        padding: 100px 180px;
        margin: -100px -180px;
        top: 50%;
        left: 50%;
        font-size: 0;
        background: url( assets/void.png) center center/cover;
        transition: background 1s;
        -webkit-transition: background 1s;
    }

        #steam:hover, #steam:active, #steam:focus {
            background: url( assets/steam01.png) center center/cover;
        }

    #apple, #apple:visited {
        position: absolute;
        padding: 100px 100px;
        margin: -100px -100px;
        top: 51%;
        left: 75.5%;
        font-size: 0;
        background: url( assets/void200.png) center center/cover;
        transition: background 1s;
        -webkit-transition: background 1s;
    }

        #apple:hover, #apple:active, #apple:focus {
            background: url( assets/apple01.png) center center/cover;
        }
        
#shipFull {
    background: url( assets/shipFull.png) center center/contain;
    padding: 200px 190px;
    width: 320px;
    margin: 0 auto;
    top: 860px;
    left: 0;
    right: 0;
}

.textBox {
    text-align: justify;
    width: 60%;
    padding: 40px 70px;
    margin: 80px auto;
    vertical-align: top;
    background: rgba(0, 0, 0, 0.6);
}

    .textBox h1 {
        margin-bottom: 30px;
        font-size: 44px;
        text-align: center;
    }

    .textBox h2 {
        font-size: 50px;
    }

    .textBox h3 {
        font-size: 24px;
        font-weight: 600;
        line-height: 1;
        margin: 6px auto 30px auto;
    }

    .textBox h4 {
        font-size: 20px;
        font-weight: 300;
        line-height: 2;
        margin: 30px 0;
    }

    .textBox p {
        display: inline-block;
        width: 46%;
        font-size: 18px;
        font-weight: 300;
        text-align: left;
        vertical-align: top;
    }

.textShip p:last-child {
    padding-left: 8%;
}

.columnViking {
    position: absolute;
    width: 80px;
    height: 100%;
    top: 0;
    overflow: hidden;
}

.colVikingCap {
    background: url( assets/columnCap01.png) no-repeat center bottom/contain;
    height: 600px;
}

.colVikingTile {
    position: relative;
    background: url( assets/columnTile01.png) repeat top left/contain;
    padding-bottom: 9999px;
}

.colLeft {
    left: -60px;
}

.colRight {
    right: -60px;
    -ms-transform: scale(-1,1); /* IE 9 */
    -webkit-transform: scale(-1,1); /* Chrome, Safari, Opera */
    transform: scale(-1,1);
}

.screens {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 40px 0;
    font-size: 0;
}

    .screens h1 {
        font-size: 64px;
        font-family: 'wendyregular';
        margin: -20px 0 0 0;
        padding: 0;
    }

    #vanillaScreens {
        
    }

    .screen {
        position: relative;
        display: inline-block;
        width: 29%;
        padding-top: 16.5%;
        margin: 16px;
        background: url( screens/loading.gif) no-repeat center center;
        background-size: 32px 32px;
    }

        .thumb {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        } 

            .screen a, .screen a:active {
                position: absolute;
                width: 100%;
                height: 100%;
                padding: 0;
                top: -1px;
                left: -1px;
                border: 1px  solid rgba(255, 255, 103, 0);
                transition: box-shadow .5s, border .5s;
                -webkit-transition: box-shadow .5s, border .5s;
            }

                #vanillaScreens a:active, #vanillaScreens a:hover, #vanillaScreens a:hover {
                    border: 1px solid #FFFF67;
                    box-shadow: 0 0 12px 3px #5EFF49;
                }

            .screen img {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
            }

        .lightbox {
            /** Default lightbox to hidden */
            opacity: 0;
            pointer-events: none;
            transition: opacity .5s;
            -webkit-transition: opacity .5s;

            /** Position and style */
            position: fixed;
            z-index: 990;
            width: 100%;
            height: 100%;
            text-align: center;
            top: 0;
            left: 0;
            background: rgba(0, 19, 78, 0.6);
            overflow: scroll;
        }

            .lightbox a {
                position: absolute;
                margin: auto;
                height: 100%;
                padding: 0 22%;
                top: 0;
                right: 0;
            }

                .lightbox a:active, .lightbox a:hover, .lightbox a:focus, {
                    box-shadow: inset 0 0 12px 3px #5EFF49;
                }

            .lightbox a:first-child {
                left: 0;
                right: initial;
            }

            .lightBack {
                left: 0;
                width: 100%;
            }

        .lightWidth {
            position: relative;
            text-align: center;
            top: 50%;
            width: 86%;
            max-width: 1280px;
            margin: 0 auto;
        }
        
            .lightPad {
                position: relative;
                height: 0px;
                padding-bottom: 56.25%;
                background: url( screens/loading.gif) no-repeat top center;
                background-size: 16px 16px;
            }

                .lightImage {
                    /** Pad the lightbox image */
                    top: -50%;
                    z-index: 999;
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    background-size: 100% 100%;
                }

        .lightPre a, .lightNex a {
            position: absolute;
            top: 0;
            left: initial;
            right: initial;
            bottom: 0;
            margin: auto;
            padding: 0;
            height: 140px;
            width: 90px;
            background: url( assets/prev00.png) no-repeat -20px center;
            background-size: auto;
        }

        .lightPre a {
            left: 0;
            transform: translate(-40px,0);
        }

            .lightPre a:active, .lightPre a:hover, .lightPre a:focus,
            .lightNex a:active, .lightNex a:hover, .lightNex a:focus {
                background: url( assets/prev01.png) no-repeat -20px center;
                background-size: auto;
            }

        .lightNex a {
            right: 0;
            transform: translate(40px,0) scale(-1, 1);
        }

        
        .lightbox:target {
            /** Remove default browser outline */
            outline: none;

            /** Unhide lightbox **/
            opacity: 1;
            pointer-events: all;
        }

#vapours {
    position: fixed;
    left: 0;
    bottom: 0;
    background: url( assets/vapours.png);
    padding: 75px 100%;
    pointer-events: none;
}


/*-------------------- Footer --------------------*/    
#footer {
    height: 100px;
    background: url( assets/headerBarBgTile.png) repeat left -2px;
    background-size: auto 108%;
    position: absolute;
    bottom: 0;
    width: 200%;
    transform: translate(-25%, 0);
}

#linkRogue {
    margin: 28px 0 26px 0;
}
    #linkRogue a, #linkRogue a:visited {
        background: url( assets/rogueSnail0.png) center center/contain;
        padding: 21px 68px;
        font-size: 0;
    }

        #linkRogue a:active, #linkRogue a:hover, #linkRogue a:focus {
            background: url( assets/rogueSnail1.png) center center/contain;
        }

#linkVisdev {
    font-family: "Novecentowide-light", Helvetica, Arial,sans-serif;
    font-size: 9px;
    color: #749796;
    letter-spacing: 1px;
}

    #linkVisdev a {
        font-weight: 600;
        color: #FFB733;
    }

            #linkVisdev a:focus, #linkVisdev a:hover, #linkVisdev a:active {
                color: #ee2a44;
                text-shadow: 0 0 0 #000;
            }

.microFooter {
    display: none;
}

/*-------------------- Branding --------------------*/
#branding {
    position: absolute;
    top: 56px;
    left: 0;
    width: 100%;
    height: 1200px;
    overflow: hidden;
}

    .parallax {
        position: absolute;
    }

    #viking01 {
        background: url(assets/viking01.png) no-repeat center center/contain;
        top: 320px;
        left: 50%;
        width: 252px;
        height: 282px;
        -ms-transform: translate(-280px, 0); /* IE 9 */
        -webkit-transform: translate(-280px, 0); /* Chrome, Safari, Opera */
        transform: translate(-280px, 0);
    }

    #logoBranding {
        background: url(assets/logoMedium.png) no-repeat center center/100% 100%;
        top: -10px;
        left: 50%;
        width: 786px;
        height: 455px;
        -ms-transform: translate(-50%, 0); /* IE 9 */
        -webkit-transform: translate(-50%, 0); /* Chrome, Safari, Opera */
        transform: translate(-50%, 0);
        opacity: 1;
    }


    #planet01 {
        background: url(assets/planetMoon.png) no-repeat center center/contain;
        top: 76px;
        left: 50%;
        width: 170px;
        height: 170px;
        -ms-transform: translate(-280px, 0); /* IE 9 */
        -webkit-transform: translate(-280px, 0); /* Chrome, Safari, Opera */
        transform: translate(-280px, 0);
    }

    #planet02 {
        background: url(assets/planetSnail.png) no-repeat center center/contain;
        top: 52px;
        left: 50%;
        width: 210px;
        height: 210px;
        -ms-transform: translate(-46px, 0); /* IE 9 */
        -webkit-transform: translate(-46px, 0); /* Chrome, Safari, Opera */
        transform: translate(-46px, 0);
    }

    #planet03 {
        background: url(assets/planetRagnarok.png) no-repeat center center/contain;
        top: 96px;
        left: 50%;
        width: 180px;
        height: 180px;
        -ms-transform: translate(200px, 0); /* IE 9 */
        -webkit-transform: translate(200px, 0); /* Chrome, Safari, Opera */
        transform: translate(200px, 0);
    }

    #viking02 {
        background: url(assets/viking02.png) no-repeat center center/contain;
        top: 360px;
        left: 50%;
        width: 226px;
        height: 300px;
        -ms-transform: translate(60px, 0); /* IE 9 */
        -webkit-transform: translate(60px, 0); /* Chrome, Safari, Opera */
        transform: translate(60px, 0);
    }

    #viking03 {
        background: url(assets/viking03.png) no-repeat center center/contain;
        top: 500px;
        left: 50%;
        width: 260px;
        height: 260px;
        -ms-transform: translate(-100px, 0); /* IE 9 */
        -webkit-transform: translate(-100px, 0); /* Chrome, Safari, Opera */
        transform: translate(-100px, 0);
    }