/* 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: "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/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: "Brutal Type", sans-serif;
    font-size: 18px;
    font-weight: 300;
    background-color: #1f242c;
    color: #fff;
    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;
}

strong {
	font-weight: 700;
}

@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;
	}
}

/* Component Styles */
.link:hover,
.link:focus {
    opacity: .8;
}

.link:active {
    opacity: .6;
}

.text {
    line-height: 28px;
}

.text h1, .text h2, .text h3,
.text h4, .text h5, .text h6 {
	font-weight: 500;
}

.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: 30px;
}

.text a:hover,
.text a:focus {
    opacity: .8;
}

.text a:active {
    opacity: .6;
}

.text p {
	line-height: inherit;
}

.img_unclickable {
	user-select: none;
	pointer-events: none;
}

.app-title span {
	color: #e12323;
}

.logo {
	display: block;
	max-width: 76px;
}

.download-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 100%;
	max-width: 420px;
	font-family: "Brutal Type", sans-serif;
	font-size: 24px;
	font-weight: 700;
	background-color: #e62324;
	color: #fff;
	border-bottom: 3px solid #1c1f20;
	border-radius: 45px;
	box-shadow: inset 0 0 0 3px #fff,
				inset 0 -6px 0 rgba(0, 0, 0, .2),
				inset 0 0 0 16px #222,
				0 15px 30px rgba(0, 0, 0, .6);
	text-align: center;
	overflow: hidden;
	padding: 32px 30px 37px;
	transition: .2s;
	cursor: pointer;
	z-index: 1;
}

.download-button:before,
.download-button:after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;	
}

.download-button:before {
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, .05) 30%, rgba(0, 0, 0, .4) 70%);
	z-index: -2;
}

.download-button:after {
	width: calc(100% - 32px);
	height: calc(100% - 32px);
	background-color: #ff4a4b;
	border-radius: inherit;
	opacity: 0;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	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;
}

.gallery-cards__grid {
	margin-bottom: -30px;
}

.gallery-cards__grid-col {
	margin-bottom: 30px;
}

.gallery-card__link {
	display: block;
}

.gallery-card__img {
	position: relative;
	max-height: 250px;
	background-color: #1f242c;
	border: 1px solid #000;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
	overflow: hidden;
}

.gallery-card__img:after {
	display: block;
	content: "";
	padding-bottom: 100%;
}

.gallery-card__img-img {
	position: absolute;
	height: 100%;
	object-position: left top;
	object-fit: cover;
	transition: .2s;
}

.gallery-card__link:hover .gallery-card__img-img,
.gallery-card__link:focus .gallery-card__img-img {
	opacity: .9;
}

.gallery-card__link:active .gallery-card__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) {
	.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;
	}	

	.logo {
		max-width: 48px;
	}

	.download-button {
		max-width: 360px;
		font-size: 20px;
		padding: 28px 15px 33px;
	}	

	.gallery-card__img {
		max-height: 180px;
	}		
		
	.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;
    position: relative;
    max-width: 1920px;
    min-height: 100%;
    background-color: #333b46;
    margin: 0 auto;
}

.header {
	position: sticky;
	height: 135px;
	font-family: "Brutal Type", sans-serif;
	font-weight: 400;
	top: 0;
	margin-bottom: -135px;
	transition: .2s;
	z-index: 2;
}

.header__container,
.header__grid {
	height: 100%;
}

.header__grid {
	justify-content: space-between;
	align-items: center;
}

.header__nav-menu {
	display: flex;
	justify-content: center;
	align-items: center;
}

.header__nav-item {
	text-transform: uppercase;
}

.header__nav-item:not(:last-child) {
	margin-right: 70px;
}

.header__nav-link_download {
	color: #3b99f1;
}

.header_fixed {
	background-color: #333b46;
}

@media (max-width: 1229px) {
	.header {
		height: 120px;
		margin-bottom: -120px;
	}

	.header__nav-item:not(:last-child) {
		margin-right: 45px;
	}	
}

.content {
	flex-grow: 1;
}

.section {
	padding: 120px 0;
}

.content > .section:not(.intro):first-child,
.section-splitter:first-child .section:not(.intro):first-child {
	padding-top: 255px;
}

.section__header {
	text-align: center;
	margin-bottom: 90px;
}

.section__title {
	font-family: "Brutal Type", sans-serif;
	font-size: 48px;
	line-height: 56px;	
}

.section__download {
	margin-top: 75px;
}

@media (max-width: 1229px) {
	.section {
		padding: 90px 0;
	}

	.content > .section:not(.intro):first-child,
	.section-splitter:first-child .section:not(.intro):first-child {
		padding-top: 215px;
	}

	.section__header {
		margin-bottom: 60px;
	}	

	.section__title {
		font-size: 36px;
		line-height: 44px;
	}

	.section__download {
		margin-top: 60px;
	}
}

.intro {
	background: url(../img/intro_bg_img.png) calc(50% + 680px) calc(0% - 210px) no-repeat;
	padding: 240px 0 100px;
}

.intro__title {
	font-family: "Montserrat", sans-serif;
	font-size: 86px;
	font-weight: 800;
	line-height: 90px;	
	text-transform: uppercase;
}

.intro__description {
	margin-top: 50px;
	padding-right: 30px;
}

.intro__download {
	margin-top: 90px;
}

.intro__img {
	max-width: 565px;
	margin: -90px -50px 0 auto;
}

.intro + .section {
	padding-top: 60px;
}

.capabilities {
	padding-bottom: 160px;
}

.capabilities-cards__grid {
	margin-bottom: -30px;
}

.capabilities-cards__grid-col {
	margin-bottom: 30px;
}

.capability-card {
	display: flex;
	height: 100%;
	font-family: "Roboto", sans-serif;
	background-color: #404a57;
	border-radius: 10px;
	padding: 25px 60px 25px 15px;
}

.capability-card__icon {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	background-color: #2b323b;
	border-radius: 100%;
	box-shadow: inset 0 0 0 12px #333b46;
	pointer-events: none;
	margin: -25px 20px -25px 0;
	padding: 29px;
}

.capability-card__icon-img {
	height: 100%;
	object-position: center center;
	object-fit: contain;
}

.capability-card__title {
	font-weight: 500;
}

.section-splitter_first {
	background-color: #29303a;
}

.overview__header {
	display: flex;
	margin-bottom: 30px;
}

.overview__download {
	flex-grow: 1;
	text-align: right;
}

.overview__gallery-cards {
	margin-top: 70px;
}

.outro {
	background: url(../img/outro_bg_img.png) calc(50% - 750px) calc(100% + 75px) no-repeat;
	padding-bottom: 200px;
}

.outro__img {
	max-width: 531px;
}

.outro__title {
	margin-bottom: 65px;
}

.outro-features__title {
	font-weight: 500;
	margin-bottom: 50px;
}

.outro-features__item {
	background-color: #3b4654;
	line-height: 28px;
	padding: 12px 25px;
}

.outro-features__item:not(:last-child) {
	margin-bottom: 10px;
}

@media (max-width: 1229px) {
	.intro {
		background-position: calc(50% + 680px) calc(0% - 320px);
		padding: 200px 0 90px;
	}

	.intro__title {
		font-size: 64px;
		line-height: 72px;
	}

	.intro__description {
		margin-top: 30px;
		padding-right: 15px;
	}	

	.intro__download {
		margin-top: 75px;
	}

	.intro__img {
		max-width: 460px;
		margin-top: -50px;
	}	

	.intro + .section {
		padding-top: 30px;
	}

	.capabilities {
		padding-bottom: 120px;
	}

	.overview__gallery {
		margin-top: 60px;
	}

	.outro {
		background-position: calc(50% - 820px) calc(100% + 140px);
		padding-bottom: 160px;		
	}	

	.outro__grid {
		align-items: center;
	}

	.outro__img {
		max-width: 360px;
	}

	.outro__title {
		margin-bottom: 45px;
	}
}

@media (min-width: 1230px) {
	.intro__description {
		font-size: 20px;
	}

	.capability-card__title {
		font-size: 18px;
		line-height: 22px;
	}
}

.footer {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	background-color: #3b4654;
	color: #8fa0ba;
	text-align: center;
	padding: 30px 0;
}

.footer__text {
	line-height: 24px;
}	

.footer__text p:not(:last-child) {
	margin-bottom: 8px;
}

@media (min-width: 1230px) {
	.footer {
		font-size: 16px;
	}	
}
