@charset "UTF-8";

/* Parallax base styles
--------------------------------------------- */

.parallax {
    height: 500px; /* fallback for older browsers */
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-perspective: 300px;
    perspective: 300px;
}

.parallax__group {
    position: relative;
    min-height: 500px; /* fallback for older browsers */
    min-height: 100vmin;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.parallax__layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
}

.parallax__layer--fore {
    -webkit-transform: translateZ(40px) scale(.87);
    transform: translateZ(40px) scale(.87);
    z-index: 1;
}

.parallax__layer--base {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    z-index: 4;
}

.parallax__layer--back-light {
    -webkit-transform: translateZ(-100px) scale(1.5);
    transform: translateZ(-100px) scale(1.5);
    z-index: 3;
}

.parallax__layer--back {
    -webkit-transform: translateZ(-200px) scale(2);
    transform: translateZ(-200px) scale(2);
    z-index: 1;
}

.parallax__layer--deep {
    -webkit-transform: translateZ(-300px) scale(2);
    transform: translateZ(-300px) scale(2);
    z-index: 0;
}

/* portrait */
@media all and (orientation: portrait) { 
    #group1 .parallax__layer--deep {
        transform-origin: 50% 67%;
    }
    #group3 .parallax__layer--back, #group5 .parallax__layer--back {
        -webkit-transform: translateZ(-200px) scale(1.67);
        transform: translateZ(-200px) scale(1.67);
    }
}


/* demo styles
--------------------------------------------- */

body, html {
    overflow: hidden;
}

body {
    font-family: 'LatoWebLight', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #fff;
    background-color: #000617;
}

h1 {
    font-size: 250%;
    color: #45e3ff;
    text-shadow: -1px 1px 8px #45e3ff;
    text-align: center;
}

h2 {
    text-align: center;
    color: #ac1500;
    padding: 0 0 3vmax;
    font-size: 1.8rem;
    text-shadow: -1px -2px 8px #000617;
}
.claim {
    font-size: 2rem;
    padding: 3vmax 0 4.5vmax;
    text-transform: uppercase;
    font-style: italic;
}
h2:first-child {
    padding-top: 6vmax;
}

p {
    font-size: 1.4rem;
    line-height: 1.5;
    color: #fff;
    padding: 1.5vmax 0;
}
p:last-child {
    padding-bottom: 6vmax;
}

* {
    margin:0;
    padding:0;
}

.title > * {
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
    display: block;
}

.imgs {
    padding: 1.5vmax 0;
    width: 100%;
    margin: 0;
}
.imgs img {
    width: 31%;
    margin-right: 2%;
    margin-bottom: 2%;
    display: inline-block;
    box-shadow: -2px 1px 3px rgba(69, 227, 255, 0.2), 1px -2px 3px rgba(69, 227, 255, 0.2);
    transition: box-shadow 0.25s ease-out;
}
.imgs.vpl img {
    box-shadow: -2px 1px 3px rgba(211, 39, 78, 0.33), 1px -2px 3px rgba(211, 39, 78, 0.33);
}
.imgs a:nth-child(3n+3) img {
    margin-right: 0;
}
.imgs img:hover {
    box-shadow: -2px 4px 7px #45e3ff, 3px -4px 9px #45e3ff;
}
.imgs.vpl img:hover {
    box-shadow: -2px 4px 7px #d3274e, 3px -4px 9px #d3274e;
}
.imgs.row img {
    width: 23%;
}
.imgs.row img:last-child {
    margin-right: 0;
}

p.subtitle {
    text-align: center;
    color: #999;
    padding-top: 3vmax;
}

footer .c50 p {
    text-align: left;
    font-size: 1.2rem;
}
footer .title > div {
    text-align: center;
}
footer img {
    display: inline-block;
    width: 80%;
    margin: 10vmax auto 6vmax;
}
footer img.hr1 {
    width: auto;
    height: 1.05rem;
    margin: 0 3px;
}

footer p.subtitle {
    padding: 6vmax 0 0;
}

a:visited {
    color: #45e3ff;
}
a, a:active, a:hover {
    color: #45e3ff;
    text-decoration: none;
    transition: all 0.25s ease-out;
}

.title video {
    display: block;
    width: 800px;
    height: 450px;
    margin: 0 auto;
    box-shadow: -1px 2px 6px #45e3ff, 2px -1px 7px #d3274e;
    transition: box-shadow 0.25s ease-out;
} 
.title video:hover {
    box-shadow: -2px 4px 7px #45e3ff, 3px -4px 9px #d3274e;
}

#vpl {
    width: 220px;
    height: 220px;
    margin: 0 auto 3vmax;
    position: relative;
    z-index: 99;
}
.a-enter-vr-button {
    display: none;
}
  

/* style the buttons
--------------------------------------------- */

.arrow {
	position: relative;
    color: #fff;
    border: 1px solid #45e3ff;
    background-color: rgba(69,227,255,0.33);
    height: 48px;
    line-height: 52px; 
    display: inline-block;
    min-width: 240px;
    text-align: center;
    font-size: 1.3rem;
    box-shadow: -0px 1px 4px #45e3ff, 1px -0px 5px #d3274e;
    transform: skewX(-20deg);
}
  
.arrow:hover {
    color: #d3274e;
    box-shadow: -2px 4px 7px #45e3ff, 3px -4px 9px #d3274e;
}

.arrow:visited {
    color: #fff;
}
  
.arrow:after {
	left: 100%;
	top: 50%;
	border: solid transparent;
	/* content: " "; */
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-left-color: #45e3ff;
	border-width: 24px;
	margin-top: -24px;
    transform: scaleX(0.5);
    margin-left: -12.5px;
}
  
.arrow.left:after {
    right: 100%;
    left: auto;
	border-left-color: transparent;
	border-right-color: #45e3ff;
    margin-right: -12.5px;
}

.arrow.center {
    margin: 0 auto 1.5vmax;
}


/* style the groups
--------------------------------------------- */

#group1 {
    z-index: 2;
    padding-top: 0;
}
#group1 .parallax__layer--back-light {
    background-position: 50% 50%;
    background-size: auto 100%;
    background-image: url("../img/parallax/Rails.png");
}
#group1 .parallax__layer--back {
    background-position: 64% 55%;
    background-size: 45% auto;
    background-image: url("../img/parallax/TT2-Logo.png");
}
#group1 .parallax__layer--deep {
    background-position: center top;
    background-size: auto 101%;
    background-image: url("../img/parallax/City.jpg");
}
#group1 h1 {
    height: 0;
    width: 0;
    overflow: hidden;
}

#group2 {
    z-index: 3; 
    position: relative;
}
#group2 img {
    width: auto;
    height: auto;
    display: block;
    max-width: 800px;
    box-shadow: -1px 2px 6px #45e3ff, 2px -1px 7px #d3274e;
}

article.title {
    min-height: 100vmin;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 6;
}

.fade {
    margin: 4vw 0;
}

.fade .title {
    background-color: #000617;
    z-index: 8;
    min-height: 100vh;
}

.fade .title:before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("../img/parallax/grad-fade.png");
    background-repeat: repeat-x;
    background-size: contain;
    z-index: 3; 
}

.fade >:last-child:after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("../img/parallax/grad-fade.png");
    background-repeat: repeat-x;
    background-size: contain;
    z-index: 3; 
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipV;
}

#group3 {
    z-index: 1; 
}
#group3 .parallax__layer--back {
    opacity: 0.5;
    background-image: url("../img/screens/screen-39.jpg");
    background-size: cover;
    background-position: 30% 50%;
}

#group4 {
    z-index: 3; 
}

#group5 {
    z-index: 1; 
}

#group5 .parallax__layer--back {
    opacity: 0.5;
    background-image: url("../img/screens/screen-06.jpg");
    background-size: cover;
    background-position: 30% 50%;
}

#footer {
    z-index: 3;
    position: relative;
}

#footer .parallax__layer--back-light {
    height: 0;
}

/* mobile */
@media only screen and (max-width: 767px) {
    #group1 {
        min-height: 75vh;
        padding-top: 0;
    }
    #group1 .parallax__layer--back-light {
        background-size: auto 80%;
    }
    #group1 .parallax__layer--back {
        background-size: 70%;
    }
    #group2 img {
        max-width: 100%;
    }
    article.title {
        height: inherit;
    }
    .title p {
        padding: 3vmax;
        width: auto;
    }
    .imgs img, .title video {
        width: 90vw;
        height: inherit;
        margin: 2.5vw 5vw;
    }
    .parallax__group {
        min-height: 100vh;
        height: auto;
    }
    .fade {
        margin: 8vw 0;
    }
    .flex-cols {
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }
    .flex-cols .c50 {
        width: 100%;
        text-align: center !important;
    }
    .flex-cols .c50 a {
        display: inline-block;
        margin-bottom: 2vmax;
    }
    .arrow.left:after {
        right: auto;
        left: 100%;
        border-right-color: transparent;
        border-left-color: #45e3ff;
        margin-left: -12.5px;
    }
    footer img {
        width: 100%;
    }
    footer p.subtitle {
        text-align: left;
        padding: 3vmax;
    }
    #highscores ul li {
        min-width: 22.5vw;
    }
}

/* high res desktops */
@media only screen and (min-width: 1921px) {
    body {
        font-size: 16px;
    }
}


/* misc
--------------------------------------------- */

.flex-cols {
    display: flex;
    flex-direction: row;
    padding: 1.5vmax auto;
}
.flex-cols.center {
    justify-content: center;
}

.c50 {
    padding: 3vmax 1.5vw;
    width: 50%;
}

.c50.r {
    text-align: right;
}

img.no-webgl {
    display: none;
}
.no-webgl img.no-webgl {
    display: block;
}
.no-webgl #vpl canvas {
    display: none;
}


/* vpl page
--------------------------------------------- */

#highscores {
    background-color: rgba(255, 255, 255, 0.75);
    padding: 3vmax;
    color: #000;
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
    height: 75vh;
    display: block;
}

#highscores h1 {
    padding: 0 0 3vmax;
}

#highscores .lvl-select {
    clear: both;
}

#highscores ul li {
    list-style-type: none;
    display: inline-block;
    width: 12.1%;
    margin: .2%;
    background-color: #2B63AD;
    text-align: center;
    line-height: 36px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

#highscores ul li a {
    display: block;
    color: #fff !important;
    background-color: rgba(0, 0, 0, 0.0);
    transition: all .2s ease-in;
}
#highscores ul li:hover a {
    background-color: rgba(0, 0, 0, 0.3);
    transition: all .2s ease-in;
}

#highscores ul li a.active {
    color: #E71844 !important;
}

#highscores ol {
    width: 49.2%;
    float: left;
    margin-bottom: 1.5vmax;
    margin-left: .2%;
}

#highscores ol li {
    list-style-position: inside;
    margin-top: 2vmax;
    font-size: 1.1rem;
}

#highscores ol li span{
    float: right;
}

.vpl-scores {
    background-image: url("../img/screens/screen-21.jpg");
    background-position: center;
    background-size: cover; 
}

.vpl-scores h1, .vpl-scores h2 {
    margin: 0 auto;
    padding: 3vmax 0;
    text-shadow: none;
}

.vpl-scores #vpl {
    margin-top: -2vmax;
}

.vpl-scores h2 {
    text-align: left;
}
 
.vpl-scores #vpl {
    float: right;
    margin-bottom: 1.5vmax;
}

.lvl-screen img {
    float: right;
    width: 49.4%;
    margin-top: 1.5vmax;
    margin-right: .2%;
}
