@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,regular,500,700&display=swap");

:root {
  --main-color: #083d5a;
  --backgr-color: #4c7185;
  --title-color: #f69f07;
}

/* Обнулення */
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-width: 320px;
  line-height: 1;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

button {
  line-height: inherit;
  font-weight: inherit;
  font-size: inherit;
  cursor: pointer;
  color: inherit;
  background-color: transparent;
}

/* Стилі за замовченням */
body {
  font-family: 'Ubuntu', sans-serif;
  font-weight: regular;
  font-size: 16px;
  color: #ffffff;
  /* background-color: #f3eeee */
}

h2 {
  font-size: calc(18px + (25 - 18) * ((100vw - 320px) / (1280 - 320)));
  font-style: normal;
  line-height: normal;
}

h3 {
  font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1280 - 320)));
  font-weight: 700;
}

.wrapper {
  min-height: 100%;
  overflow: clip;
  display: flex;
  flex-direction: column;
  background-image: url("../images/bg-main.png");
  background-color: var(--backgr-color);
  background-blend-mode: multiply;
  background-attachment: fixed;
}

.text {
  font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1280 - 320)));
  line-height: 162.5%;
  /* 26/16 */
  font-weight: 500;
}

/* Налаштування адаптиву */
[class*="__container"] {
  max-width: 1230px;
  /* Обмежуючий + відступи */
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}

/* Основні стилі */

/* Хедер */


.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;

}

.header__top {
  padding-top: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: auto
}

.contacts {
  font-size: calc(14px + (18 - 14) * ((100vw - 320px) / (1280 - 320)));
  flex-grow: 1;
}

.contacts__list {
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.question {
  padding: 6px 11px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1px solid #ffffff;
  font-weight: 300;
  font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1280 - 320)));
  line-height: 133.333333%;
  /* 24/18 */
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin-left: auto
}

.question svg {
  
}

.question-telegram {
  width: 40px;
  height: 40px;
  margin-right: 10px
}

.header__menu {}

.menu__list {
  margin-top: 25px;
  padding: 18px;
  background-color: var(--main-color);
  display: flex;
  justify-content: flex-start;
  font-size: calc(14px + (18 - 14) * ((100vw - 320px) / (1280 - 320)));
  color: #ffffff;
}

.logo img {
  width: 100px;
}

.menu__list-item {}

.menu__list-item+.menu__list-item {
  margin-left: 30px;
}

.menu__item-link {}

.page {}

.page__main {}

.main-section {}

.main-section__container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-section__content {
  margin: 30px;
  width: 50%;
}

.main-section__label,
.form__title {
  font-size: calc(22px + (24 - 22) * ((100vw - 320px) / (1280 - 320)));
  font-weight: 400;
}

.main-section__title {
  font-size: calc(30px + (40 - 30) * ((100vw - 320px) / (1280 - 320)));
  font-style: normal;
  font-weight: 700;
  line-height: 137.5%;
  /* 55/40 */
  margin-top: 30px;
  text-align: center;
}

.main-section__form {}

.form {
  width: 50%;
  margin: 0 auto;
  padding: 15px 0;
  /* background-color: var(--backgr-color); */
  /* background: transparent; */
}

.form__title {
  text-align: center;
  color: #f69f07;
}


.form__body {
  margin: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: max-content;
  grid-gap: 0 2%;
  position: relative;
}

.form__body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 61, 90, 0.8) url('../images/loading.gif') center / 50px no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease 0s;
}

.form__body._sending::after {
  opacity: 1;
  visibility: visible;
}

.form__item {
  margin: 0 0 20px 0;
}

.form__item--col2 {
  grid-column: span 2;
}

.form__label {
  display: block;
  margin: 0 0 10px 0;
  font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1280 - 320)));
}

.form__input {
  display: block;
  height: 40px;
  padding: 0 20px;
  width: 100%;
  font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1280 - 320)));
  font-family: inherit;
}

.form__input._error {
  box-shadow: 0 0 15px red;
}

.form__textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  padding: 20px;
  resize: none;
  font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1280 - 320)));
  font-family: inherit;
}

.form__input,
.form__textarea {
  border-radius: 3px;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  box-shadow: 0 0 15px #ffffff;
}


.btn-submit {
  display: block;
  margin: 25px auto;
  padding: 15px 20px;
  background-color: var(--main-color);
  font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1280 - 320)));
  color: #ffffff;
  border-radius: 5px;
}

.page__advantages {}

.advantages-section {}

.advantages-section__container {}

.advantages-section__list {

  margin-top: 30px;
  padding: 30px;
  display: flex;
  background-color: var(--main-color);
  color: #ffffff;
}

.advantages-section__item {
  padding-right: 50px;
  position: relative;
  max-width: 380px;
}



.advantages-section__link {}

.advantages-section__title {
  padding-top: 15px;
}


.advantages-section__text {
  padding: 15px 0;
}

.page__about {}

.about-section {}

.about-section__container {}

.about-section__header {
  margin-top: 30px;
  text-align: center;
  font-weight: 700;
}

.about-section__header::after {
  background-color: #f69f07;
  content: "";
  display: block;
  left: 0;
  right: 0;
  bottom: 0;
  width: 72px;
  height: 2px;
  margin: 25px auto;
}

.about-section__wraper {}

.about-section__items {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-row-gap: 3vw;
  grid-column-gap: 25%;
  justify-items: end;
}

.about-section__item {
  padding: 0 50px 0 50px;

}

.about-about {}

.about-section__title {}

.about-section__text {}


.about-about,
.about-goal,
.about-focus {
  text-align: right;

}

.about-about:before {
  background-image: url("../images/globe2.svg");
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  background-repeat: round;
  position: absolute;
  margin-left: 50px;
}

.about-goal:before {
  background-image: url("../images/goal.svg");
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  background-repeat: round;
  position: absolute;
  margin-left: 50px;
}

.about-focus:before {
  background-image: url("../images/like.svg");
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  background-repeat: round;
  position: absolute;
  margin-left: 50px;
}

.about-individual:before {
  background-image: url("../images/human_plus.svg");
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  background-repeat: round;
  position: absolute;
  margin-left: -100px;
}

.about-experts:before {
  background-image: url("../images/magistrate.svg");
  content: "";
  display: inline-block;
  width: 75px;
  height: 75px;
  background-repeat: round;
  position: absolute;
  margin-left: -100px;
}

.about-creativity:before {
  background-image: url("../images/scissors.svg");
  content: "";
  display: inline-block;
  width: 75px;
  height: 75px;
  background-repeat: round;
  position: absolute;
  margin-top: -10px;
  margin-left: -105px;
}


.page__sertprod {}

.sertprod-section {}

.sertprod-section__container {
  background-color: var(--main-color);
}

.sertprod-section__header {
  margin-top: 30px;
  padding-top: 30px;
  text-align: center;
  font-weight: 700;
}

.sertprod-section__wraper {}

.sertprod-section__items {
  margin-bottom: 30px;
}

.sertprod-section__item {}

.sertprod-items {
  display: flex;
  justify-content: center;
}

.sertprod-items__list {
  padding: 45px;
  margin: 30px 30px 60px 30px;
  background-color: var(--backgr-color);
  border-radius: 5px;
  max-width: calc((100% - 300px) / 2);
}


.sertprod-items__item {
  padding: 15px;
  font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1280 - 320)));
  list-style: disc;
}

.page__sertsist {}

.sertsist-section {}

.sertsist-section__container {}

.sertsist-section__header {
  margin-top: 30px;
  padding-top: 30px;
  text-align: center;
  font-weight: 700;
}

.sertsist-section__wraper {}

.sertsist-section__items {
  margin-top: 25px;
  padding: 35px;
  background-color: var(--main-color);
  border-radius: 10px;
}

.sertsist-section__item {
  margin-top: 25px;
  font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1280 - 320)));
}

.sertsist-section__list {
  padding: 0 25px;
  font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1280 - 320)));
}

.sertprod-items {}


.sertsist-items__list {}

.sertsist-list__item {
  list-style: disc;
}

.feedback-section__header {
  margin-top: 30px;
  padding-top: 30px;
  text-align: center;
  font-weight: 700;
}

.feedback-section__form {
  margin-top: 30px;
  width: 50%;
  background-color: var(--main-color);
  border-radius: 10px;
}

.feedback-section__form label {
  color: #ffffff;}


.footer__inner {
  background-color: var(--main-color);
  color: #ffffff;
}

.menu__list-item--underline:hover,
.contacts__list-item--red:hover {
  color: var(--title-color);
}

.footer__maim {
  padding: 40px;
}

.footer__maim-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1280 - 320)));
  line-height: 222.222222%;
  /* 40/18 */
}

.footer__main-item {
  margin: 20px;
  padding: 15px;
  /*  flex-grow: 1; */
}

.footer__main-item {}

.footer__contacts {}

.footer__contacts-item {}

.contacts__tel {  
}

.contacts__email {}

.footer-social {
  width: 35px;
  height: 35px;
}

.footer__social-items {
  display: flex;
  gap: 50px;
  align-items: center;
}

.footer-social:hover {
  border-radius: 50%;
  box-shadow: 0px 0px 25px var(--title-color); 
}

.footer__rights {
  padding: 25px;
}

.footer__rights-text {
  font-size: calc(12px + (14 - 12) * ((100vw - 320px) / (1280 - 320)));
  text-align: center;
}

button:hover {
  background-color: var(--title-color);
  color: #fff;
}



@media (max-width: 985px) {
  
  .header__top {
    padding-top: 15px;
  }

  .text:not(:last-child) {
    margin-bottom: 50px;
  }

  .contacts__list {
    display: block;
    text-align: center;
    line-height: 30px !important;
  }

  .header__top {
    display: block;
    text-align: center;
  }

  .question {
    text-align: center;
    margin: 0 auto;
  }

  .sertprod-items__list {
    max-width: calc((100% - 150px) / 2);
  }

  .main-section__container {
    flex-direction: column;
  }

  .main-section__content {
    width: 80%;
  }

  .form {
    width: 80%;
    padding-top: 10px;
    padding-bottom: 1px;
  }

  .footer__main-item {
    margin: 5px 3px 0 3px;
    padding: 3px;
  }

  .footer__maim {
    padding: 30px;
  }
}

@media (max-width: 780px) {

  .header__top {
    padding-top: 10px;
  }

  .question {
    padding: 6px 8px;
  }

  .question svg {
    margin-right: 5px;
  }

  .text {
    margin-bottom: 10px;
  }

  svg {
    height: 40px;
    text-align: left;
  }

  .contacts__list {
    padding: 10px;
  }

  .main-section__content {
    width: 100%;
    margin: 20px auto;
    ;
  }

  .contacts__list-item {
    line-height: 138.888889%;
    /* 25/18 */
  }

  .about-section__items {
    justify-items: start;
    display: flex;
    flex-direction: column;
  }

  .about-about,
  .about-goal,
  .about-focus {
    text-align: left;
  }

  .about-about:before {
    width: 35px;
    height: 35px;
    margin-left: -50px;
  }

  .about-individual:before {
    width: 35px;
    height: 35px;
    margin-left: -44px;
  }

  .about-goal:before {
    width: 35px;
    height: 35px;
    margin-left: -50px;
  }

  .about-focus:before {
    width: 35px;
    height: 35px;
    margin-left: -50px;
  }

  .about-experts:before {
    width: 45px;
    height: 45px;
    margin-left: -54px;
  }

  .about-creativity:before {
    width: 45px;
    height: 45px;
    margin-top: -10px;
    margin-left: -54px;
  }

  .form {
    width: 80%;
    padding-top: 10px;
    padding-bottom: 1px;
  }

  .form__body {
    margin: 20px;
    display: flex;
    flex-direction: column;
  }

  .btn-submit {
    margin: 10px auto;
  }

  .sertprod-items {
    flex-wrap: wrap;
  }

  .sertprod-items__list {
    max-width: 500px;
    padding: 30px 50px;
    margin: 20px 20px 30px 20px;
  }

  .advantages-section__list {
    display: none;
  }

  .menu__list {
    font-size: 14px;
    margin-top: 15px;
    padding: 10px;
    flex-basis: 150px;
    align-items: center;
    text-align: center;
    justify-content: space-around;
  }

  .main-section__title {
    margin-top: 10px;
  }

  .menu__list-item+.menu__list-item {
    margin-left: 10px;
  }

  .footer__contacts {
    text-align: center;
  }

  .sertprod-items__item {
    padding: 6px;
  }

  .footer__maim {
    padding: 25px;
  }

}

@media (max-width: 479.98px) {
  .header__top {
    padding-top: 5px;
  }  

  .about-section__header {
    margin-top: 10px;
  }

  .about-section__header::after {
    margin: 10px auto;
}

  .form {
    width: 100%;
    padding: 15px;
  }

  .form__body {
    margin: 5px;
  }

  .sertprod-items__item {
    padding: 6px;
  }

  .sertprod-items__list {
    padding: 35px;
  }

  .footer__maim {
    padding: 20px;
  }

}