@font-face {
    font-family: 'Reckoner';
    src: url('../themes/eon-war/assets/fonts/Reckoner.eot?#iefix') format('embedded-opentype'),  url('../themes/eon-war/assets/fonts/Reckoner.woff') format('woff'), url('../themes/eon-war/assets/fonts/Reckoner.ttf')  format('truetype'), url('../themes/eon-war/assets/fonts/Reckoner.svg#Reckoner') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Reckoner';
    src: url('../themes/eon-war/assets/fonts/Reckoner.woff2') format('woff2'),
        url('../themes/eon-war/assets/fonts/Reckoner.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'ReckonerBold';
    src: url('../themes/eon-war/assets/fonts/ReckonerBold.woff2') format('woff2'),
        url('../themes/eon-war/assets/fonts/ReckonerBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Ropa Sans', sans-serif;
    color: #fff;
    background: url(/storage/app/media/design/bg.jpg) top center no-repeat #000;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6rem;
}

.container {
    display: block;
    max-width: 831px;
    width: 95%;
    margin: 0 auto;
    position: relative;
}

a {
    color: #fdf9a8;
}

img {
    max-width: 100%;
}

nav {
    text-align: right;
    position: relative;
    padding-top: 1rem;
    font-size: 0.75rem;
}

@media screen and (max-width: 500px) {
    nav {
        font-size: 0.6rem;
        text-align: center;
    }
}

nav a {
    color: #fdf9a8;
    font-family: 'Reckoner';
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
}

header, main, footer {
    display: block;
    position: relative;
}

header {
    padding-top: 40px;
    position: relative;
}

header img {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

header .logo {
    position: absolute;
    top: 20px;
    max-width: 625px;
    left: 0;
    z-index: 2;
}

header .logo img {
    width: 100%;
}

header #explosions {
    position: absolute;
    top: 0;
    right: 0;
    width: 370px;
    z-index: 0;
}

header #explosions img {
    position: absolute;
    animation: rotate 5s infinite;
    animation-timing-function: linear;
}

header #explosions img:nth-child(1) {
    top: 70px;
    left: 0;
    opacity: 0.5;
}

header #explosions img:nth-child(2) {
    top: 60px;
    right: 50px;
    width: 100px;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
        opacity: 0;
    }
    30% {
        opacity: 0.2;
    }
    70% {
        opacity: 0;
    }
    90% {
        opacity: 0.1;S
    }
    100% {
        transform: rotate(360deg);
        opacity: 0;
    }
}

main {
    background: url(/storage/app/media/design/border.png) top left repeat-y;
    background-size: cover;
}

main .content {
    position: relative;
    width: 92.8%;
    left: 2%;
}

#leaderboard {
    margin-top: -27.1%;
    width: 89.6%;
    position: relative;
    left: 3.4%;
}

#leaderboard img {
    width: 100%;
}

#leaderboard p {
    color: #fff4f4;
    text-shadow: #ff2c0d 0px 0px 10px;
    position: absolute;
    bottom: -20px;
    font-family: 'Reckoner';
    z-index: 1;
    left: 2.5%;
    font-size: 3rem;
}

#leaderboard p a {
    display: inline-block;
    margin-top: 1rem;
    color: #fff4f4;
    text-decoration: none;
    border-bottom: #fff4f4 2px dotted;
    font-size: 0.75rem;
}

@media screen and (max-width: 500px) {
    #leaderboard p {
        font-size: 1rem;
        bottom: 0;
    }
    #leaderboard p a {
        margin-top: 0;
        font-size: 0.5rem;
    }
}

main {
    background: url(/storage/app/media/design/border.png) top left repeat-y;
    background-size: contain;
    margin-top: -10%;
    padding-top: 9%;
}

@media screen and (max-width: 650px) {
    main {
        margin-top: -13vw;
    }
}

main .content {
    width: 89.6%;
    position: relative;
    left: 3.4%;
}

main #video, iframe {
    width: 100%;
    height: 55vw;
    max-height: 400px;
}

main .inner {
    padding: 1rem;
    width: 100%;
    min-height: 400px;
}

.item img {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .item {
        display: block;
        width: 95%;
    }
}

.rotator {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.rotator .pagination {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.rotator .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.rotator .image.active {
    opacity: 1;
}

.rotator .image a, .rotator .image img {
    display: block;
    width: 100%;
    height: 100%;
}

.rotator .pagination button {
    border-radius: 100%;
    border: #fff 1px solid;
    background: none;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    transition: all 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0);
    outline: none;
}

.rotator .pagination button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.rotator .pagination button.active {
    background-color: rgba(255, 255, 255, 1);
}

#screenshots img {
    width: 100%;
}

.blog {
    
}

.blog h3 a {
    color: #b3a77d;
}

ul.pagination, ul.pagination li {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
}

ul.pagination li a {
    display: inline-block;
    padding: 0.25rem 0.5rem;
}

ul.pagination li:first-of-type a {
    padding-left: 0;
}

ul.pagination li.active a {
    text-decoration: none;
}

article img {
    width: 100%;
}

h1.title, h2.title {
    font-size: 6vw;
    text-transform: uppercase;
    font-family: 'Reckoner';
    text-align: center;
}

@media screen and (min-width: 950px) {
    h1.title, h2.title {
        font-size: 3.6rem;
    }
}

.document-links {
    text-align: right;
}

.document-links a {
    padding: 0 0.5rem;
}

.document-links a:last-of-type {
    padding-right: 0;
}

@media screen and (max-width: 650px) {
    .document-links {
        text-align: center;
    }
    .document-links a {
        display: inline-block;
        width: 50px;
    }
}

.end {
    margin: 1.5rem 0;
    position: relative;
}

.end h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin: 0;
    background-color: #484848;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-family: 'Reckoner';
}

.sub-title {
    text-align: center;
    text-transform: uppercase;
}

.press-kit {
    text-align: center;
}

.press-kit input[name="email"] {
    display: none;
}

.join {
    margin-top: 1rem;
    position: relative;
}

.join img {
    position: relative;
    z-index: 2;
    width: 100%;
}

.join video {
    object-fit: fill;
    z-index: 1;
    position: absolute;
    top: 29.5%;
    left: 0.5%;
    width: calc(100% - 1%);
    height: calc(100% - 34%)
}

.join .facebook, .join .indiedb, .join .steam, .join .twitter, .join .unity {
    position: absolute;
    top: 46%;
    z-index: 3;
}

.join .indiedb, .join .facebook {
    width: 8%;
    top: 47%;
}

.join .indiedb {
    left: 10%;
}

.join .unity, .join .twitter {
    width: 9%;
    top: 47%;
}

.join .unity {
    left: 26%;
}

.join .twitter {
    right: 26%;
}

.join .steam {
    left: 50%;
    transform: translateX(-50%);
    width: 12%;
}

.join .facebook {
    right: 10%;
}

#team h1, #team h2 {
    font-family: 'Reckoner';
    font-size: 2rem;
    clear: both;
}

#team h2 {
    padding-top: 1rem;
    line-height: 3rem;
}

#team .member {
    display: block;
    width: 25%;
    text-align: center;
    vertical-align: top;
    float: left;
    padding: 0 1rem;
}

@media screen and (max-width: 650px) {
    #team .member {
        float: none;
        width: 100%;
    }
}

#team .member img {
    border-radius: 100%;
}

#team .member p {
    margin-top: 0;
}

#team .member .name {
    font-family: 'Reckoner';
    margin-bottom: 0;
    font-size: 1.5rem;
}

#team .header {
    margin: 1.5rem 0;
    clear: both;
}

#team .member.fallen {
    width: 33.3%;
}

@media screen and (max-width: 650px) {
    #team .member.fallen {
        float: none;
        width: 100%;
    }
}

#team .member.fallen img {
    border-radius: 0;
}

.parallax {
    position: absolute;
    left: -200px;
    top: 500px;
}

.parallax.ship1 {
    z-index: -2;
    left: -275px;
    top: 600px;
    width: 200px;
}

.parallax.ship2 {
    width: 75px;
    top: 590px;
    left: -150px;
    z-index: -3;
}

.parallax.ship3 {
    width: 40px;
    top: 550px;
    z-index: -4;
}

.parallax.ship4 {
    z-index: -5;
    left: inherit;
    right: -250px;
    top: 725px;
    width: 250px;
}

.parallax.ship5 {
    width: 150px;
    z-index: -6;
    left: inherit;
    right: -255px;
    top: 800px;
}

.parallax.ship6 {
    width: 75px;
    z-index: -7;
    left: inherit;
    right: -220px;
    top: 700px;
}

.aliens {
    position: absolute;
    bottom: 0;
    z-index: -1;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

@media screen and (max-width: 650px) {
    .aliens {
        display: none;
    }
}

footer {
    background: url(/storage/app/media/design/footer.png) top left no-repeat;
    background-size: 100%;
}

footer:after {
    content: '';
    display: block;
    clear: both;
}

footer .inner {
    padding: 1rem 4rem 2rem 2rem;
    color: #636363;
}

footer .inner p {
    float: left;
}

footer .inner a {
    color: #636363;
}

footer .inner img {
    float: right;
}

@media screen and (max-width: 768px) {
    footer .inner {
        padding: 0.4rem 0 2rem 0;
        color: #636363;
        margin: 0rem 3.5% 0 0rem;
    }
    footer .inner p, footer .inner img {
        float: none;
        margin: 0 auto 1.5rem auto;
        text-align: center;
        max-width: 75%;
        display: block;
    }
    footer .inner p {
        padding: 1rem 0;
    }
}

@media print {
    html, body {
        background: none;
        color: #000;
    }
    nav, #leaderboard, footer, .parallax, .document-links, header img, .aliens {
        display: none;
    }
    header {
        padding-top: 0;
    }
    header .logo {
        position: relative;
        top: inherit;
        left: inherit;
        text-align: center;
        margin: 0 auto;
    }
    header .logo img {
        display: block;
    }
    main {
        background: none;
    }
}