html, body {
	font-size: 100%;
	max-width: 100vw;
	background-color: #131313;
	min-height: 100vh;
}

@font-face {
	font-family: 'GothamPro-Regular';
	src: url("../fonts/GothamPro-Regular.ttf");
}

@font-face {
	font-family: 'GothamPro-Medium-Italic';
	src: url("../fonts/GothamPro-Medium-Italic.ttf");
}

@font-face {
	font-family: 'CenturyGothicBold';
	src: url("../fonts/CenturyGothicBold.ttf");
}

@font-face {
	font-family: "MyriadPro";
	src: url("../fonts/MyriadPro.otf");
}

@font-face {
	font-family: 'GothamPro-Medium';
	src: url("../fonts/GothamPro-Medium.ttf");
}

@font-face {
	font-family: 'GothamPro-Bold';
	src: url("../fonts/GothamPro-Black.ttf");
}

@font-face {
	font-family: 'GothamPro-Italic';
	src: url("../fonts/GothamPro-Italic.ttf");
}

@font-face {
	font-family: 'GothamPro-Bold-Italic';
	src: url("../fonts/GothamPro-BlackItalic.ttf");
}

@font-face {
	font-family: 'GothamPro-Narrow-Bold';
	src: url("../fonts/GothamPro-Narrow-Bold.ttf");
}

@font-face {
	font-family: 'FredokaOne-Regular';
	src: url("../fonts/FredokaOne-Regular.ttf");
}

strong, b {
	font-family: GothamPro-Medium, sans-serif;
}
em, i {
	font-family: GothamPro-Italic, cursive;
}

em strong, strong em {
	font-family: GothamPro-Bold-Italic, sans-serif;
}

.editor a {
	text-decoration: underline;
	color: inherit;
}

.editor a:visited,
.editor a:hover {
	color: inherit;
}

.editor a:active {
	color: #a5a5a5;
}

.editor {
	font-family: GothamPro-Regular, sans-serif !important;
	height: auto !important;
	letter-spacing: .6px;
}

.editor ol {
	list-style: decimal;
}

.editor ul {
	list-style: disc;
}

.editor hr {
	border: 1px solid #fff;
}

.bg-transparent-img {
	background: url("../img/secondary-pages-bg.jpg") no-repeat;
	height: fit-content;
}


.bg-transparent {
	background: transparent !important;
}

.logo {
	font-family: 'GothamPro-Medium-Italic', cursive;
	text-transform: uppercase;
	font-size: 18px;
	color: #f3e03a;
}

.logo-img {
	background: url("../img/logo-min.png") no-repeat;
	width: 130px;
	height: 47px;
	background-size: contain;
}

.screen-0 {
	background-color: #131313;
	/*min-height: inherit;*/
	min-height: 71vh;
}

ul.navbar-nav > li > a,
.items ul > li > a {
	color: #f7f7f7 !important;
	transition-duration: .3s;
	cursor: pointer;

	font-family: 'GothamPro-Regular', sans-serif;
	white-space: nowrap;

	font-size: 13px;
}

ul.navbar-nav > li > a:hover,
.items > ul > li> a:hover {
	color: #f3e03a !important;
}

.items {
	width: 50%;
}

.items a {
	text-decoration: none;
}

.items ul {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	flex-wrap: wrap;
}

.phone {
	color: #f3e03a;
	font-family: 'GothamPro-Regular', cursive;
	text-decoration: underline;
	order: 1;
}

.phone a {
	color: #f3e03a;
	font-family: 'GothamPro-Regular', cursive;
	text-decoration: underline;
}

.phone a:link {
	color: #f3e03a;
}

.phone a:hover {
	color: #f3e03a;
}

.phone a:visited {
	color: #f3e03a;
}

.screen-1 {
	max-width: 100%;
	min-height: 100vh;
	height: auto;
	position: relative;
	padding: 80px 0 170px 0;
	display: flex;
	align-items: center;

	background: url("../img/cars-4814015_1920.jpg") no-repeat center center fixed;
	background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
	-o-background-size: cover;
}

.screen-1 > .mask {
	background-color: rgb(0, 0, 0);
	opacity: 0.769;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
}

.content {
	font-family: 'CenturyGothicBold', serif;
	position: relative;
	color: #fff;
}

.titles > .title {
	font-size: 60px;
	width: 70%;
	font-weight: bold;
	padding: 20px;
	position: relative;
}

.titles > .subtitle {
	font-size: 21px;
	width: 40%;
	padding: 20px;
	font-family: GothamPro-Regular, sans-serif;
	position: relative;
}

.content .car {
	width: 26vw;
	position: absolute;
	right: 10%;
	top: 18vh;
	min-width: 452px;
}

.content > .titles {
	z-index: 999;
	position: relative;
}

.titles > .register-form {
	display: flex;
	flex-direction: column;
	width: 19vw;
	padding: 20px;
	min-width: 300px;
}

.register-form > input, button {
	border-radius: 15px;
	height: 4vh;
	border: none;
	outline: none;
	font-family: GothamPro-Regular, sans-serif;
}

.register-form > button {
	margin-top: 5px;
	background-color: #f3e03a;
	color: #131313;
	transition-duration: .3s;
}

.register-form > input {
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
}

.register-form > button:hover {
	background-color: transparent;
	border: #f3e03a solid 1px;
	color: #f3e03a;
}

.screen-0 > .content {
	margin-top: 20vh;
	padding: 0;
}

.content {
	height: 100%;
}

.f-50 {
	font-size: 50px;
}

.screen-1 > .content {
	position: relative;
	z-index: 1;
	width: 100%;
}

.screen-1 .title {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
}

.screen-1 .title > p {
	margin: 0;
}

.screen-1 .tariffs {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 30px;
}

.tariffs > .tariff {
	width: calc(33.333% - 30px);
	min-width: 270px;
	max-width: 360px;
	margin: 10px 0;
	padding: 25px 20px;
	font-family: 'GothamPro-Medium', sans-serif;
	box-sizing: border-box;

	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.tariff > .title {
	font-size: 26px;
	text-transform: uppercase;
	white-space: nowrap;
	text-align: center;
	margin-bottom: 5px;
}

.tariff > hr {
	width: 85%;
	border: 0;
	border-top: 1px solid #fff;
	margin: 10px 0;
}

.tariff > .subtitle {
	font-size: 15px;
	margin-top: 0;
	margin-bottom: 15px;
	text-transform: uppercase;
	text-align: center;
	color: #f7f7f7;
}

.tariff > .description {
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 25px;
	flex-grow: 1;
	position: static;
}

.tariff > .price {
	color: #f3e03a;
	font-size: 34px;
	line-height: 1.2;
	text-align: center;
	margin-top: auto;
	position: static;
}

.screen-1 > .mask-1 {
	display: none;
}

.screen-2 {
	position: relative;
	min-height: auto;
	display: flex;
	align-items: center;
	padding: 90px 0;
	margin-top: -60px;
	margin-bottom: -60px;
	z-index: 2;
}

.screen-2 > .background {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	object-fit: cover;
	object-position: center;
	-webkit-mask-image: url(../img/mask/torn_top.png), linear-gradient(#000, #000), url(../img/mask/torn_bottom.png);
	-webkit-mask-position: top center, center center, bottom center;
	-webkit-mask-size: 100% 65px, 100% calc(100% - 130px), 100% 65px;
	-webkit-mask-repeat: no-repeat;
	mask-image: url(../img/mask/torn_top.png), linear-gradient(#000, #000), url(../img/mask/torn_bottom.png);
	mask-position: top center, center center, bottom center;
	mask-size: 100% 65px, 100% calc(100% - 130px), 100% 65px;
	mask-repeat: no-repeat;
}

.screen-3 {
	min-height: 100vh;
	height: auto;
	background: url(../img/screen-3-bg.jpg) center center fixed no-repeat;
	background-size: cover;
	padding: 90px 0;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 1;
}

footer {
	background-color: #131313;
	max-width: 100%;
	min-height: 200px;
	height: 1px; /* Лайфхаки для того чтобы дочерние элементы могли использовать относительные единицы при масштабировании */

	display: flex;
	flex-direction: column;
	align-items: center;
}

footer.container {
	padding: 20px 0;
}

.footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	width: 100%;
}

.footer > .logo {
	font-size: 15px;
	height: 47px;
}

footer .icon {
	height: 26px;
	margin-left: 8px;
}

.contact-list {
	color: #fff;
	margin-top: 35px;
	text-align: left;
	border-top: 1px #fff solid;
	padding-top: 10px;
}

.contact-list i.fa-home {
	color: #f3e03a;
}

.m-top-15 {
	margin-top: 15px;
}

.advantages {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	padding: 15px 0;
}

.advantages > .advantage {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding-bottom: 25px;
}

.advantages > .advantage:last-child {
	padding-bottom: 0;
}

.advantage > .icon {
	height: 85px;
	width: auto;
	flex-shrink: 0;
}

.advantage-text {
	margin-left: 24px;
	color: #000;
	flex: 1;
}

.advantage-text > .title {
	font-family: GothamPro-Medium, sans-serif;
	font-size: 28px;
	font-weight: bold;
	line-height: 1.2;
}

.advantage-text > .description {
	font-family: GothamPro-Regular, sans-serif;
	font-size: 18px;
	line-height: 1.4;
	margin-top: 8px;
	color: #222;
}

.screen-3 > .content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
	width: 100%;
}

.screen-3 > .content > .title {
	font-family: GothamPro-Medium, sans-serif;
	font-size: 46px;
	letter-spacing: 6px;
	margin-bottom: 45px;
	text-align: center;
}

.screen-3 .content > .item {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 80%;
	margin-bottom: 30px;
}

.screen-3 .content > .item:last-child {
	margin-bottom: 0;
}

.item > img {
	width: 90px;
	height: auto;
	flex-shrink: 0;
}

.screen-3 .text {
	margin-left: 24px;
}

.screen-3 .text > .title {
	font-family: GothamPro-Narrow-Bold, sans-serif;
	font-size: 23px;
}

.screen-3 .text > .description {
	font-family: GothamPro-Medium, sans-serif;
	font-size: 15px;
	line-height: 1.4;
	margin-top: 8px;
}

.screen-3 .right {
	order: -1;
	text-align: right;
	margin-left: 0;
	margin-right: 24px;
}

.screen-3 .block-right {
	justify-content: flex-end;
}

.flex-container {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	justify-content: space-between;
}

.tariff > hr {
	border: 1px solid #fff;
}

.navbar-brand {
	margin-right: unset;
}

.navbar {
	padding-top: 30px;
}

.navbar-dark .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-toggler {
	border: none;
	outline: none;
}

a.teateam {
	font-family: FredokaOne-Regular, sans-serif;
	font-size: 11px;
	color: #1f1f1f;
	padding: 10px 20px;
	text-transform: uppercase;
	border-radius: 3px;
	background-color: #e6e6e6;
	letter-spacing: .5px;
	transition-duration: .3s;
	border: solid 1px #e6e6e6;
	cursor: pointer;

	margin-bottom: 25px;
	margin-top: 40px;
}

a.teateam:hover {
	background-color: transparent;
	color: #e6e6e6;
	text-decoration: none;
}

/* Медиа запросы */

@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu {
		display: none;
	}

	.navbar .nav-item:hover .nav-link {
		color: #fff;
	}

	.navbar .nav-item:hover .dropdown-menu {
		display: block;
	}

	.navbar .nav-item .dropdown-menu {
		margin-top: 0;
		background: #131313;
		border-radius: 5px;
		border: 1px solid #f3e03a;

	}

	.dropdown-item {
		color: #fff;
		transition-duration: .3s;
	}

	.dropdown-item:hover, .dropdown-item:focus {
		background-color: #f3e03a;
	}
}

@media (max-width: 992px) {

	.phone > a > span {
		display: none;
	}

	.navbar .phone {
		order: -1;
		font-size: 26px;
	}

	.fa-phone {
		transform: rotate(90deg);
	}

	.navbar-collapse {
		text-align: right;
		padding-right: 12px;
	}

	.screen-0 > .content {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin-top: unset;
	}

	.titles > .register-form {
		order: 1;
		width: 50vw;
		min-width: 400px;
		margin-top: 4vh;
	}

	.register-form > input, button {
		height: 5vh;
	}

	.screen-0 .titles {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 2vh;
	}

	.content .car {
		position: relative;
		right: unset;
		top: unset;
		width: 74%;
		margin-top: 4vh;
	}

	.titles > .title {
		width: unset;
		font-size: 40px;
	}

	.titles > .subtitle {
		width: unset;
	}

	.screen-1 {
		padding: 50px 0 130px 0;
	}

	.screen-1 .title {
		margin-bottom: 20px;
	}

	.screen-1 .tariffs {
		gap: 20px;
	}

	.tariffs > .tariff {
		width: calc(50% - 20px);
		min-width: 250px;
	}

	.screen-2 {
		min-height: auto;
		padding: 70px 0;
		margin-top: -45px;
		margin-bottom: -45px;
	}

	.screen-2 > .background {
		-webkit-mask-size: 100% 50px, 100% calc(100% - 100px), 100% 50px;
		mask-size: 100% 50px, 100% calc(100% - 100px), 100% 50px;
	}

	.advantage > .icon {
		height: 70px;
	}

	.advantage-text > .title {
		font-size: 24px;
	}

	.advantage-text > .description {
		font-size: 16px;
	}

	.screen-3 {
		padding: 70px 0;
	}

	.screen-3 > .content > .title {
		font-size: 36px;
		letter-spacing: 4px;
		margin-bottom: 30px;
	}

	.screen-3 .content > .item {
		width: 95%;
	}
}

@media (max-width: 576px) {

	.titles > .register-form {
		width: 85vw;
		min-width: unset;
	}

	.titles > .title {
		font-size: 30px;
		padding: 10px;
	}

	.titles > .subtitle {
		font-size: 17px;
		padding: 10px;
	}

	.content .car {
		width: 90%;
		min-width: unset;
	}

	.screen-1 {
		padding: 40px 0 60px 0;
	}

	.screen-1 .title {
		font-size: 36px;
	}

	.tariffs > .tariff {
		width: 100%;
		min-width: unset;
		margin: 8px 0;
		padding: 20px 15px;
	}

	.tariff > .title {
		font-size: 22px;
		white-space: normal;
	}

	.tariff > .price {
		font-size: 28px;
	}

	.screen-2 {
		padding: 55px 0;
		margin-top: -35px;
		margin-bottom: -35px;
	}

	.screen-2 > .background {
		-webkit-mask-size: 100% 40px, 100% calc(100% - 80px), 100% 40px;
		mask-size: 100% 40px, 100% calc(100% - 80px), 100% 40px;
	}

	.advantages > .advantage {
		padding-bottom: 18px;
		align-items: flex-start;
	}

	.advantage > .icon {
		height: 50px;
		margin-top: 3px;
	}

	.advantage-text {
		margin-left: 14px;
	}

	.advantage-text > .title {
		font-size: 20px;
	}

	.advantage-text > .description {
		font-size: 14px;
		margin-top: 4px;
	}

	.screen-3 {
		padding: 40px 0;
	}

	.screen-3 > .content > .title {
		font-size: 24px;
		letter-spacing: 2px;
		margin-bottom: 25px;
	}

	.screen-3 .content > .item {
		width: 100%;
		margin-bottom: 20px;
	}

	.item > img {
		width: 55px;
	}

	.screen-3 .text {
		margin-left: 14px;
	}

	.screen-3 .text > .title {
		font-size: 18px;
	}

	.screen-3 .text > .description {
		font-size: 13px;
	}

	.screen-3 .right {
		margin-right: 14px;
	}
}