@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600&family=Roboto:wght@300;400;500&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a, a:hover {
	text-decoration: none;
	-webkit-transition: all 0.5s ease;
  	-moz-transition: all 0.5s ease;
  	-o-transition: all 0.5s ease;
  	transition: all 0.5s ease;
}

body {
	height: 100vh;
	font-family: 'Oswald', Arial, sans-serif;
	font-size: 14px;
	letter-spacing: 0.05em;
	--dark-primary-color: #232F34;
	--accent-color: #F9AA33;
	--text-color: #FFF;
	--divider-color: #4A6572;
	--provisions-text: #212121;
	color: var(--text-color);
	background: #34495525;
	margin: 0;
	padding: 0;
/*	background:  no-repeat center url(../img/osago-image.jpg);
	background-size: cover;*/
}

#back-arrow:hover path {
  fill:var(--accent-color);
}

.ads-banner {
	display: block;
	width: 100%;
	max-width: 900px;
	text-transform: uppercase;
	text-align: center;
	margin: 0 auto 30px auto;
}

.ads-banner--cpa {
	display: none;
}

.ads-banner--nocpa {
	width: 100%;
	height: 60px;
	background: var(--accent-color);
	line-height: 60px;
	letter-spacing: 0.1em;
	margin: 10px 0;	
}

.ads-banner--special {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	justify-content: space-around;
	width: 100%;
	flex-basis: auto;
	margin-bottom: 20px;	
}

a.special-offer {
	display: block;
	font-family: 'Roboto', sans-serif;
	font-weight: 600;
	color: var(--dark-primary-color);
	letter-spacing: 0.1em;
	height: 64px;
	line-height: 64px;
	background: var(--accent-color);
}

a.special-offer:not(:last-child) {
	margin-bottom: 10px;
}

a.special-offer:hover {
	color: var(--accent-color);
	background: var(--dark-primary-color);
}

.ads-banner--aviasales {
	display: block;	
	width: 100%;
	letter-spacing: 0.9em;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.6em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
/*	animation: ads-banner--aviasales-text-animation 3s infinite;
*/}

.ads-banner--aviasales:hover {
	color: var(--dark-primary-color);
	background: #fff;
	animation: none;
}

@keyframes ads-banner--aviasales-text-animation {
  0% {
  	color: var(--text-color);
  }
  50% {
  	color:var(--divider-color);
  }
  100% {
  	color: var(--text-color);
  }
}

.ads-banner--728px-banner {
	display: none;
}


.wrapper {
	max-width: 900px;
	padding-left: 20px;
	padding-right: 10px;
	margin: 0 auto;
}

.center {
	max-width: 900px;
	margin: 0 auto;
}

header {
	background: var(--dark-primary-color);
	box-shadow: 0px 4px 4px rgba(35, 47, 52, 0.25);
}

.header {
	display: -webkit-inline-flex;
	display: -moz-inline-flex;
	display: -ms-inline-flex;
	display: -o-inline-flex;
	display: inline-flex;
	justify-content: space-between;
	width: 100%;
	min-height: 50px;
	color: var(--text-color);
	align-items: center;
	flex-wrap: nowrap;
}

.header-left {
	display: -webkit-inline-flex;
	display: -moz-inline-flex;
	display: -ms-inline-flex;
	display: -o-inline-flex;
	display: inline-flex;
	justify-content: space-between;
	min-height: 50px;
	align-items: center;
	flex-wrap: nowrap;
}

.logo {
	height: 30px;
	width: 35px;
}

.header-tag {
	display: inline-flex;
	margin-left: 30px;
	font-weight: 400;
	font-size: 1.15em;
	line-height: 115%;
	letter-spacing: 0.10em;
	color: var(--divider-color);
}

.menu {
	display: none;
}

h1 {
		/* Header1 */
	font-family: Oswald;
	font-style: normal;
	font-weight: 600;
	font-size: 22px;
	line-height: 120%;
	letter-spacing: 0.05em;
	color: var(--accent-color);
}

.text {
	font-family: 'Roboto', sans-serif;
	max-width: 500px;
	font-weight: 400;
	font-size: 13px;
	line-height: 140%;
	/* or 17px */
	letter-spacing: 0.05em;
	padding-bottom: 25px;
}

/*MAIN>NAV START*/

nav{
	padding: 30px 0;
	overflow: hidden;
}

nav>a {
	display: block;
	font-weight: 500;
	font-size: 1.2em;
	width: 100%;
	color: var(--text-color);
	text-align: center;
	letter-spacing: 0.1rem;
	padding: 40px 10px;
	margin: 0 10px 10px 10px;
	background: var(--divider-color); 
	/* 2money-shadow */
	box-shadow: 0px 4px 4px rgba(35, 47, 52, 0.25);
/*	border-radius: 11px 1px 1px 11px;*/
}

nav>a:hover {
	color: var(--accent-color);
	background: var(--dark-primary-color);
	margin-left: 0;
}

nav>a:last-child {
	margin-bottom: 0;
}

#nav>a:nth-child(5) {
	animation: scale-up-hor-right 0.4s 400ms cubic-bezier(0.250, 0.460, 0.450, 0.940);
}
#nav>a:nth-child(4) {
	animation: scale-up-hor-right 0.4s 300ms cubic-bezier(0.250, 0.460, 0.450, 0.940);
}
#nav>a:nth-child(3) {
	animation: scale-up-hor-right 0.4s 200ms cubic-bezier(0.250, 0.460, 0.450, 0.940);
}
#nav>a:nth-child(2) {
	animation: scale-up-hor-right 0.4s 100ms cubic-bezier(0.250, 0.460, 0.450, 0.940);
}
#nav>a:nth-child(1) {
	animation: scale-up-hor-right 0.4s 50ms cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

@keyframes scale-up-hor-right {
  0% {
  	transform: translateX(100%);
  }
  100% {
  	transform: translateX(0);
  }
}

/*MAIN>NAV END*/

/*PROVISOR START*/

.provisions {
	color: var(--provisions-text);
	margin-bottom: 30px;
}

.provisions h3 {
	margin-top: 10px;
	margin-bottom: 10px;
}

.provisions p {
	font-weight: 300;
	font-size: 0.86em;
	line-height: 120%;
	/* or 12px */
	letter-spacing: 0.05em;
}

/*PROVISOR END*/

/*FOOTER START*/

footer {
	background: var(--dark-primary-color);
	color: var(--text-color);
	padding: 20px 0;
	margin-top: 30px!important;
}

.footer {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;

}

.footer a, .copyright {
	font-weight: 400;
	font-size: 1em;
	line-height: 120%;
	letter-spacing: 0.05em;
	text-decoration-line: underline;
	color: var(--text-color);
	margin: 6px 0;
}

.footer a:hover {
	color: var(--accent-color);
}

.copyright {
	text-decoration-line: none !important;
}

.phone-number {
	font-size: 20px !important; 
	text-decoration-line: none !important;
}

.flex-sb-center {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.social-box {
	height: 32px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.social-box>a:not(:last-child){
	color: var(--text-color);
	margin-right: 10px;
}

.social-box>span {
	float: right;
}

.line {
	display: block;
	width: 60px;
	height: 100px;
	left: 10px;
	top: 0;
	background: var(--accent-color);
}


@media screen and (max-width: 420px) {

	.wrapper {
	max-width: 420px;
	}
}

@media screen and (min-width: 768px) {

	.ads-banner--special {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	-o-flex-direction: row;
	flex-direction: row;
	justify-content: space-around;
	width: 100%;
	flex-basis: auto;
	margin-bottom: 20px;	
	}

	a.special-offer {
		width: 48%;
	}

	.ads-banner--cpa {
	display: block;
	}

	.ads-banner--cpa>a {
		margin-bottom: 20px;
	}

	.ads-banner--728px-banner {
	display: inline-block;
	}

	nav>a {
	font-size: 1.3em;
	}

	.off {
		display: none;
	}
}