@font-face {
	font-family: 'Montserrat-Light';
	src: url(/uploads/fonts/Montserrat-Light.ttf);
}
@font-face {
	font-family: 'Montserrat-Medium';
	src: url(/uploads/fonts/Montserrat-Medium.ttf);
}

*, *::before, *::after {
	box-sizing: border-box;
	font-weight: normal;
}
h1, h2, h3, h4, address, ul, p, span:not(a > span), table {
	cursor: default;
}
ul {
	list-style: none;
}
p {
	margin: 0;
}
a {
	color: #fff;
	text-decoration: none;
}
address {
	font-style: normal;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100vh;
	min-width: 350px;
	margin: 0;
	background: #000;
}

/*ШАПКА*/
header {
	
}

/*ГЛАВНАЯ*/
main {
	flex-grow: 1;
}
/*ИНТРО*/
.intro_section {
	position: relative;
	height: 100vh;
	min-height: 900px;
	font-family: 'Montserrat-Light', sans-serif;
	font-size: 16px;
	color: #fff;
	overflow: hidden;
}
/*Интро - фон*/
.intro_bg {
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 0;
}
.intro_bg_0 {
	position: absolute;
	height: 100%;
	width: 100%;
	background: url(/uploads/images/intro/car_0.png) center no-repeat;
	animation: intro_bg_car 14s cubic-bezier(0.65, 0, 0.35, 1) 2s infinite;
}
@keyframes intro_bg_car {
	0% {
		background-position: 50% 50%;
	}
	25% {
		background-position: 40% 50%;
	}
	50% {
		background-position: 50% 50%;
	}
	75% {
		background-position: 60% 50%;
	}
	100% {
		background-position: 50% 50%;
	}
}
.intro_bg_0::before {
	display: block;
	position: absolute;
	height: 100%;
	width: 100%;
	background: url(/uploads/images/intro/bg_l.png) 0 0 no-repeat;
	background-size: auto 100%;
	opacity: 0.8;
	content: '';
}
.intro_bg_0::after {
	display: block;
	position: absolute;
	height: 100%;
	width: 100%;
	background: url(/uploads/images/intro/bg_r.png) 100% 100% no-repeat;
	background-size: auto 100%;
	opacity: 0.8;
	content: '';
}
.intro_bg_1 {
	position: absolute;
	height: 100%;
	width: 100%;
}
.intro_bg_1::before {
	display: block;
	position: absolute;
	height: 100%;
	width: 100%;
	background: url(/uploads/images/intro/bg.jpg) center no-repeat;
	background-size: cover;
	opacity: 0.06;
	content: '';
}
.intro_bg_1::after {
	display: block;
	position: absolute;
	height: 100%;
	width: 100%;
	background: url(/uploads/images/intro/car_1.png) center no-repeat;
	opacity: 0;
	content: '';
	animation: intro_bg_1 7s linear 2s infinite, intro_bg_car 14s cubic-bezier(0.65, 0, 0.35, 1) 2s infinite;
}
@keyframes intro_bg_1 {
	6% {
		opacity: 0;
	}
	10% {
		opacity: 0.2;
	}
	18% {
		opacity: 0.4;
	}
	22% {
		opacity: 1;
	}
	56% {
		opacity: 1;
	}
	60% {
		opacity: 0.8;
	}
	68% {
		opacity: 0.6;
	}
	72% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}
.intro_bg_line_1 {
	position: absolute;
	top: 40%;
	height: 1px;
	width: 102%;
	background: #007ea7;
	box-shadow: 0 0 5px 1px #007ea7;
	transform: translate3d(-102%,0,0);
	animation: intro_bg_line 7s cubic-bezier(0.76, 0, 0.24, 1) 2.5s infinite;
}
.intro_bg_line_2 {
	position: absolute;
	top: 46%;
	height: 1%;
	width: 102%;
	border-radius: 50px;
	background: #19e7ff;
	box-shadow: 0 0 10px 5px #19e7ff;
	transform: translate3d(-102%,0,0);
	animation: intro_bg_line 7s cubic-bezier(0.76, 0, 0.24, 1) 3s infinite;
}
.intro_bg_line_3 {
	position: absolute;
	top: 69%;
	height: 2px;
	width: 102%;
	background: #00a878;
	box-shadow: 0 0 7px 3px #00a878;
	transform: translate3d(-102%,0,0);
	animation: intro_bg_line 7s cubic-bezier(0.76, 0, 0.24, 1) 2s infinite;
}
@keyframes intro_bg_line {
	15% {
		transform: translate3d(-1%,0,0);
	}
	50% {
		transform: translate3d(-1%,0,0);
	}
	65% {
		transform: translate3d(102%,0,0);
	}
	100% {
		transform: translate3d(102%,0,0);
	}
}
/*Интро - основная часть*/
.intro_cont {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	height: 100%;
	padding: 79px 5% 76px;
}
/*Интро - верх*/
.intro_top {
	display: flex;
	justify-content: space-between;
}
.intro_logo {
	position: relative;
	width: 570px;
	margin-right: 5%;
}
.intro_logo img:first-child {
	display: block;
	height: auto;
	width: 100%;
	opacity: 0;
	transform: translate3d(-15%,0,0);
	animation: intro_logo 1.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
.intro_logo img:last-child {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	height: auto;
	width: 14.3%;
	opacity: 0;
	animation: intro_logo 1s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
@keyframes intro_logo {
	100% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
}
.intro_top address {
	min-width: 388px;
}
.intro_adr {
	margin-bottom: 23px;
	padding-left: 37px;
	background: url(/uploads/images/intro/adr.png) 0 1px no-repeat;
	background-size: auto 16px;
}
.intro_tel {
	padding-left: 37px;
	background: url(/uploads/images/intro/tel.png) 0 1px no-repeat;
	background-size: auto 16px;
}
/*Интро - низ*/
.intro_bottom {
	display: flex;
	justify-content: space-between;
}
.intro_copy {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	margin-right: 5%;
	color: #353637;
}
.intro_text {
	position: relative;
	height: 140px;
	min-width: 630px;
	font-family: 'Montserrat-Medium', sans-serif;
	font-size: 72px;
}
.intro_text::before {
	display: block;
	position: absolute;
	top: -15px;
	left: 0;
	opacity: 0;
	transform: translate3d(-15%,0,0);
	content: 'СОВРЕМЕННЫЙ';
	animation: intro_text_bef 21s cubic-bezier(0.76, 0, 0.24, 1) 0.7s infinite;
}
@keyframes intro_text_bef {
	5% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	17% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	22% {
		opacity: 0;
		transform: translate3d(15%,0,0);
		content: 'СОВРЕМЕННЫЙ';
	}
	34% {
		opacity: 0;
		transform: translate3d(-15%,0,0);
		content: 'ОПЫТНЫЕ';
	}
	39% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	50% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	55% {
		opacity: 0;
		transform: translate3d(15%,0,0);
		content: 'ОПЫТНЫЕ';
	}
	67% {
		opacity: 0;
		transform: translate3d(-15%,0,0);
		content: 'ВЫСОКИЙ %';
	}
	72% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	84% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	89% {
		opacity: 0;
		transform: translate3d(15%,0,0);
		content: 'ВЫСОКИЙ %';
	}
	100% {
		opacity: 0;
		transform: translate3d(-15%,0,0);
		content: 'СОВРЕМЕННЫЙ';
	}
}
.intro_text::after {
	display: block;
	position: absolute;
	bottom: -14px;
	left: 3px;
	opacity: 0;
	transform: translate3d(-15%,0,0);
	content: 'АВТОПАРК';
	animation: intro_text_aft 21s cubic-bezier(0.76, 0, 0.24, 1) 1.2s infinite;
}
@keyframes intro_text_aft {
	5% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	17% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	22% {
		left: 3px;
		opacity: 0;
		transform: translate3d(15%,0,0);
		content: 'АВТОПАРК';
	}
	34% {
		left: -4px;
		opacity: 0;
		transform: translate3d(-15%,0,0);
		content: 'ИНСТРУКТОРЫ';
	}
	39% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	50% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	55% {
		left: -4px;
		opacity: 0;
		transform: translate3d(15%,0,0);
		content: 'ИНСТРУКТОРЫ';
	}
	67% {
		left: 4px;
		opacity: 0;
		transform: translate3d(-15%,0,0);
		content: 'СДАЧИ';
	}
	72% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	84% {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
	89% {
		left: 4px;
		opacity: 0;
		transform: translate3d(15%,0,0);
		content: 'СДАЧИ';
	}
	100% {
		left: 3px;
		opacity: 0;
		transform: translate3d(-15%,0,0);
		content: 'АВТОПАРК';
	}
}

/*ВТОРОЙ БЛОК*/
.second_section {
	display: none;
	height: 200px;
	background: #000;
}

/*ПОДВАЛ*/
footer {
	
}

/*МОБИЛЬНЫЕ*/
@media(max-width: 1400px){
	/*ИНТРО*/
	/*Интро - фон*/
	.intro_bg_0,
	.intro_bg_1::after {
		background-size: 75%;
	}
	.intro_bg_0::before {
		background-position: -50px 0;
	}
	.intro_bg_0::after {
		background-position: calc(100% + 50px) 0;
	}
	.intro_bg_line_1 {
		top: 41%;
	}
	.intro_bg_line_2 {
		top: 47%;
	}
	.intro_bg_line_3 {
		top: 66%;
	}
}
@media(max-width: 1050px){
	/*ИНТРО*/
	/*Интро - фон*/
	.intro_bg_0,
	.intro_bg_1::after {
		background-size: 85%;
	}
	.intro_bg_0::before {
		background-position: -100px 0;
	}
	.intro_bg_0::after {
		background-position: calc(100% + 100px) 0;
	}
	.intro_bg_line_1 {
		top: 42%;
	}
	.intro_bg_line_3 {
		top: 64%;
	}
	/*Интро - низ*/
	.intro_text {
		height: 116px;
		min-width: 482px;
		font-size: 55px;
	}
	.intro_text::before {
		top: -10px;
	}
	.intro_text::after {
		bottom: -10px;
	}
}
@media(max-width: 768px){
	/*ИНТРО*/
	/*Интро - фон*/
	.intro_bg_0,
	.intro_bg_1::after {
		background-size: 98%;
	}
	.intro_bg_0::before {
		background-position: -150px 0;
	}
	.intro_bg_0::after {
		background-position: calc(100% + 150px) 0;
	}
	.intro_bg_line_1 {
		top: 44%;
	}
	.intro_bg_line_2 {
		top: 48%;
		height: 5px;
	}
	.intro_bg_line_3 {
		top: 61%;
	}
	/*Интро - основная часть*/
	.intro_cont {
		padding: 60px 10% 56px;
	}
	/*Интро - верх*/
	.intro_top,
	.intro_bottom {
		flex-direction: column;
		align-items: center;
	}
	.intro_logo {
		width: 70%;
		margin: 0 0 23px;
	}
	.intro_adr {
		margin-bottom: 13px;
	}
	/*Интро - низ*/
	.intro_copy {
		order: 2;
		margin: 0;
		text-align: center;
	}
	.intro_text {
		order: 1;
		height: 96px;
		min-width: 435px;
		margin-bottom: 41px;
		font-size: 50px;
	}
}
@media(max-width: 544px){
	/*ИНТРО*/
	/*Интро - фон*/
	.intro_bg_0,
	.intro_bg_1::after {
		background-size: 150%;
		background-position: 0% 50%;
	}
	@keyframes intro_bg_car {
		0% {
			background-position: 0% 50%;
		}
		25% {
			background-position: -50px 50%;
		}
		50% {
			background-position: 0% 50%;
		}
		75% {
			background-position: 50px 50%;
		}
		100% {
			background-position: 0% 50%;
		}
	}
	.intro_bg_0::before {
		background-position: -200px 0;
	}
	.intro_bg_0::after {
		background-position: calc(100% + 200px) 0;
	}
	.intro_bg_line_1 {
		top: 43%;
	}
	.intro_bg_line_3 {
		top: 62%;
	}
	/*Интро - верх*/
	.intro_logo {
		width: 90%;
	}
	.intro_top address {
		min-width: 90%;
	}
	/*Интро - низ*/
	.intro_text {
		height: 0;
		min-width: 100%;
		margin: 0 0 40px 2%;
		padding-bottom: 22%;
		font-size: 9vw;
	}
	.intro_text::before {
		top: -9px;
	}
	.intro_text::after {
		bottom: -8px;
	}
}