/* Fonts */
@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoLight/RobotoLight.eot");
    src: url("../fonts/Roboto/RobotoLight/RobotoLight.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Roboto/RobotoLight/RobotoLight.woff") format("woff"),
         url("../fonts/Roboto/RobotoLight/RobotoLight.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

@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;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/MontserratSemiBold/MontserratSemiBold.eot");
    src: url("../fonts/Montserrat/MontserratSemiBold/MontserratSemiBold.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Montserrat/MontserratSemiBold/MontserratSemiBold.woff") format("woff"),
         url("../fonts/Montserrat/MontserratSemiBold/MontserratSemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/MontserratExtraBold/MontserratExtraBold.eot");
    src: url("../fonts/Montserrat/MontserratExtraBold/MontserratExtraBold.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Montserrat/MontserratExtraBold/MontserratExtraBold.woff") format("woff"),
         url("../fonts/Montserrat/MontserratExtraBold/MontserratExtraBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 800;
}

/* Base Styles */
html,
body {
    height: 100%;
}

body {
    min-width: 992px;
    font-family: "Roboto", sans-serif;
    font-size: 19px;
    font-weight: 300;
    background-color: #101010;
    color: #fff;
    letter-spacing: .02em;
    overflow-x: hidden; 
}

img {
    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: 63px;
	line-height: 71px;
}

h2, .f2 {
	font-size: 55px;
	line-height: 63px;
}

h3, .f3 {
	font-size: 47px;
	line-height: 55px;
}

h4, .f4 {
	font-size: 39px;
	line-height: 47px;
}

h5, .f5 {
	font-size: 31px;
	line-height: 39px;
}

h6, .f6 {
	font-size: 23px;
	line-height: 31px;
}

p {
    line-height: 24px;
}

strong {
	font-weight: 900;
}

@media (max-width: 1229px) {
	body {
		font-size: 16px;
	}

	h1, .f1 {
		font-size: 38px;
		line-height: 46px;
	}

	h2, .f2 {
		font-size: 34px;
		line-height: 42px;
	}

	h3, .f3 {
		font-size: 30px;
		line-height: 38px;
	}

	h4, .f4 {
		font-size: 26px;
		line-height: 34px;
	}

	h5, .f5 {
		font-size: 22px;
		line-height: 30px;
	}

	h6, .f6 {
		font-size: 18px;
		line-height: 26px;
	}
}

/* Component Styles */
.text {
    line-height: 24px;
}

.text h1:not(:last-child), .text h2:not(:last-child), .text h3:not(:last-child),
.text h4:not(:last-child), .text h5:not(:last-child), .text h6:not(:last-child),
.text p:not(:last-child) {
	margin-bottom: 20px;
}

.text a:hover,
.text a:focus {
    opacity: .8;
}

.text a:active {
    opacity: .6;
}

.text p {
	line-height: inherit;
}

.text-block__header {
	margin-bottom: 30px;
}

.download-button {
	display: inline-block;
	width: 100%;
	max-width: 470px;
	font-family: "Montserrat", sans-serif;
	font-size: 27px;
	font-weight: 600;
	background-color: #009fde;
	color: #fff;
	border-radius: 100px;
	box-shadow: inset 0 8px 0 rgba(255, 255, 255, .2),
				inset 0 12px 0 rgba(255, 255, 255, .25),
				inset 0 -8px 0 rgba(0, 0, 0, .1),
				inset 0 -12px 0 rgba(0, 0, 0, .2),
				0 10px 0 rgba(0, 0, 0, .4);
	text-align: center;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 28px 30px 36px;
	cursor: pointer;
}

.download-button span {
	display: block;
	font-size: 36px;
	font-weight: 800;
	margin-top: 5px;
}

.download-button:hover,
.download-button:focus {
	background-color: #00acf0;
}

.download-button:active {
	background-color: #00b7ff;
}

.rating {
	display: flex;
}

.rating__item {
	color: #747474;
}

.rating__item:not(:last-child) {
	margin-right: 2px;
}

.rating[data-rating="1"] .rating__item:nth-child(-n+1),
.rating[data-rating="2"] .rating__item:nth-child(-n+2),
.rating[data-rating="3"] .rating__item:nth-child(-n+3),
.rating[data-rating="4"] .rating__item:nth-child(-n+4),
.rating[data-rating="5"] .rating__item:nth-child(-n+5) {
	color: #ffd500;
}

.rating__item:before {
	font-size: 20px;
	content: "\2605";
}

.download-helper {
    position: fixed;
    width: 100%;
    min-width: 992px;
    height: 100%;
    min-height: 720px;
    background-color: rgba(0,0,0,.9);
    color: #fff;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    transition: .2s;
    z-index: 4; 
}

.download-helper__container {
    height: 100%;
}

.download-helper__inner {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.download-helper__block {
    position: relative;
    z-index: 1;
}

.download-helper__title {
	font-size: 36px;
	font-weight: 700;
	line-height: 44px;
}

.download-helper__subtitle {
	font-size: 28px;
	font-weight: 400;
    color: #666;
    line-height: 36px;
    margin-top: 15px;
}

.download-helper__note {
	display: inline-flex;
	align-items: center;
	font-size: 18px;
	font-weight: 700;
	border: 2px dashed #4ab52d;
	margin-top: 30px;
	padding: 15px
}

.download-helper__note:before {
	font-family: "FontAwesome";
	font-size: 24px;
	content: "\f132";
	color: #4ab52d;
	margin-right: 15px;
}

.download-helper_active {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 1229px) {
	.download-button {
		max-width: 380px;
		font-size: 20px;
		box-shadow: inset 0 6px 0 rgba(255, 255, 255, .2),
					inset 0 10px 0 rgba(255, 255, 255, .25),
					inset 0 -6px 0 rgba(0, 0, 0, .1),
					inset 0 -10px 0 rgba(0, 0, 0, .2),
					0 8px 0 rgba(0, 0, 0, .4);
		padding: 22px 30px 28px;		
	}

	.download-button span {
		font-size: 26px;
	}

	.rating__item:before {
		font-size: 18px;
	}

	.download-helper__title {
		font-size: 30px;
		line-height: 38px;
	}

	.download-helper__subtitle {
		font-size: 22px;
	    line-height: 30px;
	    margin-top: 10px;
	}	

	.download-helper__note {
		font-size: 16px;
		padding: 12px;
	}	
}

@media (min-width: 1600px) {
	.download-helper__block_arrow-tl:after,
	.download-helper__block_arrow-tr:after,
	.download-helper__block_arrow-bl:after,
	.download-helper__block_arrow-b:after,
	.download-helper__block_arrow-br:after {
	    position: absolute;
	    width: 240px;
	    height: 240px;
	    content: "";
	    z-index: -1;
	}

	.download-helper__block_arrow-tl:after {
	    background: url(../img/download_helper/arrows/arrow_top_left.png) center center no-repeat;
	    top: -215px;
	    left: -260px;
	}

	.download-helper__block_arrow-tr:after {
	    background: url(../img/download_helper/arrows/arrow_top_right.png) center center no-repeat;
	    top: -215px;
	    right: -260px;
	}

	.download-helper__block_arrow-bl:after {
	    background: url(../img/download_helper/arrows/arrow_bottom_left.png) center center no-repeat;
	    top: 20px;
	    left: -260px;
	}

	.download-helper__block_arrow-b:after {
	    background: url(../img/download_helper/arrows/arrow_bottom.png) center center no-repeat;
	    bottom: -260px;
	    left: 50%;
	    transform: translateX(-50%);
	}

	.download-helper__block_arrow-br:after {
	    background: url(../img/download_helper/arrows/arrow_bottom_right.png) center center no-repeat;
	    top: 20px;
	    right: -260px;
	}	
}

/* Layout Styles */
@media (max-width: 1229px) {
	.container {
		max-width: 960px;
	}
}

/* Template Styles */
.layout {
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    min-height: 100%;
    background-color: #131313;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    margin: 0 auto;
}

.content {
	flex-grow: 1;
}

.section {
	padding: 120px 0;
}

.section__header {
	text-align: center;
	margin-bottom: 90px;
}

.section__title {
	font-weight: 900;
	text-transform: uppercase;
}

.section__block {
	background-color: rgba(0, 0, 0, .8);
	border-radius: 10px;
	padding: 60px 45px;
}

.section__download:not(:first-child) {
	margin-top: 70px;
}

@media (max-width: 1229px) {
	.section {
		padding: 90px 0;
	}

	.section__header {
		margin-bottom: 60px;
	}

	.section__block {
		padding: 45px 20px;
	}

	.section__download:not(:first-child) { 
		margin-top: 50px;
	}
}

.main {
	background: url(../img/main_bg.jpg) center center no-repeat;
	background-size: cover;
	text-align: center;
	padding: 30px 0 140px;
}

.main__header {
	margin-bottom: 260px;
}

.main__logo {
	display: inline-block;
	max-width: 750px;
	user-select: none;
	pointer-events: none;	
}

.gameplay {
	background: url(../img/gameplay_bg.jpg) center center no-repeat;
	background-size: cover;	
}

.about {
	background: url(../img/about_bg.jpg) center center no-repeat;
	background-size: cover;
}

.reviews {
	background: url(../img/reviews_bg.jpg) center center no-repeat;
	background-size: cover;	
}

.reviews__card {
	background-color: rgba(0, 0, 0, .6);
	border-radius: 4px;
	padding: 15px 20px 25px;
}

.reviews__card:not(:last-child) {
	margin-bottom: 20px;
}

.reviews__card-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.reviews__card-author {
	flex: 1 0 0;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.reviews__card-time {
	font-size: 11px;
	margin-left: auto;
}

.reviews__card-time:not(:last-child) {
	margin-right: 45px;
}

.reviews__card-rating {
	margin-left: auto;
}

.reviews__card-content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.reviews__card-text {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .01em;
	line-height: 18px;
}

@media (max-width: 1229px) {
	.main {
		padding: 30px 0 120px;
	}

	.main__header {
		margin-bottom: 180px;
	}

	.main__logo {
		max-width: 540px;
	}

	.reviews {
		padding-top: 60px;
	}

	.reviews__card-time:not(:last-child) {
		margin-right: 45px;
	}	
}

@media (min-width: 1230px) {
	.reviews__header {
		margin-bottom: 100px;
	}
}

.footer {
	color: #6c6c6c;
	text-align: center;
	padding: 45px 0;
}

.footer__text {
	max-width: 720px;
	letter-spacing: .04em;
	line-height: 22px;	
	margin: 0 auto;
}
