* {
  margin: 0;
  padding: 0;
  font-family: "Regular", sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}

.container {
  max-width: 1170px;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0 50px;
  background-image: url(../img/header_back.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

.header__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo__text {
  font-family: "Bold", sans-serif;
  color: #D0D0D5;
  line-height: 22px;
  margin-left: 30px;
}

.header__cont_menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header__contacts {
  display: flex;
  justify-content: space-between;
  width: 500px;
}

.header__lang {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-family: "Medium", sans-serif;
  color: #CDCFD5;
  text-transform: uppercase;
}

.header__lang__icon {
  margin: -4px 10px 0 0;
}

.header__lang__ru {
  margin-right: 10px;
}

.header__email a {
  color: #CED0D8;
  line-height: 26px;
  text-decoration: underline;
  transition: all 0.1s ease-in-out;
}

.header__email a:hover {
  color: #fff;
}

.header__phone a {
  font-family: "Medium", sans-serif;
  font-size: 20px;
  line-height: 26px;
  color: #fff;
  transition: all 0.1s ease-in-out;
}

.menu__btn {
  width: 35px;
  padding: 10px 0 3px;
  text-align: center;
  display: none;
}

.menu__btn div {
  height: 3px;
  background-color: #fff;
  margin-bottom: 7px;
  border-radius: 6px;
}

.menu {
  display: flex;
  list-style: none;
  padding: 20px 0 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.menu li {
  margin-left: 50px;
}

.menu li:first-child {
  margin-left: 0;
}

.menu li a {
  font-family: "Medium", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  color: #DBDBDB;
  position: relative;
  transition: all 0.1s ease-in-out;
}

.menu li a:before {
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: transparent;
  top: 30px;
  left: 0;
}

.menu li a:hover {
  color: #fff;
  text-decoration: none;
}

.menu li a:hover:before {
  background-color: #fff;
}

#main {
  background-image: url(../img/main1.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 1px 0 150px;
}

h1 {
  font-size: 40px;
  font-family: "Medium", sans-serif;
  text-transform: uppercase;
  margin-top: 285px;
  padding: 20px;
  border-radius: 5px;
  background-color: #3C4567;
  max-width: 565px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.main__subtitle {
  font-size: 32px;
  font-family: "Medium", sans-serif;
  padding: 20px;
  border-radius: 5px;
  background-color: #3C4567;
  margin-left: 20px;
}

.main__form__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 85px;
  background-image: url(../img/form.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 45px 60px;
  border-radius: 5px;
}

.form__text {
  font-family: "Medium", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  margin-right: 25px;
  white-space: nowrap;
}

input, select {
  width: 205px;
  height: 48px;
  padding: 10px;
  border-radius: 5px;
  margin-right: 25px;
  border: none;
  font-size: 14px;
}

input::-webkit-input-placeholder, select::-webkit-input-placeholder {
  color: #A7A7A7 !important;
}

input::-moz-placeholder, select::-moz-placeholder {
  color: #A7A7A7 !important;
}

input:-ms-input-placeholder, select:-ms-input-placeholder {
  color: #A7A7A7 !important;
}

select {
  color: #A7A7A7;
  -webkit-appearance: none;
  background: url(../img/Vector.svg) no-repeat #FFFFFF;
  background-position: 92% 50%;
}

option:not(:first-of-type) {
  color: black;
}

.main_btn {
  width: 205px;
  height: 48px;
  font-family: "Medium", sans-serif;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  background-color: #EA2E34;
  border: none;
  border-radius: 5px;
  transition: all 0.2s ease-in-out;
  position: relative;
  z-index: 3;
}

.main_btn:before {
  content: '';
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0.8);
  transition: all 0.2s ease-in;
}

.main_btn:hover {
  background-color: #EA0609;
}

.main_btn:hover:before {
  border: 2px solid #A7A7A7;
  transform: scale(1.1, 1.3);
}

h2 {
  font-family: "Medium", sans-serif;
  font-size: 32px;
  color: #3C4567;
  text-transform: uppercase;
  margin-bottom: 30px;
}

#about {
  padding: 150px 0;
}

.about__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about__item {
  width: 49%;
}

.about__item__imageWrap {
  position: relative;
  height: 425px;
  margin-left: -25px;
}

.about__item__car {
  position: absolute;
  top: 21%;
  left: 20px;
  z-index: 3;
}

.about__item__logo {
  position: absolute;
  top: -12%;
  left: 0;
  z-index: 1;
}

.standart__text {
  color: #4F4F4F;
  line-height: 26px;
}

.standart__text ul {
  margin-left: 18px;
}

#growth {
  padding: 100px 0 260px;
  background-image: url(../img/main2.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#growth .standart__text {
  max-width: 575px;
}

#structure {
  padding: 150px 0;
}

.structure__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.structure__item {
  width: 50%;
}

#cooperation {
  padding: 100px 0 260px;
  background-image: url(../img/main3.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cooperation__wrap {
  display: flex;
  justify-content: flex-end;
}

.cooperation__item {
  max-width: 560px;
}

footer {
  overflow: hidden;
}

.footer__wrap {
  display: flex;
  justify-content: space-between;
}

.footer__contacts {
  width: 25%;
  padding-top: 120px;
}

.footer__contacts__item {
  color: #A7A7A7;
  text-decoration: underline;
  margin-bottom: 20px;
}

.footer__contacts__item img {
  margin-right: 10px;
}

.footer__contacts__item a {
  color: #A7A7A7;
}

.footer__contacts__phone {
  padding-top: 10px;
  margin-bottom: 30px;
}

.footer__contacts__phone a {
  font-family: "Medium", sans-serif;
  font-size: 18px;
  color: #4F4F4F;
}

.footer__contacts__author {
  margin-top: 110px;
  line-height: 24px;
}

.footer__contacts__author a {
  color: #A7A7A7;
  font-size: 14px;
  text-decoration: underline;
}

.footer_span {
  font-family: "Medium", sans-serif;
  color: #A7A7A7;
  font-size: 14px;
}

.ymap-container {
  position: relative;
  cursor: pointer;
  width: 74%;
}

.ymap-container img {
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 200%;
  position: absolute;
  top: 0;
  left: 0;
}

#map-yandex {
  position: relative;
  z-index: 7;
  width: 200%;
  height: 575px;
  cursor: pointer;
  background-color: transparent;
}

.loader {
  position: absolute;
  z-index: 15;
  top: -100%;
  left: 0;
  box-sizing: border-box;
  width: 200%;
  height: 100%;
  overflow: hidden;
  color: #000000;
  transition: opacity .7s ease;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.loader:after, .loader:before {
  box-sizing: border-box;
}

.loader.is-active {
  top: 0;
  opacity: 1;
}

.loader-default:after {
  position: absolute;
  top: calc(50% - 24px);
  left: calc(50% - 24px);
  width: 48px;
  height: 48px;
  content: '';
  animation: rotation 1s linear infinite;
  border: solid 8px #ffffff;
  border-left-color: transparent;
  border-radius: 50%;
}

@keyframes rotation {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(359deg);
  }
}

@keyframes blink {
  from {
    opacity: .5;
  }
  to {
    opacity: 1;
  }
}

.modal-dialog {
  max-width: 350px;
}

.modal h3 {
  padding: 40px 0 20px;
  font-family: "Medium", sans-serif;
  color: #333333;
  text-align: center;
}

.modal input, .modal select {
  width: 100%;
  margin-bottom: 25px;
  border: 2px solid #A7A7A7;
}

.modal .main_btn {
  display: block;
  margin: 0 auto;
}

.close {
  width: 30px;
  height: 30px;
}

.close span {
  font-size: 30px;
}

.mailSent {
  font-family: "Medium", sans-serif;
  margin-top: 20px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid green;
  text-align: center;
  display: none;
}

/*------- media  --------*/
@media (max-width: 1199px) {
  .menu__btn {
    display: block;
    cursor: pointer;
  }
  .header__menu {
    position: relative;
  }
  .menu {
    position: absolute;
    display: none;
    top: 45px;
    right: 0;
    background-color: #636C8E;
    padding: 30px;
    border: 2px solid #fff;
    border-radius: 5px;
    z-index: 10;
  }
  .menu li {
    margin: 0 0 15px;
  }
  .menu li:last-child {
    margin-bottom: 0;
  }
  .menu li a:before {
    top: 20px;
  }
  .main__form__wrap {
    padding: 30px;
  }
  .form__text {
    font-size: 18px;
  }
  .about__item__car, .about__item__logo {
    width: auto;
  }
  .about__item__car img, .about__item__logo img {
    max-width: 90%;
  }
  .structure__item__image img {
    max-width: 100%;
  }
  .footer__contacts {
    width: 35%;
  }
  .ymap-container {
    width: 65%;
  }
}

@media (max-width: 880px) {
  .header__wrap {
    align-items: flex-start;
  }
  .header__contacts {
    flex-direction: column;
    width: auto;
  }
  .header__lang {
    justify-content: flex-end;
    margin-bottom: 15px;
  }
  .header__email, .header__phone {
    text-align: right;
    margin-bottom: 15px;
  }
  h1 {
    font-size: 35px;
    max-width: 510px;
  }
  .main__subtitle {
    font-size: 27px;
  }
  .main__form__wrap {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .main__form__wrap .main_btn {
    width: 43%;
    margin: 30px 10px 0;
  }
  .form__text {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }
  select {
    width: 43%;
    margin: 30px 10px 0;
  }
  .about__wrap {
    flex-wrap: wrap-reverse;
  }
  .about__item {
    width: 99%;
  }
  .about__item__imageWrap {
    text-align: center;
    margin-top: 50px;
    height: 330px;
  }
  .structure__wrap {
    flex-wrap: wrap;
  }
  .structure__item {
    width: 100%;
  }
  .structure__item__image {
    text-align: center;
    margin-top: 50px;
  }
  .structure__item__image img {
    max-width: 100%;
  }
  #cooperation {
    background-position: top right;
  }
  .cooperation__wrap {
    justify-content: flex-start;
  }
}

@media (max-width: 785px) {
  .footer__wrap {
    flex-wrap: wrap;
  }
  .footer__contacts {
    width: 100%;
    padding: 40px 0;
    z-index: 20;
  }
  .ymap-container {
    width: 100%;
  }
  .footer__contacts__author {
    margin-top: 40px;
  }
  #map-yandex {
    height: 450px;
  }
}

@media (max-width: 575px) {
  .header__wrap {
    flex-direction: column;
  }
  .header__contacts {
    flex-direction: column-reverse;
    margin-top: 20px;
  }
  .header__lang {
    justify-content: flex-start;
  }
  .header__email, .header__phone {
    text-align: left;
  }
  .header__email a, .header__lang {
    color: #fff;
  }
  .header__cont_menu {
    align-items: flex-start;
  }
  .menu {
    right: auto;
    left: 0;
  }
  #main {
    padding-bottom: 50px;
  }
  h1 {
    font-size: 32px;
    max-width: 100%;
    margin-top: 340px;
    position: static;
    box-shadow: none;
  }
  .main__subtitle {
    font-size: 22px;
    margin: -30px 0 0;
    display: block;
    width: 100%;
  }
  .main__form__wrap {
    margin-top: 50px;
  }
  .main__form__wrap .main_btn {
    width: 93%;
    margin: 30px 0 0;
  }
  .form__text {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }
  select {
    width: 93%;
    margin: 30px 0 0;
  }
  h2 {
    font-size: 28px;
  }
  #about {
    padding: 70px 0 40px;
  }
  #growth, #structure, #cooperation {
    padding: 70px 0;
  }
}

@media (max-width: 400px) {
  .main__subtitle {
    font-size: 18px;
  }
  .about__item__imageWrap {
    height: 250px;
  }
}

/*------- fonts --------*/
@font-face {
  font-family: "Regular";
  src: url("../fonts/Rubik-Regular.ttf");
  font-style: regular;
  font-weight: normal;
}

@font-face {
  font-family: "Medium";
  src: url("../fonts/Rubik-Medium.ttf");
  font-style: regular;
  font-weight: normal;
}

@font-face {
  font-family: "Bold";
  src: url("../fonts/Rubik-Bold.ttf");
  font-style: regular;
  font-weight: normal;
}
