html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Rubik', sans-serif;
	color: #000;
}

span {
	font-family: 'Ubuntu', sans-serif;
	font-weight: 500;
	font-size: 40px;
}

h1 {
	font-weight: 700;
	font-size: 50px;
	width: 710px;
	margin-bottom: 30px;
}

h2 {
	font-weight: 600;
	font-size: 40px;
}

p {
	font-weight: 400;
	font-size: 20px;
}

ul, ol, li {
	padding: 0;
  	margin: 0;
	list-style: none;
	text-decoration: none;
}

a {
	text-decoration: none;
	color: #fff;
	font-weight: 400;
	font-size: 18px;
}

button {
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background-color: transparent;
  /* отображаем курсор в виде руки при наведении; некоторые
  считают, что необходимо оставлять стрелочный вид для кнопок */
  cursor: pointer;
}

.container {
	width: 1170px;
	margin: 0 auto;
}

/*header*/

.header {
	background: url('../img/bg-main.png') center center / cover;
	padding: 45px 0 301px;
	color: #fff;
}

.container-header {
	display: flex;
	justify-content: space-between;
	align-content: center;
	align-items: center;
	margin-bottom: 211px;
}

.logo-link {
	animation: opacity 1.5s ease;
}

.menu-list {
	display: flex;
	justify-content: space-between;
	width: 436px;
	animation: opacity 1.5s ease;
}

.contact-list {
	width: 250px;
	animation: opacity 1.5s ease;
}

@keyframes opacity {
	from {opacity: 0}
	to {opacity: 1}
}

.contact-item {
	font-weight: 400;
	font-size: 20px;
	text-align: right;
}

header a {
	border-bottom: 2px solid transparent;
	transition: border-bottom .4s ease;
}

header a:hover {
	border-bottom: 2px solid white;
	transition: border-bottom .4s ease;
}

.contact-item a {
	font-size: 22px;
}

.contact-item:last-child {
	font-size: 18px;
}

.offer-title {
	animation: showLeft 1s ease;
	position: relative;
}

@keyframes showLeft {
	from {left:-95%;}
	to {left:0;}
}

.offer-text {
	width: 370px;
	font-size: 25px;
	animation: showRight 1s ease;
	position: relative;
}

@keyframes showRight {
	from {right:-95%;}
	to {right:0;}
}

/*services*/

.services {
	background: url('../img/trucks.png') right;
	background-repeat: no-repeat;
}

.container-services {
	display: flex;
	justify-content: space-between;
	align-content: center;
	align-items: center;
}

.services-list {
	width: 770px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.services-text-wrapper {
	background: url('../img/gruzoff.svg') center 5%;
	background-position: bottom 490px right -2px;
	background-repeat: no-repeat;
	animation: bg 3s ease;
	animation-iteration-count:infinite;
	-moz-animation-iteration-count:infinite;
	-webkit-animation-iteration-count:infinite;
	animation-direction: alternate;
}

@keyframes bg {
	from {background-position: bottom 490px right -2px;}
	to {background-position: bottom 0px right -2px;}
}

.services-title {
	margin-top: 110px;
	margin-bottom: 60px;
}

.services-item {
	width: 370px;
	height: 40px;
	display: flex;
	align-items: center;
	align-content: center;
}

.services-item:not(:last-child) {
	margin-bottom: 20px;
}

.tick {
	margin-right: 30px;
	border: 3px solid transparent;
	border-radius: 50%;
	transition: border .4s ease;
}

.hovered {
	border: 3px solid #023D4F;
	transition: border .4s ease;
}

.services-item p {
	margin: auto 0;
	line-height: 24px;
	letter-spacing: 0.03em;
}

/*FAQ*/

.faq {
	padding-top: 110px;
	padding-bottom: 80px;
}

.faq-title {
	margin-bottom: 50px;
}

.accordion {
  background-color: transparent;
  color: #023D4F;
  border: 1px solid #C9C9C9;
  border-radius: 10px;
  cursor: pointer;
  padding: 15px;
  width: 570px;
  border: none;
  text-align: left;
  vertical-align: middle;
  outline: none;
  font-weight: 400;
  font-size: 20px;
  transition: 0.4s;
}

.accordion #text {
	color: red;
}

.active, .accordion:hover {
  background-color: rgba(2, 61, 79, 0.2);
}

.active, .accordion:active {
	background-color: rgba(2, 61, 79, 0.4);
}

.panel {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.panel p {
	width: 470px;
	color: #023D4F;
	font-weight: 400;
  	font-size: 18px;
}

.accordion:after {
  content: '';
  float: right;
  margin-left: 5px;
  width: 50px;
  height: 50px;
  background: url('../img/indicator.svg');
  transition: 0.4s;
}

.active:after {
  content: "";
  background: url('../img/indicator-active.svg');
  transition: 0.4s;
}

.faq-wrapper {
	height: 500px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	align-content: space-between;
	flex-wrap: wrap;
}

.accordion-wrapper {
	width: 570px;
	border: 1px solid #C9C9C9;
	border-radius: 10px;
}

/*footer*/

.footer {
	border-top: 1px solid #000000;
	padding-bottom: 50px;
}

.container-footer {
	padding-top: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.footer a {
	color: #000;
}

.footer-contacts-list a, .footer-mail, .footer-rights {
	border-bottom: 2px solid transparent;
	transition: border-bottom .4s ease;
}

.footer-contacts-list a:hover, .footer-mail:hover, .footer-rights:hover {
	border-bottom: 2px solid #000;
	transition: border-bottom .4s ease;
}

.footer-logo {
	margin-right: 185px;
}

.contacts-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 590px;
}

.footer-whatsapp:hover {
	animation: whatsapp 2s ease;
	animation-iteration-count:infinite;
	animation-direction: alternate;
}

@keyframes whatsapp {
	from {transform: rotate(0)}
	to {transform: rotate(360deg)}
}

/*------------------------------------- Responsive  -----------------------------------------------*/

/*------------------------------------- Large: 992px - 1199px -------------------------------*/
@media (max-width: 1199px) {
	.container {
		width: 960px;
	}

	.services {
		background: none;
	}

	.services-list {
		width: auto;
	}

	.faq-wrapper {
		height: auto;
		justify-content: center;
	}

.accordion-wrapper:not(:last-child) {
	margin-bottom: 30px;
}

.services-text-wrapper {
	background: url('../img/gruzoff.svg') center 5%;
	background-position: bottom 490px right 95px;
	background-repeat: no-repeat;
	animation: bg2 3s ease;
	animation-iteration-count:infinite;
	-moz-animation-iteration-count:infinite;
	-webkit-animation-iteration-count:infinite;
	animation-direction: alternate;
}

@keyframes bg2 {
	from {background-position: bottom 490px right 95px;}
	to {background-position: bottom 0px right 95px;}
}

}

/*------------------------------------- Medium: 768px - 991px --------------------------------*/
@media (max-width: 991px) {
	.container {
		width: 720px;
	}

	a {
		font-size: 16px;
	}

	.header {
		padding: 45px 0 100px;
	}

	.contact-list {
		width: 140px;
	}

	.contact-item a {
		font-size: 16px;
	}

	.menu-list {
		width: 360px;
	}

	.services-text-wrapper {
		background: none;
	}

	.footer-link {
		margin-bottom: 25px;
	}


}

/* -------------------------------------Small: 576px - 767px------------------------------ */
@media (max-width: 767px) {
	.container {
		width: 540px;
	}

	h1 {
		width: auto;
	}

	.container-header {
		margin-bottom: 80px;
	}

	.menu {
		display: none;
	}

	.contact-list {
		display: none;
	}

}

/*------------------------------------- Extra small: 0px (320px) - 575px --------------------------------------*/
@media (max-width: 575px) {
	.container {
		padding: 0 15px;
		max-width: 100%;
	}

p {
		font-size: 16px;
	}

h1 {
	font-size: 25px;
}

.offer-text {
	width: auto;
	font-size: 16px;
}

.services-item {
	width: auto;
}

.tick {
	margin-right: 9px;
}

.accordion-wrapper {
	width: auto;
}

.accordion {
	width: auto;
	font-size: 16px;
	border-color: red;
	list-style: none;
	text-decoration:none;
}

.accordion:after {
	background: url(../img/indicator-mobile.svg)center center / cover;
	width: 30px;
	height: 30px;
	margin-left: 10px;
	margin-top: 5px;
/*	margin-bottom: 2px;*/

}

.active:after {
  background: url('../img/indicator-active-mobile.svg') center center / cover;
  border: none;
}

.panel p {
	font-size: 16px;
	width: auto;
}

.footer-link {
	width: 165px;
	margin-top: 30px;
}

.footer-logo {
	margin-right: 0;
}

.contacts-wrapper {
	display: block;
}

.footer-whatsapp {
	display: block;
}

.footer-mail {
	margin-top: 20px;
	margin-bottom: 20px;
}

.footer-rights {
	margin-top: 25px;
}
}
