@font-face {
  font-family: "Gilroy";
  src: url(./assets/font/Gilroy-Regular.ttf) format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Gilroy";
  src: url(./assets/font/Gilroy-ExtraBold.ttf) format("truetype");
  font-weight: 800;
}

@font-face {
  font-family: "Gilroy";
  src: url(./assets/font/Gilroy-Thin.ttf) format("truetype");
  font-weight: 100;
}

@font-face {
  font-family: "Gilroy";
  src: url(./assets/font/Gilroy-Bold.ttf) format("truetype");
  font-weight: 700;
}

@font-face {
  font-family: "Gilroy";
  src: url(./assets/font/Gilroy-Medium.ttf) format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Gilroy";
  src: url(./assets/font/Gilroy-SemiBold.ttf) format("truetype");
  font-weight: 600;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

.page {
  font-family: Gilroy, sans-serif;

  background-color: #000000;
  color: #3881da;
}

.header {
  padding: 30px 0;
  background-color: transparent;
}

.logo {
  display: block;
  margin: 0 auto;
  max-width: fit-content;
}

.section {
  padding: 0 30px 0 30px;
}

.section__wrapper {
  max-width: 1400px;
  width: 100%;

  margin: 0 auto;

  position: relative;
}

.section__wrapper_hero {
  display: flex;
  justify-content: space-between;
}

.section__wrapper_center {
  text-align: center;
}

#hero {
  background: url("./assets/hero.png") no-repeat center/min(1440px, 100%);

  display: flex;

  padding: 80px 30px 0 30px;
}

.section__content {
  max-width: 720px;
}

.section__title {
  color: #ffffff;

  font-size: clamp(32px, 5vw, 50px);
  text-transform: uppercase;

  margin-bottom: 20px;
}

.section__description {
  max-width: 460px;
  font-size: clamp(15px, 5vw, 22px);
  line-height: 30px;

  margin-bottom: 40px;
}

.section__button {
  position: relative;
}

.section__button_center {
  margin: 0 auto;
}

.button {
  position: relative;

  z-index: 2;

  outline: none;
  border: transparent;
  transform: skewX(-30deg);

  background: linear-gradient(
    135deg,
    rgba(0, 81, 254, 1) 10%,
    rgba(0, 236, 255, 1) 50%,
    rgba(55, 253, 112, 1) 89%
  );
  border-radius: 5px;

  padding: 10px 45px;

  transition: all 0.1s linear;
}

.button:active {
  transform: skewX(-30deg) translateY(7px) translateX(7px);
}

.button:hover {
  background: linear-gradient(135deg, #0157fe 65%, #01e7fe 85%);
  color: #ffffff;
}

.section__button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.button__text {
  transform: skewX(30deg);
  text-transform: uppercase;
  font-family: Gilroy, sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 5vw, 22px);
}

.button__border {
  position: absolute;
  inset: 0 0 0 0;

  z-index: 1;

  outline: none;
  transform: skewX(-30deg) translateY(10px) translateX(10px);

  color: transparent;

  border: 4px solid transparent;
  border-radius: 5px;

  background:
    linear-gradient(#000000, #000000) padding-box,
    linear-gradient(
        135deg,
        rgba(0, 81, 254, 1) 10%,
        rgba(0, 236, 255, 1) 50%,
        rgba(55, 253, 112, 1) 89%
      )
      border-box;

  box-shadow: 0 2px 10px 3px #ffffff;
}

.decor {
  position: relative;
  width: fit-content;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.decor__phone {
  /* max-width: 500px; */

  animation: up-n-down 7s linear infinite;
}

@keyframes up-n-down {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(20px);
  }
}

.decor__ball {
  width: 30%;
  position: absolute;
  top: 60%;
  right: 30%;
}

#whoisagent {
  background: url("./assets/whoisagents.png") no-repeat center/min(1440px, 100%)
    100%;

  padding: 90px 30px 60px 30px;
}

.section__title_h3 {
  font-size: clamp(32px, 5vw, 36px);
  font-weight: 600;
  margin-bottom: 20px;
  padding: 0 0 0 0;
}

.section__title_center {
  text-align: center;
}

.section__description_center {
  max-width: unset;
  text-align: center;
}

.section__title_h2 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 600;
  margin-bottom: 40px;
}

.section_list {
  padding: 64px 30px;
}

.list {
  list-style: none;
}

.list__item {
  font-size: 18px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
  line-height: 22px;
  position: relative;
  margin-bottom: 48px;
  padding-left: 120px;
  min-height: 60px;
}

.list__item::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 60px;
}

.list__item:nth-child(1)::before {
  content: url("./assets/one.png");
}
.list__item:nth-child(2)::before {
  content: url("./assets/two.png");
}
.list__item:nth-child(3)::before {
  content: url("./assets/three.png");
}

.section_howto {
  padding: 64px 30px 64px 30px;
}

.section__description_white {
  font-size: clamp(24px, 5vw, 36px);
  line-height: 42px;
  font-weight: 600;
  color: #ffffff;

  max-width: unset;
}

.section__title_contacts {
  line-height: 46px;
  font-weight: 600;
}

.contacts-form {
  margin-top: 128px;
  display: flex;
  justify-content: space-between;
}

.contacts {
  display: flex;
  flex-direction: column;
}

.contacts__list {
  margin-top: 48px;

  list-style: none;

  color: #ffffff;
}

.contacts__link {
  position: relative;
  min-height: 42px;
  margin-bottom: 48px;
  padding-left: clamp(60px, 5vw, 80px);
}

.contacts__link a {
  text-decoration: underline;
  font-size: clamp(16px, 5vw, 20px);
  font-weight: 400;
  vertical-align: middle;
  line-height: 42px;
}

.contacts__link::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 42px;
  height: 42px;
}

.contacts__link:nth-child(1)::before {
  content: url("./assets/website.png");
}

.contacts__link:nth-child(2)::before {
  content: url("./assets/email.png");
}

.form {
  margin-top: 60px;
  color: #ffffff;
  flex: 0 0 50%;
}

.form form {
  display: flex;
  flex-direction: column;
}

.form__title {
  font-size: clamp(18px, 5vw, 20px);
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.form__field {
  padding-left: clamp(50px, 5vw, 80px);
  font-size: clamp(16px, 5vw, 18px);
  font-weight: 500;
  position: relative;
}

.form__field img {
  display: inline-block;
  vertical-align: middle;
  margin-left: 15px;
  margin-right: 5px;
}

.form__field:last-of-type {
  margin-top: 25px;
  margin-bottom: 40px;
}

.form input {
  background: none;
  outline: none;
  border: none;
  border-bottom: 1px solid #ffffff;
  display: block;
  width: 100%;
  margin-bottom: 7px;
  max-width: 460px;

  height: 38px;
  color: #ffffff;
  font-family: Gilroy, sans-serif;
}

.form input:focus {
  border-bottom-color: #37fd70;
}

.form__field::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 34px;
  height: 42px;
}

.form__field_name:before {
  content: url("./assets/form-name.png");
}

.form__field_email:before {
  content: url("./assets/form-email.png");
}

.form__field_telegram:before {
  content: url("./assets/form-nickname.png");
}

.form__field a {
  text-decoration: underline;
  margin-left: 5px;
}

#agreement {
  display: inline-block;
  width: initial;
  height: auto;
  margin-bottom: unset;
  margin-right: 10px;
}

.form__status {
  min-height: 22px;
  margin: -18px 0 24px clamp(50px, 5vw, 80px);
  color: #37fd70;
  font-size: 14px;
  line-height: 22px;
}

.form__status_error {
  color: #ff6b6b;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form__button {
  max-width: 300px;
  width: 100%;
}

.footer {
  padding: 40px 30px;
  font-size: 14px;
}

.footer .section__wrapper {
  display: grid;
  grid-template: 1fr 1fr 1fr/ 1fr 165px;
}

.footer__logo {
  margin: unset;
}

.footer__button .button__border {
  position: static;
  padding: 10px 10px;
  font-size: 14px;
  line-height: 14px;
}

.footer__button .button__text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
}

.footer__links {
  grid-row: 2/3;
  grid-column: 1/2;
}

.copyright {
  grid-row: 3/4;
  grid-column: 1 / 4;
}

@media (max-width: 924px) {
  .contacts-form {
    flex-wrap: wrap-reverse;
    justify-content: center;
    align-items: center;
  }

  .contacts {
    width: 100%;
    margin-top: 85px;
  }

  .contacts__list {
    margin-top: 10px;
  }

  .contacts__link {
    margin-bottom: 30px;
  }

  .form {
    flex: 0 0 100%;
  }
}

@media (max-width: 720px) {
  #hero {
    background: url(./assets/hero.png) no-repeat 80% 100% / min(1440px, 180%);
    padding: 0px 30px 0 30px;
  }
  .section__wrapper_hero {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .decor {
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 15px;
  }

  .decor__phone {
    max-height: 400px;
  }

  .decor__ball {
    max-width: 130px;
    width: 50%;
    position: absolute;
    top: 33%;
    right: 30%;
  }

  #whoisagent {
    padding: 65px 30px 60px 30px;
  }

  .section_list {
    padding: 30px 30px 18px 30px;
  }

  .list__item {
    padding-left: 0;
    padding-top: 100px;
  }

  .section_howto {
    padding: 18px 30px 0px 30px;
  }

  .contacts-form {
    margin-top: 0px;
  }

  .form {
    flex: 0 0 100%;
  }
}

@media (max-width: 490px) {
  .footer .section__wrapper {
    grid-template: auto 1fr auto auto/ 1fr;
    row-gap: 20px;
  }

  .footer__logo {
    justify-self: center;
  }
  .footer__button {
    grid-row: 2/3;
    grid-column: 1/2;
    max-width: 166px;
    justify-self: center;
  }

  .footer__links {
    grid-row: 3/4;
    justify-self: center;
    margin-top: 20px;
  }

  .copyright {
    grid-row: 4/5;
    text-align: center;
  }
}

@media (max-width: 389px) {
  .decor__ball {
    display: none;
    visibility: hidden;
  }
}
