/* Fonts */
@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoRegular/RobotoRegular.eot");
    src: url("../fonts/Roboto/RobotoRegular/RobotoRegular.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Roboto/RobotoRegular/RobotoRegular.woff") format("woff"),
         url("../fonts/Roboto/RobotoRegular/RobotoRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoBold/RobotoBold.eot");
    src: url("../fonts/Roboto/RobotoBold/RobotoBold.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Roboto/RobotoBold/RobotoBold.woff") format("woff"),
         url("../fonts/Roboto/RobotoBold/RobotoBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoBlack/RobotoBlack.eot");
    src: url("../fonts/Roboto/RobotoBlack/RobotoBlack.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Roboto/RobotoBlack/RobotoBlack.woff") format("woff"),
         url("../fonts/Roboto/RobotoBlack/RobotoBlack.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
}

/* Base Styles */
html,
body {
    height: 100%;
}

body {
    min-width: 320px;
    font-family: "Roboto", serif;
    font-size: 16px;
    font-weight: 400;
    background-color: #2a3142;
    color: #fff;
    overflow-x: hidden; 
}

input,
select,
textarea,
button {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    background: none;
    color: #fff;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    line-height: 1;
    margin: 0;
    padding: 0;
    transition: .2s;    
}

input::-moz-focus-inner,
select::-moz-focus-inner,
textarea::-moz-focus-inner,
button::-moz-focus-inner {
    border: 0;
}

textarea {
    line-height: 24px;
    resize: none;
}

img,
iframe,
video {
    display: block;
    width: 100%;
}

a {
    color: currentColor;
    outline: none;
    text-decoration: none;
    transition: .2s;
}

h1, h2, h3,
h4, h5, h6 {
    font-weight: 700;
}

h1, .f1 {
    font-size: 32px;
    line-height: 38px;
}

h2, .f2 {
    font-size: 28px;
    line-height: 34px;
}

h3, .f3 {
    font-size: 24px;
    line-height: 30px;
}

h4, .f4 {
    font-size: 22px;
    line-height: 28px;
}

h5, .f5 {
    font-size: 20px;
    line-height: 26px;
}

h6, .f6 {
    font-size: 18px;
    line-height: 24px;
}

p {
    line-height: 24px;
}

strong {
    font-weight: 700;
}

/* Component Styles */
.button {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    background-color: rgba(255, 60, 0, .75);
    color: #fff;
    border: 2px solid #777;
    border-radius: 50px;
    text-transform: uppercase;
    padding: 21px 45px;
    transition: .2s;
    cursor: pointer;
}

.button:hover,
.button:focus {
    background-color: rgba(255, 60, 0, .85);
    
}

.button:active {
    background-color: rgba(255, 60, 0, 1);
}

.download-button {
    display: inline-block;
    position: relative;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(45deg, #555, #fff 50%, #777 55%, #fff 60%, #777 65%, #fff 70%, #7e7e7e);
    color: #fff;
    border-bottom: 4px solid #333;
    border-radius: 50px;
    box-shadow: 0 11px 16px 2px rgba(0, 0, 0, .67);
    text-shadow: 0 5px 1px rgba(0, 0, 0, .1);
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 10px 15px 15px;
    z-index: 1;
}

.download-button:before {
    position: absolute;
    width: calc(100% - 18px);
    height: calc(100% - 18px);
    content: "";
    background: inherit;
    border-radius: inherit;
    box-shadow: -1px 0 4px rgba(255, 255, 255, 1),
                0 3px 2px 1px rgba(0, 0, 0, .9);
    top: calc(50% - 4px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.download-button__link {
    display: block;
    background: linear-gradient(to bottom, #fec806, #8a2508);
    border-radius: inherit;
    box-shadow: 0 10px 6px rgba(0, 0, 0, .6);
    padding: 2px;
    transition: .2s;
    cursor: pointer;
}

.download-button__link-inner {
    position: relative;
    background: linear-gradient(to bottom, #faa106, #e73c07);
    border-radius: inherit;
    overflow: hidden;
    padding: 20px 24px;
    transition: .2s;
    z-index: 1;
}

.download-button__link-inner:before,
.download-button__link-inner:after {
    position: absolute;
    width: 100%;
    content: "";
    left: 0;
    transition: .2s;
    z-index: -1;
}

.download-button__link-inner:before {
    width: 200px;
    height: 300%;
    background: linear-gradient(90deg, transparent, #ffff00, transparent);
    opacity: .5;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(20deg);
    transform-origin: center center;
    -webkit-animation: button-shine 2s infinite ease-in-out;
            animation: button-shine 2s infinite ease-in-out;
}

@-webkit-keyframes button-shine {
    0% {
        left: -250px;
    }
    
    50%, 100% {
        left: 105%
    }
}

@keyframes button-shine {
    0% {
        left: -250px;
    }
    
    50%, 100% {
        left: 105%
    }
}

.download-button__link-inner:after {
    height: 100%;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
    top: 0;
}

.download-button__link:hover .download-button__link-inner:after,
.download-button__link:focus .download-button__link-inner:after,
.download-button__link:active .download-button__link-inner:after {
    visibility: visible;
}

.download-button__link:hover .download-button__link-inner:after,
.download-button__link:focus .download-button__link-inner:after {
    opacity: .1;
}

.download-button__link:active .download-button__link-inner:after {
    background-color: #000;
    opacity: .05;
}

/* Template Styles */
.wrapper {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    min-height: 100%;
    background-color: #0c0e13;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    overflow-x: hidden;
    margin: 0 auto;
}

.content {
    flex-grow: 1;
}

.section {
    position: relative;
}

.main {
    background-color: #121212;
    text-align: center;
    padding: 180px 0 35px;
    z-index: 1;
}

.main__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: -1;
}

.main__bg:before,
.main__bg:after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    top: 0;
    left: 0;
}

.main__bg:before {
    background-color: #121212;
    opacity: .35;
    z-index: -2;
}

.main__bg:after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background: url(../img/main_bg_shapes.png) center top no-repeat;
    top: 0;
    left: 0;
    z-index: -1;
}

.main__header {
    margin-bottom: 60px;
}

.main__logo {
    display: inline-block;
    max-width: 583px;
}

.main__title {
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 40px;
}

.main__title strong {
    display: block;
    font-weight: 900;
    color: #5f7baa;
}

.main__download-count {
    font-size: 14px;
    margin-top: 140px;
}

.main__download-count span {
    display: inline-block;
    position: relative;
    font-size: 13px;
    font-weight: 700;
    margin-left: 5px;
    padding: 5px 30px;
    z-index: 1;
}

.main__download-count span:before {
    position: absolute;
    width: 161px;
    height: 42px;
    content: "";
    background: url(../img/main_download_count_bg.png);
    top: 0;
    left: 0;
    z-index: -1;
}

.games {
    padding: 65px 0 45px;
}

.games:before {
    position: absolute;
    width: 100%;
    height: 20px;
    content: "";
    background: url(../img/section_separator_bg.jpg) center center repeat;
    box-shadow: 0 6px 13px rgba(0, 0, 0, .5);
    top: 0;
    left: 0;
}

.games__cards-container {
    max-width: none;
}

.games__cards-row {
    margin-bottom: -60px;
}

.games__cards-col {
    margin-bottom: 60px;
}

.game-card {
    position: relative;
    height: 100%;
    min-height: 480px;
    background-color: #1e1e1e;
    border-radius: 50px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, .75);
    text-align: center;
    overflow: hidden;
    padding: 4px;
    z-index: 1;
}

.game-card:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background: linear-gradient(to bottom, #565656 6%, #9d9d9d 9%, #fff 15%, #707070 24%, #484848 26%, #bdbdbd 39%, #fff 45%, #bdbdbd 55%, #484848 57%, #606060 61%, #fff 70%, #606060 80%, #fff 88%, #979797 93%, #fff 100%);
    border-radius: inherit;
    top: 0;
    left: 0;
    z-index: -1;
}

.game-card__inner {
    position: relative;
    height: 100%;
    background-color: #000;
    border-radius: inherit;
    overflow: inherit;
    padding: 0 15px 75px;
    z-index: 1;
}

.game-card__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    top: 0;
    left: 0;    
    z-index: -1;
}

.game-card__bg:before,
.game-card__bg:after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    top: 0;
    left: 0;
}

.game-card__bg:after {
    background: linear-gradient(to bottom, rgba(58, 173, 247, .3), rgba(45, 0, 60, .9));
    opacity: .5;
}

.game-card__bg img {
    height: 100%;
    -o-object-position: center center;
       object-position: center center;
    -o-object-fit: cover;
       object-fit: cover;
}

.game-card__info {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    height: 100%;
}

.game-card__description {
    margin-top: 30px;
}

.footer {
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, .05);
    text-align: center;
    padding: 60px 0;
}

.footer__link {
    display: inline-block;
    color: #3c8dd9;
}

.footer__link:hover,
.footer__link:focus,
.footer__link:active {
    opacity: .75;
}

.footer__text {
    line-height: 30px;
}

/* Media Styles */
@media (max-width: 1919px) {
    /* Base Styles */
    h1, .f1 {
        font-size: 26px;
        line-height: 32px;
    }

    h2, .f2 {
        font-size: 24px;
        line-height: 30px;
    }

    h3, .f3 {
        font-size: 22px;
        line-height: 28px;
    }

    h4, .f4 {
        font-size: 20px;
        line-height: 26px;
    }

    h5, .f5 {
        font-size: 18px;
        line-height: 24px;
    }

    h6, .f6 {
        font-size: 16px;
        line-height: 22px;
    }
}

@media (max-width: 1199px) {
    /* Base Styles */
    body {
        font-size: 14px;
    }

    input,
    select,
    textarea,
    button {
        font-size: 14px;
    }

    h1, .f1 {
        font-size: 24px;
        line-height: 30px;
    }

    h2, .f2 {
        font-size: 22px;
        line-height: 28px;
    }

    h3, .f3 {
        font-size: 20px;
        line-height: 26px;
    }

    h4, .f4 {
        font-size: 18px;
        line-height: 24px;
    }

    h5, .f5 {
        font-size: 16px;
        line-height: 22px;
    }

    h6, .f6 {
        font-size: 14px;
        line-height: 20px;
    }  

    /* Component Styles */
    .button {
        padding: 16px 30px;
    }

    .download-button {
        font-size: 16px;
        padding: 5px 10px 10px;
    }

    .download-button:before {
        width: calc(100% - 12px);
        height: calc(100% - 12px);
        top: calc(50% - 4px);
    }

    .download-button__link-inner {
        padding: 18px 20px;
    }

    /* Template Styles */
    .main__logo {
        max-width: 480px;
    }

    .main__title {
        margin-top: 30px;
    }

    .main__download-count {
        margin-top: 120px;
    }

    .game-card__description {
        margin-top: 15px;
    }      
}

@media (max-width: 991px) {
    /* Template Styles */
    .main {
        padding: 140px 0 40px;
    }

    .main__header {
        margin-bottom: 45px;
    }

    .main__download-count {
        margin-top: 90px;
    }    

    .games {
        padding: 50px 0 30px;
    }

    .games__cards-row {
        margin-bottom: -30px;
    }

    .games__cards-col {
        margin-bottom: 30px;
    }

    .game-card {
        min-height: 360px;
    }

    .game-card__inner {
        padding: 0 15px 60px;
    }

    .game-card__button {
        display: none;
    }

    .footer {
        padding: 30px 0;
    }

    .footer__text {
        line-height: 20px;
    }
}

@media (max-width: 767px) {
    /* Component Styles */
    .download-button {
        font-size: 14px;
    }

    /* Template Styles */
    .main {
        padding: 120px 0 40px;
    }

    .main__header {
        margin-bottom: 30px;
    }

    .main__logo {
        max-width: 300px;
    }   

    .main__title {
        margin-top: 15px;
    }

    .main__title strong {
        display: inline;
    }

    .main__download-count {
        margin-top: 60px;
    }        
}

@media (max-width: 575px) {
    /* Template Styles */
    .main {
        padding: 90px 0 40px;
    }
}

@media (min-width: 992px) {
    /* Template Styles */
    .games__cards-container {
        padding: 0 30px;
    }

    .games__cards-col {
        padding: 0 30px;
    }    

    .game-card__bg:before {
        background-color: #1e1e1e;
        opacity: .25;
        transition: .2s;
    }    

    .game-card__button {
        visibility: hidden;
        opacity: 0;
        margin: 45px 0 -140px;
        transition: .2s;
    }

    .game-card:hover .game-card__bg:before {
        opacity: .75;
    }

    .game-card:hover .game-card__button {
        visibility: visible;
        opacity: 1;
        margin-bottom: 0;
    }
}

@media (min-width: 1800px) {
    /* Template Styles */
    .games__cards-col {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }   
}