@font-face {
  font-family: 'century';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/century-normal.woff2") format("woff2"), url("../fonts/century-normal.woff") format("woff");
}

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
  border-radius: 0;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

body {
  font-family: 'century';
  font-size: 16px;
  line-height: 120%;
  background-color: #ffffff;
  font-weight: 400;
  color: #000000;
}

.container {
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 15px;
}

.title-box {
  padding-bottom: 25px;
  margin-bottom: 25px;
  margin: 0 15px 25px 15px;
  position: relative;
}

.title-box::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #C6C6C6;
  bottom: 0;
  left: 0;
}

.title {
  font-size: 18px;
  line-height: 100%;
  padding-left: 13px;
  text-transform: uppercase;
  position: relative;
}

.title::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #000;
  border-radius: 50%;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.form__input._error {
  border-color: red;
}

.header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  padding: 40px 0;
  z-index: 60;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-transition: padding .5s, background-color .3s;
  -o-transition: padding .5s, background-color .3s;
  transition: padding .5s, background-color .3s;
}

@media (max-width: 767px) {
  .header {
    padding: 30px 0;
  }
}

.header--active {
  padding: 20px 0;
  -webkit-transition: padding .5s;
  -o-transition: padding .5s;
  transition: padding .5s;
}

.header--opacity {
  background-color: white;
  -webkit-transition: background-color .3s;
  -o-transition: background-color .3s;
  transition: background-color .3s;
}

.header--message {
  position: relative;
}

.header--message.header--active {
  padding: 60px 0;
}

.header--message.header--active .header__logo {
  max-height: 110px !important;
}

.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0 15px;
}

.header__logo {
  max-height: 110px;
  -webkit-transition: max-height .5s;
  -o-transition: max-height .5s;
  transition: max-height .5s;
}

@media (max-width: 575px) {
  .header__link {
    display: block;
    margin-right: 30px;
  }
}

@media (max-width: 575px) {
  .header__logo {
    width: 100%;
  }
}

.header__logo--active {
  max-height: 80px;
  -webkit-transition: max-height .5s;
  -o-transition: max-height .5s;
  transition: max-height .5s;
}

.menu__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 575px) {
  .menu__items {
    display: block;
  }
}

.menu__item:not(:last-child) {
  margin-right: 35px;
}

@media (max-width: 767px) {
  .menu__item:not(:last-child) {
    margin-right: 25px;
  }
}

@media (max-width: 575px) {
  .menu__item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 25px;
  }
}

.menu__link {
  color: #000;
  font-size: 18px;
  -webkit-transition: color .3s;
  -o-transition: color .3s;
  transition: color .3s;
  white-space: nowrap;
}

.menu__link:hover {
  color: #4a7b9e;
  -webkit-transition: color .3s;
  -o-transition: color .3s;
  transition: color .3s;
}

.homepage {
  min-height: 66vw;
  background-image: url("../img/top-img.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  margin-bottom: 50px;
  position: relative;
}

.homepage::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.homepage__container {
  width: 100%;
}

.homepage__text {
  position: relative;
  color: #ffffff;
  max-width: 860px;
  margin: 0 15px;
  font-size: 48px;
  line-height: 130%;
  margin-bottom: 39%;
  padding-left: 32px;
}

@media (max-width: 1600px) {
  .homepage__text {
    margin-bottom: 20%;
  }
}

@media (max-width: 1200px) {
  .homepage__text {
    font-size: 40px;
    margin-bottom: 10%;
  }
}

@media (max-width: 991px) {
  .homepage__text {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .homepage__text {
    font-size: 20px;
    margin-bottom: 80px;
    margin-top: 157px;
  }
}

@media (max-width: 575px) {
  .homepage__text {
    font-size: 18px;
    margin-bottom: 50px;
  }
}

.homepage__text::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: #ffffff;
  left: 0;
  top: 0;
}

.about--margin {
  margin-bottom: 130px;
}

@media (max-width: 767px) {
  .about--margin {
    margin-bottom: 60px;
  }
}

.about__title-box {
  margin-bottom: 30px;
}

.about__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (max-width: 1200px) {
  .about__items {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 2px 2px;
  }
}

@media (max-width: 767px) {
  .about__items {
    display: block;
  }
}

.about__item {
  max-width: 385px;
  width: 100%;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  padding: 72px 40px;
  position: relative;
}

@media (max-width: 1200px) {
  .about__item {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .about__item {
    margin: 0 auto 2px auto;
  }
}

.about__item::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  left: 0;
  top: 0;
}

.about__item:not(:last-child) {
  margin-right: 2px;
}

@media (max-width: 767px) {
  .about__item:not(:last-child) {
    margin-right: auto;
  }
}

.about__item:first-child {
  background-image: url("../img/about-1.jpg");
}

.about__item:nth-child(2) {
  background-image: url("../img/about-2.jpg");
}

.about__item:last-child {
  background-image: url("../img/about-3.jpg");
}

.about__item--two:first-child {
  background-image: url("../img/about-4.jpg");
}

.about__item--two:nth-child(2) {
  background-image: url("../img/about-5.jpg");
}

.about__item--two:last-child {
  background-image: url("../img/about-6.jpg");
}

.about__item--three:first-child {
  background-image: url("../img/about-7.jpg");
}

.about__item--three:nth-child(2) {
  background-image: url("../img/aboutt-8.jpg");
}

.about__item--three:last-child {
  background-image: url("../img/about-9.jpg");
}

.about__content {
  position: relative;
}

.about__item-title {
  font-size: 22px;
  text-align: center;
  margin-bottom: 30px;
}

.about__item-text {
  text-align: center;
  font-size: 18px;
}

.about__list-item {
  max-width: 184px;
  margin: 0 auto;
  padding-left: 20px;
  position: relative;
}

.about__list-item::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.about__list-item:not(:last-child) {
  margin-bottom: 3px;
}

.footer {
  padding-bottom: 80px;
}

.footer__bottom {
  margin: 0 15px;
}

.footer__bottom-top {
  margin-bottom: 3px;
}

.footer__info {
  color: #000000;
}

.message {
  position: relative;
}

.message::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../img/gufdh.gif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 140px 100px;
  background-color: #ffffff;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: none;
}

.message._sending::after {
  display: block;
}

.message__subtitle {
  display: block;
  text-align: center;
  font-size: 20px;
  margin-bottom: 30px;
}

.message__title-box {
  margin-bottom: 60px;
}

.form {
  max-width: 805px;
  margin: 0 auto 70px auto;
}

.form__label {
  display: block;
  max-width: 100%;
  margin-bottom: 30px;
}

.form__input, .form__textarea {
  width: 100%;
  padding: 15px 10px;
  outline: none;
  font-size: 18px;
  color: #000000;
  border: 1px solid #C6C6C6;
}

.form__input::-webkit-input-placeholder, .form__textarea::-webkit-input-placeholder {
  font-size: 18px;
  line-height: 100%;
  font-family: 'century';
}

.form__input::-moz-placeholder, .form__textarea::-moz-placeholder {
  font-size: 18px;
  line-height: 100%;
  font-family: 'century';
}

.form__input:-ms-input-placeholder, .form__textarea:-ms-input-placeholder {
  font-size: 18px;
  line-height: 100%;
  font-family: 'century';
}

.form__input::-ms-input-placeholder, .form__textarea::-ms-input-placeholder {
  font-size: 18px;
  line-height: 100%;
  font-family: 'century';
}

.form__input::placeholder, .form__textarea::placeholder {
  font-size: 18px;
  line-height: 100%;
  font-family: 'century';
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__box {
  text-align: center;
  margin-top: 30px;
}

.form__btn {
  background-color: #72b1de;
  font-size: 18px;
  color: #ffffff;
  padding: 20px 40px;
  -webkit-transition: background-color .3s;
  -o-transition: background-color .3s;
  transition: background-color .3s;
}

.form__btn:hover {
  background-color: #4a7b9e;
  -webkit-transition: background-color .3s;
  -o-transition: background-color .3s;
  transition: background-color .3s;
}

.form__text {
  display: none;
  color: red;
  margin-bottom: 5px;
}

.form__text--active {
  display: block;
}