/* 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/RobotoMedium/RobotoMedium.eot");
    src: url("../fonts/Roboto/RobotoMedium/RobotoMedium.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Roboto/RobotoMedium/RobotoMedium.woff") format("woff"),
         url("../fonts/Roboto/RobotoMedium/RobotoMedium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
}

@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;
}

/* Base Styles */
html,
body {
	height: 100%;
}

body {
	min-width: 320px;
	font-family: "Roboto", serif;
	font-size: 18px;
	font-weight: 400;
	background-color: #000;
	color: #fff;
	overflow-x: hidden;	
}

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;
}

@media (max-width: 1919px) {
    body {
        font-size: 16px;
    }

    input,
    select,
    textarea,
    button {
        font-size: 16px;
    }

    h1, .f1 {
        font-size: 30px;
        line-height: 36px;
    }

    h2, .f2 {
        font-size: 26px;
        line-height: 32px;
    }

    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: 991px) {
    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 */
.link {
	color: #e73c07;
}

.link:hover,
.link:focus {
    opacity: .8;
}

.link:active {
	opacity: .6;
}

.logo {
    display: inline-block;
    max-width: 390px;
}

.button {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #e9aa06;
    border: 2px solid #e9aa06;
    border-radius: 50px;
    text-transform: uppercase;
    padding: 21px 35px;
    transition: .2s;
    cursor: pointer;
}

.button:hover,
.button:focus,
.button:active {
    color: #000;
}

.button:hover,
.button:focus {
    background-color: #e9aa06;
    
}

.button:active {
    background-color: #d09805;
}

.download-button {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    background-color: #fff;
    color: #fff;
    border-bottom: 4px solid #747474;
    border-radius: 50px;
    box-shadow: 0 6px 6px rgba(0, 0, 0, .5);
    text-shadow: 0 5px 1px rgba(0, 0, 0, .1);
    letter-spacing: .04em;
    padding: 2px 6px 4px;
}

.download-button__link {
    display: block;
    background: linear-gradient(to bottom, #fec806, #8a2508);
    border-radius: inherit;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .75);
    padding: 4px;
    transition: .2s;
    cursor: pointer;
}

.download-button__link-inner {
    position: relative;
    background: linear-gradient(to bottom, #faa106, #e73c07);
    border-radius: inherit;
    overflow: hidden;
    padding: 24px 38px 28px 38px;
    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;
    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;
}

.download-count {
    font-size: 14px;
}

.download-count span {
    display: inline-block;
    font-weight: 700;
    border: 2px solid #275c17;
    border-radius: 50px;
    margin-left: 5px;
    padding: 5px 30px;
}

@media (max-width: 1499px) {
    .download-button {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .button {
        padding: 16px 30px;
    }

    .download-button {
        font-size: 16px;
    }

    .download-button__link-inner {
        padding: 20px 32px 24px 32px;
    }
}

@media (max-width: 767px) {
    .download-button__link-inner {
        padding: 16px 28px 20px 28px;
    }
}

/* Template Styles */
.layout {
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    min-height: 100%;
    background-color: #0f0f0f;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    overflow-x: hidden;
    margin: 0 auto;
}

.content {
    flex-grow: 1;
}

.intro {
    position: relative;
    background-color: #1f1f1f;
    text-align: center;
    padding: 180px 0;
    z-index: 1;
}

.intro__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: .5;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: -1;
}

.intro__bg-video {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.intro__header {
    margin-bottom: 60px;
}

.intro__title {
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 30px;
}

.intro__download-count {
    margin-top: 20px;
}

.games {
    border-top: 12px solid #000;
    border-bottom: 12px solid #000;
}

.game-cards__container {
    max-width: none;
    padding: 0;
}

.game-cards__grid {
    margin: 0;
}

.game-cards__grid-col {
    padding: 0;
}

.game-cards__separator {
    position: relative;
    max-height: 84px;
    background: url(../img/game_cards_separator_bg.jpg) center center no-repeat;
    background-size: cover;
    border-top: 6px solid #000;
    border-bottom: 6px solid #000;
}

.game-cards__separator:before {
    display: table;
    content: "";
    padding-bottom: 5%;    
}

.game-cards__separator:after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background-color: #000;
    opacity: .7;
    top: 0;
    left: 0;
}

.game-card {
    position: relative;
    height: 100%;
    background-color: #000;
    text-align: center;
    z-index: 1;
}

.game-card__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: .7;
    z-index: -1;
}

.game-card__bg:after {
    position: absolute;
    width: 100%;
    height: 40%;
    content: "";
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .6) 30%);
    bottom: 0;
    left: 0;
}

.game-card__bg-img {
    height: 100%;
    object-position: center center;
    object-fit: cover;
}

.game-card__info {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    width: 60%;
    height: 100%;
    padding: 80px 0 60px 60px;
}

.game-card__logo {
    height: 210px;
    margin: 0 auto;
}

.game-card__logo-img {
    height: 100%;
    object-position: center center;
    object-fit: contain;   
}

.game-card__text {
    margin-top: 100px;
}

.game-card__description {
    margin-top: 20px;
}

.game-card__button {
    margin-top: 30px;
}

.game-card__character {
    position: absolute;
    max-width: calc(40% + 15px); 
    height: calc(100% + 80px);
    right: 0;
    bottom: 0;
    padding-right: 15px;
}

.game-card__character-img {
    height: 100%;
    object-position: left bottom;
    object-fit: contain;
}

@media (max-width: 1919px) {
    .game-card__info {
        width: 65%;
        padding-left: 30px;
    }

    .game-card__logo {
        max-width: 240px;
    }

    .game-card__text {
        margin-top: 60px;
    }

    .game-card__character {
        max-width: calc(35% + 15px); 
    }    

    .footer__text {
        line-height: 28px;
    }
}

@media (max-width: 1499px) {
    .game-card__info {
        width: 100%;
        padding: 60px 15px;
    }

    .game-card__logo {
        max-width: 200px;
    }

    .game-card__character {
        display: none;
    }
}

@media (max-width: 1279px) {
    .intro__bg-video {
        width: auto;
        height: 110%;
    }
}

@media (max-width: 991px) {
    .intro {
        padding: 120px 0;
    }

    .intro__header {
        margin-bottom: 45px;
    }

    .game-card__logo {
        height: 150px;
    }

    .game-card__text {
        margin-top: 30px;
    }

    .game-card__description {
        margin-top: 15px;
    }  

    .game-card__button {
        display: none;
    }
}

@media (max-width: 767px) {
    .intro {
        padding: 100px 0;
    }

    .intro__header {
        margin-bottom: 30px;
    }

    .intro__logo {
        max-width: 300px;
    }   

    .intro__title {
        margin-top: 15px;
    }
}

@media (max-width: 575px) {
    .intro {
        padding: 90px 0;
    }

    .intro__logo {
        max-width: 280px;
    }

    .intro__title {
        font-size: 12px;
    }
}

@media (min-width: 992px) {
    .game-card__bg,
    .game-card__button {
        transition: .4s;
    }

    .game-card__button {
        visibility: hidden;
        opacity: 0;
    }

    .game-card__character {
        transition: 1s;
    }

    .game-card:hover .game-card__bg {
        opacity: .25;
    }

    .game-card:hover .game-card__button {
        visibility: visible;
        opacity: 1;
    }

    .game-card:hover .game-card__character {
        right: 5px;
    }
}

@media (min-width: 1500px) {
    .game-card__title {
        font-size: 30px;
        line-height: 36px;
    }
}

@media (min-width: 1920px) {
    .game-card__title {
        font-size: 36px;
        line-height: 42px;
    }    
}

.footer {
    background-color: #d8d0ca;
    color: #000;
    text-align: center;
    padding: 40px 0;
}

.footer__text {
    line-height: 30px;
}

@media (max-width: 991px) {
    .footer {
        padding: 30px 0;
    }

    .footer__text {
        line-height: 20px;
    }
}