/*Add Fonts*/
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.eot');
    src: url('../fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Roboto-Regular.woff2') format('woff2'),
        url('../fonts/Roboto-Regular.woff') format('woff'),
        url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/BebasNeueBold.eot');
    src: url('../fonts/BebasNeueBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/BebasNeueBold.woff2') format('woff2'),
        url('../fonts/BebasNeueBold.woff') format('woff'),
        url('../fonts/BebasNeueBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.eot');
    src: url('../fonts/Roboto-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Roboto-Light.woff2') format('woff2'),
        url('../fonts/Roboto-Light.woff') format('woff'),
        url('../fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.eot');
    src: url('../fonts/Roboto-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Roboto-Medium.woff2') format('woff2'),
        url('../fonts/Roboto-Medium.woff') format('woff'),
        url('../fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.eot');
    src: url('../fonts/Roboto-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Roboto-Bold.woff2') format('woff2'),
        url('../fonts/Roboto-Bold.woff') format('woff'),
        url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.eot?69701582');
  src: url('../fonts/fontello.eot?69701582#iefix') format('embedded-opentype'),
       url('../fonts/fontello.woff2?69701582') format('woff2'),
       url('../fonts/fontello.woff?69701582') format('woff'),
       url('../fonts/fontello.ttf?69701582') format('truetype'),
       url('../fonts/fontello.svg?69701582#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../fonts/fontello.svg?69701582#fontello') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: never;
 
  display: inline-block;
  text-decoration: inherit;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-attach:before { content: '\e800'; } /* '' */
.icon-email:before { content: '\e801'; } /* '' */
.icon-clock:before { content: '\e802'; } /* '' */
.icon-phone:before { content: '\e803'; } /* '' */
.icon-location:before { content: '\e804'; } /* '' */
.icon-user:before { content: '\e805'; } /* '' */
.icon-facebook:before { content: '\f09a'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-vkontakte:before { content: '\f189'; } /* '' */
/* Specification */

*::before,
*::after {
	position: absolute;
	content: "";
}

body {
	font-family: 'Roboto', sans-serif;
	color: #fff;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 18px;
}

.container {
	max-width: 1170px;
	margin: 0 auto;
}

.main {
	max-width: 1920px;
	margin: 0 auto;
}

div, p, form, input, a, span, button {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

img {
	max-width: 100%;
}

p {
	margin: 0;
	font-weight: normal;
	line-height: 1.5em;
}

ul, li {
	display: block;
	padding: 0;
	margin: 0;
}

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

a, button, input {
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	cursor: pointer;
}

input, input:hover, input:focus, input:active,
button, button:hover, button:focus, button:active {
	outline: none;
}

h1 {
	font-size: 48px;
}


h1,h2,h3,h4,h5,h6 {
	padding: 0;
	margin: 0;
}


.btn {
	width: 385px;
	height: 68px;
	box-shadow:  0 5px 13px rgba(250, 237, 237, 0.46);
	border-radius: 10px;
	background-color: #ffffff;
	background-image: linear-gradient(to top, rgba(255, 138, 0, 0.99) 0%, rgba(255, 208, 47, 0.99) 100%);
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	font-weight: 500;
	border: none;
	font-size: 16px;
	position: relative;
	overflow: hidden;
	letter-spacing: 0.4px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	cursor: pointer;
	flex-shrink: 0;
	font-family: 'Gilroy', sans-serif;
}

.btn::before {
	margin-left: 60px;
	content: " ";
	width: 30px;
	height: 300px;
	background: rgba(255,255,255,0.8);
	position: absolute;
	-webkit-animation-delay: 0.05s;
	animation-delay: 0.05s;
	left: -100px;
	top: -150px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	-webkit-animation: span-2 3s ease-in-out infinite;
	animation: span-2 3s ease-in-out infinite;
}

@-webkit-keyframes span-2 {
	0% {
		left: -30px;
	}
 
	30% {
		left: 110%;
	}
 
	100% {
		left: 110%;
	}
 }

@keyframes span-2 {
	0% {
		left: -30px;
	}
 
	30% {
		left: 110%;
	}
 
	100% {
		left: 110%;
	}
 }

.btn:hover, .btn:active, .btn:focus {
	-webkit-box-shadow: none;
	        box-shadow: none;
	        transition: 0.3s;
}

/* Header */

.header {
	padding-top: 25px;
	background: url(../img/bg_header.jpg) no-repeat 20% top/cover;
	position: relative;
	height: 100vh;
}

.header-nav {
	display: flex;
	width: 100%;
	align-items: center;
	max-width: 850px
}

.header-nav i {
	color: #ffd200;
	margin-right: 20px;
	color: #00a1c1;
}

.header-nav__info {
	font-size: 16px;
	display: flex;
	margin-left: 48px;
}

.header-nav__info span {
	display: block;
}

.header-nav__contacts {
	margin-left: auto;
	margin-right: 40px;
}

.header-nav__contacts a {
	font-weight: 500;
	color: #fff;
	font-size: 20px;
	display: flex;
	align-items: center;
}

.header-nav__contacts i {
	width: 20px;
	height: 20px;
	font-size: 22px;
	margin-right: 10px;
	font-weight: 700;
}

.quiz-offer {
	margin: 62px auto 0 auto;
}

.quiz-offer__title {
	max-width: 750px;
	margin-bottom: 48px;
	line-height: 57px;
	letter-spacing: 1px;
	font-family: 'Bebas Neue';
}

.quiz-offer__title span {
	font-weight: 800;
	color: #ffc72b;
}

.quiz-offer__text {
	font-size: 24px;
	font-weight: 300;
	max-width: 452px;
	margin-bottom: 36px;
	position: relative;
}

.quiz-offer__text:before {
	width: 78px;
	height: 192px;
	background: url(../img/arrow.png) no-repeat;
	left: -100px;
	top: 50px;
}

.quiz-offer__wrap {
	display: flex;
}

.note {
	position: absolute;
	left: 25px;
	bottom: -25px;
	font-size: 13px;
	width: 130%;
}

.quiz-offer__desc {
	display: flex;
	align-items: center;
}

.quiz-offer__desc:first-child {
	margin-right: 54px;
	position: relative;
}

.quiz-offer__desc:last-child {
	position: relative;
}

.quiz-offer__desc:first-child:before {
	position: absolute;
	content: "";
	width: 30px;
	height: 30px;
	background: url(../img/plus.png) no-repeat center top/cover;
	right: -40px;
}

.quiz-offer__img {
	width: 64px;
	height: 58px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
	box-shadow: 0 0 9px 1px rgba(70, 222, 249, 0.28);
	background-color: #acb0b3;
	background-image: linear-gradient(to top, rgba(9, 69, 81, 0.99) 0%, rgba(0, 161, 193, 0.99) 100%);
}

.quiz-offer__desc p {
	font-size: 18px;
	width: 216px;
	height: 43px;
	box-shadow: 0 3px 8px 1px rgba(150, 150, 150, 0.14);
	background-color: rgba(71, 71, 71, 0.76);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	position: relative;
}

.quiz-btn {
	margin-top: 65px;
	color: #1b2426;
	font-size: 16px;
	letter-spacing: -0.18px;
}



/*-----Media Queries-----*/

/*------1201px  -  1366px-------*/

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

/*------992px  -  1200px-------*/

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

/*------769px  -  991px-------*/

@media screen and (max-width: 991.9px) {
	h1 {
		font-size: 46px;
	}

	.header {
		background-position-x: 30%; 
	}

}

/*------576px  -  768px-------*/

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

	.header {
		background-position-x: 41%;
	}

	.header-nav__info {
		margin-left: 28px;
	}

	.header-nav__contacts {
		margin-right: 0;
	}

	.header-nav__contacts a {
	   font-size: 18px;
           flex-shrink: 0;
        }

	.quiz-offer {
		margin-top: 45px;
	}

	h1 {
		font-size: 40px;
	}

	.quiz-offer__title {
		line-height: 48px;
		margin-bottom: 25px;
		max-width: 600px;
	}

	.quiz-offer__text {
		font-size: 22px;
	}

	.quiz-offer__img {
		position: relative;
		z-index: 10;
	}

	.quiz-offer__desc:not(:last-child) {
		margin-right: 34px;
	}

	.quiz-offer__desc:not(:last-child)::before {
		right: -27px;
	}

	.quiz-offer__desc p {
		width: 200px;
		font-size: 16px;
		position: relative;
		left: -10px;
		z-index: 0;
	}

	.quiz-btn {
		width: 355px;
	}

}

/*------401px  -  576px-------*/

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

	.header {
		padding-bottom: 80px;
	}

	h1 {
		font-size: 36px;
	}

	.header-nav {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.header-wrap {
		margin-left: auto;
	}

	.header-nav__contacts {
		text-align: center;
	}

	.header-nav__contacts a {
		display: flex;
		justify-content: center;
		margin-bottom: 9px;
	}

	.header-nav__info {
		font-size: 14px;
		font-weight: 300;
		margin-left: 0;
	}

	.header-nav__logo img {
		width: 83px;
	}

	.header-nav__info {
		display: flex;
	}

	.quiz-offer__title {
		max-width: 350px;
	}

	.quiz-offer__title br {
		display: none;
	}

	.quiz-offer__text {
		font-size: 19px;
		max-width: 375px;
	}

	.quiz-offer__wrap {
		flex-direction: column;
	}

	.quiz-offer__desc:not(:last-child) {
		margin-right: 0;
		margin-bottom: 20px;
	}

	.quiz-offer__desc:not(:last-child)::before {
		right: 0;
		left: 135px;
		top: 55px;
		width: 26px;
		height: 26px;
	}

}


/*------320px  -  400px-------*/

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

	.header {
		padding-top: 15px;
		background: url(../img/bg_header-mob.jpg) no-repeat center top/cover;
	}

	.header-nav {
		flex-wrap: nowrap;
	}

	.header-nav__info {
		text-align: center;
		font-size: 12px;
	}

	h1 {
		font-size: 33px;
	}

	.quiz-offer {
		margin-top: 30px;
	}

	.quiz-offer__title {
		line-height: 44px;
	}

	.quiz-offer__text {
		font-size: 18px;
		margin-bottom: 20px;
		max-width: 185px;
		line-height: 28px;
	}

	.quiz-offer__text span {
		font-weight: 500;
	}

	.quiz-offer__desc {
		max-width: 343px;
		width: 100%;
	}

	.quiz-offer__desc p {
		width: 211px;
	}

	.quiz-offer__desc:first-child p {
		width: 171px;
	}

	.quiz-btn {
		max-width: 326px;
		width: 100%;
		font-size: 16px;
	}
}

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

	.header-nav__contacts a {
		font-size: 18px;
	}

	.header-nav__info {
		font-size: 10px;
	}

	h1 {
		font-size: 30px;
	}

	.quiz-btn {
		font-size: 15px;
	}
}

