/* 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: "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/BrutalTypeMedium/BrutalTypeMedium.eot");
    src: url("../fonts/BrutalType/BrutalTypeMedium/BrutalTypeMedium.eot?#iefix") format("embedded-opentype"),
         url("../fonts/BrutalType/BrutalTypeMedium/BrutalTypeMedium.woff") format("woff"),
         url("../fonts/BrutalType/BrutalTypeMedium/BrutalTypeMedium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
}

@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/MontserratBold/MontserratBold.eot");
    src: url("../fonts/Montserrat/MontserratBold/MontserratBold.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Montserrat/MontserratBold/MontserratBold.woff") format("woff"),
         url("../fonts/Montserrat/MontserratBold/MontserratBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@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: "Brutal Type", sans-serif;
    font-size: 18px;
    font-weight: 300;
    background-color: #0f0f0f;
    color: #fff;
    letter-spacing: .025em;
    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 {
	font-size: 40px;
	line-height: 48px;
}

h2 {
	font-size: 36px;
	line-height: 44px;
}

h3 {
	font-size: 32px;
	line-height: 40px;
}

h4 {
	font-size: 28px;
	line-height: 32px;
}

h5 {
	font-size: 24px;
	line-height: 28px;
}

h6 {
	font-size: 20px;
	line-height: 24px;
}

p {
    line-height: 24px;
}

strong {
	font-weight: 700;
}

@media (max-width: 1229px) {
	body {
		font-size: 16px;
	}

	h1 {
		font-size: 38px;
		line-height: 46px;
	}

	h2 {
		font-size: 34px;
		line-height: 42px;
	}

	h3 {
		font-size: 30px;
		line-height: 38px;
	}

	h4 {
		font-size: 26px;
		line-height: 30px;
	}

	h5 {
		font-size: 22px;
		line-height: 26px;
	}

	h6 {
		font-size: 18px;
		line-height: 22px;
	}
}

/* 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__title {
	margin-bottom: 30px;
}

.img_unclickable {
	user-select: none;
	pointer-events: none;
}

.download-button {
	display: inline-block;
	position: relative;
	width: 100%;
	max-width: 470px;	
	background: #fff linear-gradient(to bottom, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .25) 30%, transparent 50%, rgba(0, 0, 0, 1) 100%);
	border-radius: 8px;
	box-shadow: inset 0 -2px 1px rgba(0, 0, 0, .5),
				0 10px 10px rgba(0, 0, 0, .5);
	padding: 10px;
	cursor: pointer;
	z-index: 1;
}

.download-button:before {
	position: absolute;
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	content: "";
	background: radial-gradient(ellipse closest-corner at center 1px, #fff 10%, transparent 80%),
				radial-gradient(ellipse closest-corner at center calc(100% - 1px), #fff 10%, transparent 80%),
				linear-gradient(to bottom, rgba(255, 255, 255, .5), rgba(255, 255, 255, .5));
	border-radius: inherit;
	top: 4px;
	left: 4px;
	z-index: -1;
}

.download-button__inner {
	position: relative;
	font-family: "Montserrat", sans-serif;
	font-size: 24px;
	font-weight: 700;
	background: #3180ff linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(255, 255, 255, .25) 30%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .5) 100%);
	color: #fff;
	border-radius: inherit;
	box-shadow: inset 0 2px 2px rgba(255, 255, 255, .75),
				inset 0 -2px 2px rgba(0, 0, 0, .75),
				inset 0 -20px 40px 0 rgba(0, 0, 0, .25),
				0 0 2px 2px rgba(0, 0, 0, .5);
	text-shadow: 0 2px 0 rgba(0, 0, 0, .5);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .04em;
	overflow: hidden;
	padding: 22px 15px;
	z-index: 1;
}

.download-button__inner:before,
.download-button__inner:after {
	position: absolute;
	width: 100%;
	height: 100%;
	content: "";
	top: 0;
	left: 0;
}

.download-button__inner:before {
	background: radial-gradient(ellipse closest-corner at 0.5px center, #12ffff 10%, transparent 80%),
				radial-gradient(ellipse closest-corner at calc(100% - 0.5px) center, #12ffff 10%, transparent 80%),
				radial-gradient(ellipse closest-corner at center 0.5px, #12ffff 10%, transparent 80%),
				radial-gradient(ellipse closest-corner at center calc(100% - 2px), rgba(18, 255, 255, .5) 10%, transparent 80%),
				radial-gradient(circle at left 20%, rgba(18, 255, 255, .9) 2%, transparent 10%),
				radial-gradient(circle at right 50%, rgba(18, 255, 255, .9) 2%, transparent 10%),
				radial-gradient(ellipse at center top, #12ffff 5%, transparent 40%);
	z-index: -1;
}

.download-button__inner:after {
	background-color: #5697ff;
	opacity: 0;
	transition: .2s;
	z-index: -2;
}

.download-button__inner span {
	display: block;
	font-weight: 900;
	margin-top: 8px;
}

.download-button:hover .download-button__inner:after,
.download-button:focus .download-button__inner:after {
	opacity: .1;
}

.download-button:active .download-button__inner:after {
	opacity: .2;
}

.rating {
	display: flex;
}

.rating__star {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 32 32' fill='%23818181'><path d='m 31.971796,12.358948 c -0.06759,-0.20735 -0.246872,-0.358566 -0.462813,-0.390069 L 21.147234,10.463017 16.513374,1.0738637 c -0.09623,-0.19589373 -0.295559,-0.31961613 -0.513219,-0.31961613 -0.21766,0 -0.417563,0.1237224 -0.513219,0.31961613 L 10.852503,10.46359 0.49075471,11.969451 c -0.21594135,0.0315 -0.39465143,0.182147 -0.46281329,0.39007 -0.06701629,0.206776 -0.01145578,0.434746 0.14491555,0.586535 l 7.49837733,7.308784 -1.77049,10.320508 c -0.036658,0.214796 0.051551,0.431883 0.2273971,0.560187 0.1769917,0.12945 0.4112623,0.146061 0.6031466,0.04353 l 9.268867,-4.872141 9.267722,4.872141 c 0.08363,0.0441 0.175846,0.06587 0.266919,0.06587 0.118567,0 0.236562,-0.03666 0.3368,-0.109403 0.176419,-0.128304 0.264628,-0.345391 0.227397,-0.560187 L 24.329076,20.25541 31.827453,12.946053 c 0.155799,-0.152934 0.211932,-0.380332 0.144343,-0.587108 z'></path></svg>");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

.rating__star:not(:last-child) {
	margin-right: 1px;
}

.rating[data-rating="1"] .rating__star:nth-child(-n+1),
.rating[data-rating="2"] .rating__star:nth-child(-n+2),
.rating[data-rating="3"] .rating__star:nth-child(-n+3),
.rating[data-rating="4"] .rating__star:nth-child(-n+4),
.rating[data-rating="5"] .rating__star:nth-child(-n+5) {
	background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 32 32' fill='%23ffcc03'><path d='m 31.971796,12.358948 c -0.06759,-0.20735 -0.246872,-0.358566 -0.462813,-0.390069 L 21.147234,10.463017 16.513374,1.0738637 c -0.09623,-0.19589373 -0.295559,-0.31961613 -0.513219,-0.31961613 -0.21766,0 -0.417563,0.1237224 -0.513219,0.31961613 L 10.852503,10.46359 0.49075471,11.969451 c -0.21594135,0.0315 -0.39465143,0.182147 -0.46281329,0.39007 -0.06701629,0.206776 -0.01145578,0.434746 0.14491555,0.586535 l 7.49837733,7.308784 -1.77049,10.320508 c -0.036658,0.214796 0.051551,0.431883 0.2273971,0.560187 0.1769917,0.12945 0.4112623,0.146061 0.6031466,0.04353 l 9.268867,-4.872141 9.267722,4.872141 c 0.08363,0.0441 0.175846,0.06587 0.266919,0.06587 0.118567,0 0.236562,-0.03666 0.3368,-0.109403 0.176419,-0.128304 0.264628,-0.345391 0.227397,-0.560187 L 24.329076,20.25541 31.827453,12.946053 c 0.155799,-0.152934 0.211932,-0.380332 0.144343,-0.587108 z'></path></svg>");	
}

.gallery__grid {
	margin-bottom: -30px;
}

.gallery__grid-col {
	margin-bottom: 30px;
}

.gallery-item__link {
	display: block;
}

.gallery-item__img {
	position: relative;
	background-color: #131313;
	border: 2px solid #fff;
	box-shadow: 0 10px 18px rgba(0, 0, 0, .4);	
	overflow: hidden;
}

.gallery-item__img:after {
	display: block;
	content: "";
	padding-bottom: 60%;
}

.gallery-item__img-img {
	position: absolute;
	height: 100%;
	object-position: left top;
	object-fit: cover;
	transition: .2s;
}

.gallery-item__link:hover .gallery-item__img-img,
.gallery-item__link:focus .gallery-item__img-img {
	opacity: .9;
}

.gallery-item__link:active .gallery-item__img-img {
	opacity: .8;
}

.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: 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;
		padding: 8px;
	}

	.download-button:before {
		width: calc(100% - 6px);
		height: calc(100% - 6px);
		top: 3px;
		left: 3px;
	}

	.download-button__inner {
		font-size: 20px;
		padding: 18px 15px;
	}

	.rating__star {
		width: 20px;
		height: 20px;
	}

	.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: 110px 0 150px;
}

.section:not(:last-child) {
	border-bottom: 2px solid #000;
}

.section__header {
	text-align: center;
	margin-bottom: 45px;
}

.section__header_left {
	text-align: left;
}

.section__header_right {
	text-align: right;
}

.section__title {
	font-size: 63px;
	font-weight: 500;
	line-height: 71px;
}

.section__download {
	margin-top: 50px;
}

@media (max-width: 1229px) {
	.section {
		padding: 80px 0 120px;
	}

	.section__header {
		margin-bottom: 30px;
	}

	.section__title {
		font-size: 48px;
		line-height: 56px;
	}	
}

.intro {
	background: url(../img/intro_bg.jpg) center center no-repeat;
	background-size: cover;
	text-align: center;
	padding: 45px 0 150px;
}

.intro__header {
	margin-bottom: 160px;
}

.intro__logo {
	max-width: 812px;
	margin: 0 auto;
}

.intro__description {
	display: block;
	max-width: 800px;
	font-size: 28px;
	font-weight: 400;
	background-color: rgba(0, 0, 0, .35);	
	letter-spacing: .04em;
	line-height: 36px;
	text-transform: uppercase;
	margin: 0 auto;
	padding: 20px 30px;
}

.intro__download {
	margin-top: 90px;
}

.about {
	background: linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)),
				url(../img/about_bg.jpg) center center no-repeat;
	background-size: cover;
}

.about__gallery {
	margin-top: 90px;
}

.about__download {
	text-align: center;
	margin-top: 120px;
}

.cars {
	background: url(../img/cars_bg.jpg) center center no-repeat;
	background-size: cover;
}

.reviews {
	background: linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)),
				url(../img/reviews_bg.jpg) center center no-repeat;
	background-size: cover;
	padding: 130px 0 200px;
}

.reviews__header {
	margin-bottom: 150px;
}

.review-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	background-color: rgba(0, 0, 0, .6);
	border: 3px solid #a8a8a8;
	border-radius: 10px;
	box-shadow: inset 0 0 0 1px #fff,
				0 0 0 1px #fff;
	padding: 25px;
}

.review-card__header {
	margin-bottom: 25px;
}

.review-card__author {
	font-size: 23px;
	line-height: 27px;
}

.review-card__time {
	display: block;
	font-size: 13px;
	color: #ec7676;
	margin-top: 10px;
}

.review-card__content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.review-card__text {
	font-size: 14px;	
	line-height: 18px;
}

.review-card__rating {
	margin-top: auto;
	padding-top: 30px;
}

@media (max-width: 1229px) {
	.intro {
		padding: 35px 0 120px;
	}

	.intro__header {
		margin-bottom: 120px;
	}

	.intro__logo {
		max-width: 720px;
	}

	.intro__description {
		max-width: 700px;
		font-size: 24px;
		line-height: 32px;
		padding: 15px 25px;
	}

	.about__gallery {
		margin-top: 75px;
	}

	.about__download {
		margin-top: 90px;
	}	

	.reviews {
		padding: 100px 0 160px;
	}

	.reviews__header {
		margin-bottom: 120px;
	}

	.review-card {
		padding: 20px;
	}

	.review-card__author {
		font-size: 20px;
		line-height: 24px;
	}
}

@media (min-width: 1230px) {
	.cars__left {
		padding-right: 60px;
	}
}

.footer {
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	background-color: #131313;
	color: #6c6c6c;
	text-align: center;
	padding: 30px 0;
}

.footer__text {
	max-width: 720px;
	letter-spacing: .04em;
	line-height: 22px;	
	margin: 0 auto;
}

@media (max-width: 1229px) {
	.footer__text {
		max-width: 680px;
	}
}