/* 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: "Brutal Type";
    src: url("../fonts/BrutalType/BrutalTypeLight/BrutalTypeLight.eot");
    src: url("../fonts/BrutalType/BrutalTypeLight/BrutalTypeLight.eot?#iefix") format("embedded-opentype"),
         url("../fonts/BrutalType/BrutalTypeLight/BrutalTypeLight.woff") format("woff"),
         url("../fonts/BrutalType/BrutalTypeLight/BrutalTypeLight.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "Brutal Type";
    src: url("../fonts/BrutalType/BrutalTypeRegular/BrutalTypeRegular.eot");
    src: url("../fonts/BrutalType/BrutalTypeRegular/BrutalTypeRegular.eot?#iefix") format("embedded-opentype"),
         url("../fonts/BrutalType/BrutalTypeRegular/BrutalTypeRegular.woff") format("woff"),
         url("../fonts/BrutalType/BrutalTypeRegular/BrutalTypeRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Brutal Type";
    src: url("../fonts/BrutalType/BrutalTypeBold/BrutalTypeBold.eot");
    src: url("../fonts/BrutalType/BrutalTypeBold/BrutalTypeBold.eot?#iefix") format("embedded-opentype"),
         url("../fonts/BrutalType/BrutalTypeBold/BrutalTypeBold.woff") format("woff"),
         url("../fonts/BrutalType/BrutalTypeBold/BrutalTypeBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/MontserratRegular/MontserratRegular.eot");
    src: url("../fonts/Montserrat/MontserratRegular/MontserratRegular.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Montserrat/MontserratRegular/MontserratRegular.woff") format("woff"),
         url("../fonts/Montserrat/MontserratRegular/MontserratRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/MontserratBlack/MontserratBlack.eot");
    src: url("../fonts/Montserrat/MontserratBlack/MontserratBlack.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Montserrat/MontserratBlack/MontserratBlack.woff") format("woff"),
         url("../fonts/Montserrat/MontserratBlack/MontserratBlack.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
}

/* Base Styles */
html,
body {
    height: 100%;
}

body {
    min-width: 992px;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 300;
    background-color: #131c27;
    color: #000;
    overflow-x: hidden; 
}

img {
    display: block;
    width: 100%;
}

a {
    color: currentColor;
    outline: none;
    text-decoration: none;
    transition: .2s;
}

h1, .f1 {
	font-size: 40px;
	line-height: 48px;
}

h2, .f2 {
	font-size: 36px;
	line-height: 44px;
}

h3, .f3 {
	font-size: 32px;
	line-height: 40px;
}

h4, .f4 {
	font-size: 28px;
	line-height: 32px;
}

h5, .f5 {
	font-size: 24px;
	line-height: 28px;
}

h6, .f6 {
	font-size: 20px;
	line-height: 24px;
}

p {
    line-height: 28px;
}

@media (max-width: 1229px) {
	body {
		font-size: 16px;
	}

	h1, .f1 {
		font-size: 36px;
		line-height: 44px;
	}

	h2, .f2 {
		font-size: 32px;
		line-height: 40px;
	}

	h3, .f3 {
		font-size: 28px;
		line-height: 36px;
	}

	h4, .f4 {
		font-size: 26px;
		line-height: 30px;
	}

	h5, .f5 {
		font-size: 22px;
		line-height: 26px;
	}

	h6, .f6 {
		font-size: 18px;
		line-height: 22px;
	}

	p {
		line-height: 24px;
	}	
}

/* Component Styles */
.link:hover,
.link:focus {
    opacity: .8;
}

.link:active {
    opacity: .6;
}

.text p:not(:last-child) {
	margin-bottom: 30px;
}

.download-button {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	max-width: 420px;
	font-family: "Brutal Type", sans-serif;
	font-size: 24px;
	font-weight: 700;
	background: linear-gradient(to right, #08bbff, #287bff);
	color: #fff;
	border-radius: 6px;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .5),
				inset 0 -2px 0 rgba(0, 0, 0, .5),
				inset 0 -7px 0 #002f62,
				0 0 35px rgba(0, 120, 255, .5),
				0 14px 21px rgba(0, 0, 0, .98);
	text-align: center;
	padding: 26px 30px 37px;
	transition: .2s;
	cursor: pointer;
	z-index: 1;
}

.download-button:before,
.download-button:after {
	position: absolute;
	width: 100%;
	height: calc(100% - 7px);
	content: "";
	border-radius: inherit;
	top: 0;
	left: 0;
}

.download-button:before {
	background: linear-gradient(to bottom, rgba(255, 255, 255, .15) 40%, rgba(0, 0, 0, .2) 60%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3),
				inset 0 -1px 0 rgba(0, 0, 0, .5),
				inset 20px 10px 43px rgba(15, 225, 255, .75),
				inset 0 -10px 20px 20px rgba(0, 0, 0, .15);
	z-index: -2;
}

.download-button:after {
	background-color: #0fe1ff;
	opacity: 0;
	transition: .2s;
	z-index: -1;
}

.download-button:hover:after,
.download-button:focus:after {
	opacity: .2;
}

.download-button:active:after {
	opacity: .4;
}

.download-button__icon {
	margin-left: 20px;
}

.download-button_alternate {
	box-shadow: inset 0 -2px 0 #000,
				0 0 35px rgba(0, 120, 255, .5),
				0 14px 21px rgba(0, 0, 0, .6);
	padding: 28px 30px 30px;
}

.download-button_alternate:before,
.download-button_alternate:after {
	height: calc(100% - 2px);
}

.download-button_center {
	margin: 0 auto;
}

.rating {
	display: flex;
}

.rating__item {
	color: #d7d7d7;
}

.rating__item:not(:last-child) {
	margin-right: 10px;
}

.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: #f6b03c;
}

.rating__item:before {
	font-family: "FontAwesome";
	font-size: 20px;
	content: "\f005";
}

.stats {
	display: flex;
}

.stats__item {
	font-weight: 400;
	padding-left: 27px;
}

.stats__item:not(:last-child) {
	margin-right: 55px;
}

.stats__item-label {
	display: flex;
	font-size: 13px;
	color: #aeaeae;
	text-transform: uppercase;
	margin-left: -27px;
}

.stats__item-label:before {
	width: 12px;
	height: 12px;
	content: "";
	background-color: #fff;
	border-radius: 100%;
	margin-right: 15px;
}

.stats__item-value {
	display: block;
	font-size: 24px;
	margin-top: 8px;
}

.stats__item_online .stats__item-label:before {
	background-color: #209fce;
}

.stats__item_in-game .stats__item-label:before {
	background-color: #6cc537;
}

.operating-systems {
	display: flex;
	align-items: center;
}

.operating-systems__item:before {
	font-family: "FontAwesome";
	font-size: 20px;
}

.operating-systems__item:not(:last-child) {
	margin-right: 10px;
}

.operating-systems__item_windows {
	color: #2273b5;
}

.operating-systems__item_windows:before {
	content: "\f17a";
}

.operating-systems__item_android {
	color: #9fc037;
}

.operating-systems__item_android:before {
	content: "\f17b";
}

.operating-systems__item_apple {
	color: #8f9094;
}

.operating-systems__item_apple:before {
	content: "\f179";
}

.operating-systems__item_linux {
	color: #000;
}

.operating-systems__item_linux:before {
	content: "\f17c";
}

.download-helper {
    position: fixed;
    width: 100%;
    min-width: 992px;
    height: 100%;
    min-height: 720px;
    font-family: "Brutal Type", sans-serif;
    background-color: rgba(0,0,0,.9);
    color: #fff;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    transition: .2s;
    z-index: 3; 
}

.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-weight: 700;
}

.download-helper__subtitle {
	font-weight: 400;
    color: #666;
    margin-top: 15px;
}

.download-helper__note {
	display: inline-flex;
	align-items: center;
	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: 360px;
		font-size: 20px;
	}

	.rating__item:not(:last-child) {
		margin-right: 8px;
	}

	.rating__item:before {
		font-size: 18px;
	}

	.stats__item:not(:last-child) {
		margin-right: 30px;
	}

	.stats__item-value {
		font-size: 22px;
	}
}

@media (min-width: 1230px) {
	.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: #f3f3f3;
    margin: 0 auto;
}

.header {
	position: sticky;
	height: 135px;
	font-family: "Brutal Type", sans-serif;
	font-weight: 400;
	background-color: transparent;
	color: #fff;
	top: 0;
	margin-bottom: -135px;
	transition: .2s;
	z-index: 2;
}

.header__container,
.header__grid {
	height: 100%;
}

.header__grid {
	align-items: center;
}

.header__logo {
	display: block;
	max-width: 64px;
}

.header__nav-menu {
	display: flex;
}

.header__nav-item {
	text-transform: uppercase;
}

.header__nav-item:not(:last-child) {
	margin-right: 70px;
}

.header_dark {
	background-color: #141414;
}

@media (max-width: 1229px) {
	.header {
		height: 120px;
		margin-bottom: -120px;
	}

	.header__logo {
		max-width: 48px;
	}

	.header__nav-item:not(:last-child) {
		margin-right: 45px;
	}
}

.content {
	flex-grow: 1;
	overflow: hidden;
}

.section {
	position: relative;
	padding: 80px 0 130px;
}

.section:not(.main):first-child {
	padding-top: 215px;
}

.section__header {
	text-align: center;
	margin-bottom: 70px;
}

.section__title {
	display: inline-block;
	position: relative;
	font-family: "Brutal Type", sans-serif;
	font-size: 48px;
	line-height: 56px;	
}

.section_inverse {
	background-color: #1b2838;
	color: #fff;
}

@media (max-width: 1229px) {
	.section {
		padding-bottom: 120px;
	}

	.section:not(.main):first-child {
		padding-top: 200px;
	}

	.section__header {
		margin-bottom: 60px;
	}

	.section__title {
		font-size: 36px;
		line-height: 44px;
	}
}

.main {
	background: url(../img/main_bg.jpg) center center no-repeat;
	background-size: cover;
	padding: 190px 0 110px;
	z-index: 1;
}

.main__title {
	font-family: "Montserrat", sans-serif;
	font-size: 76px;
	font-weight: 400;
	letter-spacing: .08em;
	line-height: 92px;
	text-transform: uppercase;
}

.main__title span {
	font-weight: 900;
}

.main__description {
	margin-top: 30px;
}

.main__download {
	margin-top: 70px;
}

.main__img {
	position: relative;
	height: 100%;
	user-select: none;
	pointer-events: none;
	margin-bottom: -65px;
}

.main__img img {
	position: absolute;
	max-width: 574px;
	width: calc(100% + 110px);
	object-fit: contain;
	object-position: center center;
	top: 0;
	right: 0;
	z-index: -1;
}

.main__stats {
	padding-left: 40px;
}

.overview-block {
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, .4);
	border-radius: 6px;
	box-shadow: 0 11px 40px rgba(0, 0, 0, .16);
}

.overview-block__grid {
	margin: 0;
}

.overview-block__col {
	padding: 0;
}

.overview-block__media {
	height: 100%;
	background-color: #2a2a2a;
	padding: 30px;
}

.overview-block__media-grid {
	margin: 0 -5px -30px;
}

.overview-block__media-col {
	margin-bottom: 30px;
	padding: 0 5px;
}

.overview-block__media-col:not(:first-child) {
	margin-top: auto;
}

.overview-block__media-item {
	position: relative;
	border: 1px solid rgba(0, 0, 0, .4);
	box-shadow: 0 11px 40px rgba(0, 0, 0, .16);
	padding-bottom: 59%;
}

a.overview-block__media-item {
	display: block;
}

.overview-block__media-item img {
	position: absolute;
	height: 100%;
	object-position: center center;
	object-fit: cover;
	top: 0;
	left: 0;
}

.overview-block__data {
	width: 100%;
	table-layout: fixed;
	font-family: "Brutal Type", sans-serif;
}

.overview-block__data-row:nth-child(2n) {
	background-color: #f0f0f0;
}

.overview-block__data-col {
	height: 58px;
	padding: 18px;
	vertical-align: middle;
}

.overview-block__download {
	padding: 50px 15px;
}

.capabilities {
	z-index: 1;
}

.capabilities:before {
	position: absolute;
	width: 100%;
	height: calc(100% + 200px);
	content: "";
	background: linear-gradient(to bottom, transparent 90%, #1b2838 100%), 
				url(../img/capabilities_bg.jpg) center center no-repeat;
	background-size: cover;
	top: 0;
	left: 0;
	z-index: -1;
}

.capabilities__item {
	height: 100%;
	background-color: rgba(14, 26, 41, .4);
	border-radius: 50px;
	text-align: center;
	padding: 35px 65px 60px;
}

.capabilities__item-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 130px;
	height: 130px;
	background: radial-gradient(circle at center top, #0079e0 30%, #004b8c 60%);
	border-radius: 100%;
	user-select: none;
	pointer-events: none;
	margin: 0 auto 25px;	
	padding: 33px;
}

.capabilities__item-icon img {
	height: 100%;
	object-position: center center;
	object-fit: contain;
}

.capabilities__item-title {
	font-weight: 400;
}

.capabilities__item-description {
	font-size: 15px;
	line-height: 19px;
	color: #a6a6a6;
	margin-top: 15px;
}

.download {
	overflow: hidden;
}

.download__content {
	position: relative;
	z-index: 1;
}

.download__title {
	font-size: 35px;
	font-weight: 700;
	line-height: 43px;
	margin-bottom: 35px;
}

.download__download {
	margin-top: 60px;
}

.download__img {
	position: relative;
	user-select: none;
	pointer-events: none;	
	margin: 0 calc(-1 * (1920px - 1200px) / 2) -280px 0;
}

.download__img img {
	max-width: 899px;
}

@media (max-width: 1229px) {
	.main {
		padding-top: 160px;
	}

	.main__info {
		padding-right: 30px;
	}

	.main__title {
		font-size: 64px;
		line-height: 80px;
	}

	.main__download {
		margin-top: 60px;
	}

	.main__stats {
		padding-left: 15px;
	}

	.capabilities {
		padding-bottom: 80px;
	}

	.capabilities__item {
		padding: 30px 30px 60px;
	}

	.capabilities__item-icon {
		width: 100px;
		height: 100px;
		padding: 26px;
	}

	.capabilities__item-description {
		font-size: 14px;
		line-height: 18px;
	}

	.download__title {
		font-size: 30px;
		line-height: 38px;
	}

	.download__description {
		padding-right: 15px;
	}

	.download__img {
		margin: 0 calc(-1 * (1200px - 992px) / 2) -280px 0;
	}
}

@media (min-width: 1230px) {
	.main__description {
		font-size: 18px;	
	}

	.download__description {
		padding-right: 130px;
	}
}

.footer {
	font-weight: 400;
	background-color: #141414;
	color: #666;
	text-align: center;
	padding: 45px 0;
}

.footer__text p:not(:last-child) {
	margin-bottom: 10px;
}

.footer__text a:hover,
.footer__text a:focus {
	color: #8c8c8c;
}

.footer__text a:active {
	color: #b2b2b2;
}

@media (min-width: 1230px) {
	.footer {
		font-size: 16px;
	}

	.footer__text p {
		line-height: 24px;
	}	
}
