@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;
}

/*ПРЕЛОАДЕР*/
.preloader {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: fixed;
	height: 100vh;
	width: 100%;
	font-size: 16px;
	color: #fff;
	background: #000;
	z-index: 9999;
}
.preload_line {
	position: relative;
	height: 2px;
	width: 50%;
	margin-bottom: 20px;
}
.preload_line div {
	position: absolute;
	height: 100%;
	width: 0;
	background: #19e7ff;
}

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

/*ГЛАВНАЯ*/
main {
	flex-grow: 1;
}
/*ИНТРО*/
.intro_section {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	height: 100%;
	min-height: 100vh;
	font-family: 'Montserrat-Light', sans-serif;
	font-size: 16px;
	color: #fff;
	overflow-x: hidden;
}
/*Интро - фон*/
.intro_bg_0_l,
.intro_bg_0_r {
	display: block;
	position: absolute;
	height: 100%;
	width: auto;
	opacity: 0.8;
	z-index: 2;
}
.intro_bg_0_r {
	right: 0;
}
.intro_bg_1 {
	display: block;
	position: absolute;
	height: 100%;
	width: 100%;
	object-fit: cover;
	opacity: 0.06;
	z-index: 3;
}
/*Интро - верх*/
.intro_top {
	display: flex;
	justify-content: space-between;
	padding: 79px 5% 0;
	z-index: 10;
}
.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_cent {
	display: flex;
	justify-content: center;
	position: relative;
	margin: 50px 0;
}
.intro_line_1 {
	position: absolute;
	top: 20%;
	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;
	z-index: 0;
}
.intro_line_2 {
	position: absolute;
	top: 36%;
	height: 10px;
	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;
	z-index: 0;
}
.intro_line_3 {
	position: absolute;
	top: 100%;
	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;
	z-index: 0;
}
@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_car {
	position: relative;
	margin: 0 5%;
}
.intro_car img:first-child {
	display: block;
	position: absolute;
	height: auto;
	width: 100%;
	z-index: 1;
	animation: intro_car_move 14s cubic-bezier(0.65, 0, 0.35, 1) 2s infinite;
}
@keyframes intro_car_move {
	25% {
		transform: translate3d(-10%,0,0);
	}
	50% {
		transform: translate3d(0,0,0);
	}
	75% {
		transform: translate3d(10%,0,0);
	}
	100% {
		transform: translate3d(0,0,0);
	}
}
.intro_car img:last-child {
	display: block;
	position: relative;
	height: auto;
	width: 100%;
	opacity: 0;
	z-index: 4;
	animation: intro_car_1 7s linear 2s infinite, intro_car_move 14s cubic-bezier(0.65, 0, 0.35, 1) 2s infinite;
}
@keyframes intro_car_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_bott {
	display: flex;
	justify-content: space-between;
	padding: 0 5% 76px;
	z-index: 10;
}
.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 {
	
}

/*404*/
.err_404 .intro_cent {
	flex-direction: column;
	padding: 0 5%;
	text-align: center;
}
.err_404_text {
	margin-bottom: 15px;
	font-size: 36px;
}


/*МОБИЛЬНЫЕ*/
@media(max-width: 1400px){
	/*ИНТРО*/
	/*Интро - фон*/
	.intro_bg_0_l {
		left: -50px;
	}
	.intro_bg_0_r {
		right: -50px;
	}
}
@media(max-width: 1050px){
	/*ИНТРО*/
	/*Интро - фон*/
	.intro_bg_0_l {
		left: -100px;
	}
	.intro_bg_0_r {
		right: -100px;
	}
	/*Интро - низ*/
	.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_l {
		left: -150px;
	}
	.intro_bg_0_r {
		right: -150px;
	}
	/*Интро - верх*/
	.intro_top {
		flex-direction: column;
		align-items: center;
		padding: 60px 10% 0;
	}
	.intro_logo {
		width: 70%;
		margin: 0 0 23px;
	}
	.intro_adr {
		margin-bottom: 13px;
	}
	/*Интро - середина*/
	.intro_line_2 {
		height: 5px;
		box-shadow: 0 0 7px 3px #19e7ff;
	}
	.intro_line_3 {
		box-shadow: 0 0 5px 2px #00a878;
	}
	/*Интро - низ*/
	.intro_bott {
		flex-direction: column;
		align-items: center;
		padding: 0 10% 56px;
	}
	.intro_copy {
		order: 2;
		margin: 0;
		text-align: center;
	}
	.intro_text {
		order: 1;
		height: 96px;
		min-width: 435px;
		margin-bottom: 41px;
		font-size: 50px;
	}
	
	/*404*/
	.err_404 .intro_cent {
		padding: 0 10%;
	}
}
@media(max-width: 544px){
	/*ИНТРО*/
	/*Интро - верх*/
	.intro_top {
		padding-top: 40px;
	}
	.intro_logo {
		width: 80%;
	}
	.intro_top address {
		min-width: 90%;
	}
	/*Интро - середина*/
	.intro_line_1 {
		top: 15%;
	}
	.intro_car img:first-child,
	.intro_car img:last-child {
		width: 150%;
	}
	/*Интро - низ*/
	.intro_bott {
		padding-bottom: 36px;
	}
	.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;
	}
}