html {
    background-color: #000;
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: white;
    overflow-x: hidden;
    box-sizing: border-box;
}

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

.wrapper {
    max-width: 1366px;
    min-width: 320px;
    width: 100%;
    padding: 0;
    overflow-x: hidden;
}

nav {
    position: fixed;
    width: 100%;
    z-index: 1;
    transition: 0.5s;
}

nav,
footer {
    padding: 0;
    text-align: center;
    border-bottom: rgba(255, 255, 255, 0.2) solid 1px;
}

footer {
    padding: 90px 0 45px 0;
}

ul {
    padding: 50px 0;
    margin: 0;
    transition: 0.5s;
}

nav ul li,
footer ul li {
    list-style: none;
    display: inline-block;
    padding: 0 10px;
    cursor: pointer;
    transition: 0.5s;
}

nav a {
    text-decoration: none;
    font-family: 'Roboto Condensed';
    font-weight: 500;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
    transition: 0.5s;
}

footer a {
    text-decoration: none;
    font-family: 'Roboto Condensed';
    font-weight: 300;
    font-size: 12px;
    color: white;
    transition: 0.5s;
}

.social div {
    text-align: center;
}

.social div img {
    width: 60px;
}

nav a:hover,
footer a:hover {
    color: #FAA628;
}

a {
    text-decoration: none;
    color: white;
}

a.selected {
    color: #01FEFC;
}

.siteTitle {
    position: absolute;
    top: -80px;
    z-index: -1;
    background-image: url(../img/title.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    height: 768px;
    max-width: 1366px;
}

.titleContainer {
    padding-top: 200px;
}

h1.gameName {
    font-family: 'Roboto Condensed';
    width: 750px;
    text-align: right;
    color: #01FEFC;
    font-size: 30px;
    line-height: 24px;
    padding-top: 320px;
}

h1 span {
    color: white;
    font-size: 14px;
    font-weight: 300;
}

h2 {
    background-image: url(../img/headline-graphics.png);
    background-repeat: no-repeat;
    background-position: center top;
    color: #01FEFC;
    text-align: center;
    font-size: 50px;
    margin: 0;
    padding-top: 40px;
    margin-bottom: 30px;
}

h3 {
    font-family: 'Roboto Condensed';
    font-size: 40px;
    margin: 0 0 20px 0;
    color: #01FEFC;
    font-weight: 400;
}

p {
    line-height: 1.5;
}

.navDecor {
    width: 100%;
    height: 19px;
    background-image: url(../img/nav-decor.png);
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    margin-top: 1px;
}

.caption {
    text-align: center;
    color: #808080;
    font-size: 12px;
    margin: 45px 0;
}

.beta {
    color: #01FEFC;
    width: 100%;
    max-width: 960px;
    text-align: center;
}

.videoBlock {
    display: grid;
    display: ms-grid;
    grid-template-columns: 1fr 462px 1fr;
    grid-template-areas: "app-store video google-play";
    width: 960px;
    text-align: center;
    align-items: center;
    padding-top: 10px;
}

.appStore {
    grid-area: app-store;
}

.googlePlay {
    grid-area: google-play;
}

.video {
    grid-area: video;
    background-image: url(../img/video-preview.png);
    background-repeat: no-repeat;
    height: 288px;
}

.video div {
    position: relative;
    top: 38%;
    cursor: pointer;
}

.videoBlock img {
    border-top: solid 1px black;
    border-bottom: solid 1px black;
    padding: 15px 0;
    transition: 0.5s;
}

.videoBlock img:hover {
    border-top: solid 1px #01FEFC;
    border-bottom: solid 1px #01FEFC;
    padding: 10px 0;
}

.playButtonFill {
    fill: #FAA628;
    transition: 1s;
}

.playButtonFill:hover {
    fill: #01FEFC;
}

#shape {
    pointer-events: none;
}

.gameFeatures {
    position: relative;
}

.gameFeatures img {
    position: absolute;
    top: 0;
    z-index: -2;
    transition: 1s;
}

.featuresBlock {
    display: grid;
    display: ms-grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    width: 960px;
    padding: 280px 0 40px 0;
}

.big {
    font-family: 'Titillium Web', sans-serif;
    font-size: 160px;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.9em;
}

.sub {
    text-transform: uppercase;
    font-size: 40px;
    line-height: 0.9em;
}

.overlay {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    transition: 1s;
    opacity: 0;
}

.videoContainer {
    width: 600px;
    height: 360px;
    transition: 1s;
}

.videoContainer img {
    width: 30px;
    height: 30px;
    position: absolute;
    top: -40px;
    right: 0;
    cursor: pointer;
}

.tint {
    background-color: rgba(0, 0, 0, 0.95);
    position: absolute;
    height: 500px;
    max-width: 1366px;
    width: 100%;
    top: 122px;
    z-index: -1;
}

.infoGrid {
    display: grid;
    display: ms-grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "spn spn sng";
    padding-bottom: 80px;
    width: 960px;
}

.spanLeft {
    grid-template-areas: "sng spn spn";
}

.infoGrid .sng {
    grid-area: sng;
    align-self: center;
    padding: 0 40px;
}

.infoGrid .span {
    grid-area: spn;
    /*grid-column: 1 / span 2;*/
}

/*.infoGrid .spanRight {
 grid-column: 2 / span 2;
 }*/
.infoGrid ul {
    padding: 0 0 0 20px;
    list-style: none;
}

.infoGrid li {
    padding: 7px 0 10px 40px;
    background-image: url(../img/bullet.svg);
    background-repeat: no-repeat;
    font-weight: 500;
}

.gridArticleAlign {
    align-self: normal;
}

.galeryGrid {
    display: grid;
    display: ms-grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 45px;
    width: 960px;
}

.galeryGrid img {
    width: 100%;
}

.decor {
    position: relative;
}

.decor:before {
    content: "";
    background-image: url(../img/block-decor.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 30px;
    position: absolute;
    top: 0;
}

.decor:after {
    content: "";
    background-image: url(../img/block-decor.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 30px;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scaleY(-1);
}

.storyBG {
    background-image: url(../img/gameplay-story.png);
    min-height: 523px;
    background-repeat: no-repeat;
}

.featuresBG {
    background-image: url(../img/game-features.png);
    min-height: 500px;
    background-repeat: no-repeat;
}

form table {
    width: 480px;
    border: none;
}

form table td {
    vertical-align: top;
    padding-bottom: 20px;
}

input,
textarea {
    width: 100%;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    padding: 10px;
    background: none;
    color: white;
    border: 1px solid #4C4C4C;
    transition: 0.5s;
}

input[type=text],
input[type=email] {
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 10px 0;
}

input[type=submit] {
    cursor: pointer;
    height: 60px;
    background-color: #01FEFC;
    color: black;
    border-radius: 2px;
    border: none;
    font-weight: 700;
}

input[type=submit]:hover {
    background-color: #FAA628;
}

textarea {
    resize: none;
    height: 150px;
}

input:focus,
textarea:focus v {
    border-color: #01FEFC;
}

select {
    font-size: 14px;
    width: 100%;
    height: 50px;
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 1px solid #4C4C4C;
    border-top: none;
    border-left: none;
    border-right: none;
    color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(../img/drop.svg);
    background-repeat: no-repeat;
    background-position: right center;
    transition: 0.5s;
}

select:hover {
    border-bottom-color: #01FEFC;
}

.cLabel {
    padding-top: 11px;
    color: #01FEFC;
}

.safeWidth {
    max-width: 960px;
}

.shift {
    padding-left: 39px;
}

.kerningShift {
    letter-spacing: -20px;
}

.center {
    margin: 0 auto;
}

.justifyCenter {
    text-align: center;
}

.centerPivot {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.spaceNone {
    margin: 0;
    padding: 0;
}

.padNone {
    padding: 0;
}

.bottom0 {
    margin-bottom: 0;
}

.top0 {
    margin-top: 0;
}

.sectionPad {
    padding-top: 90px;
}

.sectionPadDouble {
    padding-top: 240px;
}

.sectionMar {
    margin-top: 90px;
}

.padL20 {
    padding-right: 20px;
}

.backgroundNone {
    background-image: none;
    padding-top: 0;
    margin-bottom: 60px;
}

.pure {
    background-image: none;
    padding-top: 0;
    margin-bottom: 0;
}

@media screen and (max-width: 670px) {
    nav {
        width: 100%;
    }

    ul {
        padding: 20px 0;
    }

    nav ul li {
        padding: 0 5px;
    }

    nav a {
        font-size: 12px;
    }

    .siteTitle {
        top: -30px;
        height: 420px;
        background-size: cover;
    }

    h1.gameName {
        width: 100%;
        text-align: center;
        padding-top: 220px;
    }

    h2 {
        font-size: 30px;
        background-size: contain;
    }

    h3 {
        font-size: 26px;
    }

    .videoBlock {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 90px;
        grid-template-areas: "video video" "app-store google-play";
        width: 100%;
    }

    .video {
        background-size: contain;
        background-position: center;
    }

    .gameFeatures {
        width: 100%;
        overflow-x: hidden;
    }

    .gameFeatures img {
        width: 150%;
        left: 10px;
        top: 70px;
    }

    .featuresBlock {
        width: 100%;
        padding-top: 150px;
    }

    .big {
        font-size: 60px;
    }

    .sub {
        font-size: 16px;
    }

    .tint {
        top: 60px;
    }

    .titleContainer {
        padding-top: 120px;
    }

    .infoGrid {
        width: 100%;
        grid-template-columns: 100%;
        grid-template-rows: auto auto;
        grid-row-gap: 40px;
        grid-template-areas: "spn" "sng";
        padding: 0 20px 60px 20px;
    }

    .spanLeft {
        grid-template-areas: "spn" "sng";
    }

    .infoGrid .sng {
        align-self: center;
        padding: 0;
        width: 100%;
    }

    .infoGrid .span,
    .infoGrid img {
        width: 100%;
    }

    .storyBG,
    .featuresBG {
        background-position: top;
        padding-bottom: 0;
    }

    .galeryGrid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .videoContainer {
        width: 100%;
    }

    .videoContainer img {
        top: unset;
        bottom: 20px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.7);
        border-radius: 25px;
        padding: 5px;
        width: 50px;
        height: 50px;
    }

    .sectionPadDouble {
        padding-top: 250px;
    }

    .kerningShift {
        letter-spacing: -8px;
    }

    .shift {
        padding-left: 17px;
    }

    .sectionPad {
        padding-top: 30px;
    }

    .sectionMar {
        margin-top: 30px;
    }
}