﻿@charset "utf-8";
@import url(http://fonts.googleapis.com/css?family=Orbitron);

body {
    font-family: "Orbitron";
    height: 25000px;
}

#bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url("../img/bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#logo {
    position: fixed;
    left: 5%;
    top: 5%;
    background-image: url("../img/logo.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    width: 100px;
    height: 100px;
    color: black;
}

#nav {
    position: fixed;
    left: 5%;
    top: 33%;
    z-index: 10;
}

#nav li {
    margin-top: 20px;
    cursor: pointer;
    color: white;

    transition: all 2s;
}

#nav li.on {
    font-size: 50px;
    color: white;
}

section {
    position: fixed;
    width: 1200px;
    height: 700px;

    left: 50%;
    top: 50%;

    margin-left: -600px;
    margin-top: -350px;

    perspective: 1200px;
    transition: all 0.8s;
}

section > article {
    position: absolute;
    width: 100%;
    height: 100%;

    color: white;
    font-size: 100px;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;

    transition: all 1s;
}

section > article:nth-child(1) {
    transform: translateZ(0px);
    background-image: url("../img/player1.png");
}

section > article:nth-child(2) {
    transform: translateZ(-5000px);
    background-image: url("../img/player2.png");
}

section > article:nth-child(3) {
    transform: translateZ(-10000px);
    background-image: url("../img/player3.png");
}

section > article:nth-child(4) {
    transform: translateZ(-15000px);
    background-image: url("../img/player4.png");
}

section > article:nth-child(5) {
    transform: translateZ(-20000px);
    background-image: url("../img/player5.png");
}

section > article.on {
    opacity: 1;
}
