@font-face {
  font-family: "Axiforma";
  font-style: normal;
  font-weight: 400;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("Axi"),
    /* Если не получилось, загрузит woff2 */
      url("../fonts/Axiforma-Regular.ttf") format("ttf"),
    url("../fonts/Axiforma-Regular.eot") format("eot"),
    url("../fonts/Axiforma-Regular.woff") format("woff");
}
@font-face {
  font-family: "Axiforma Bold";
  font-style: normal;
  font-weight: 900;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("Axi Bold"),
    /* Если не получилось, загрузит woff2 */
      url("../fonts/Axiforma-ExtraBold.ttf") format("ttf"),
    url("../fonts/Axiforma-ExtraBold.woff") format("woff"),
    url("../fonts/Axiforma-ExtraBold.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

body {
  background: url("../image.png");
  background-repeat: no-repeat;
  background-size: cover;
  /*height: 100vh;*/
  padding: 0;
  margin: 0;
  font-family: "Axiforma";
}

header {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0.7rem 0 0.7rem 0.7rem;
  position: relative;
  height: 5rem;
}

.logo {
  /*position: absolute;*/
  /*left: 0;*/
}

header .logo svg {
  width: 100%;
  max-width: 200px;
  position: absolute;
  left: 6px;
  right: auto;
  top: 1px;
}

.header_text {
  background-color: #dd3129;
  padding: 2px 8px;
  border-bottom-left-radius: 20px;
  border-top-left-radius: 20px;
  width: 100%;
  max-width: 180px;
  text-align: center;
  position: absolute;
  right: 0;
}

.header_text p {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
}

header img {
  position: relative;
  top: 60px;
  /* right: 0; */
  width: 130px;
}

.main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 60px;
}

.top {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 4rem;
}

.top_title {
  margin: 0;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: 300;
  color: rgb(25, 25, 25);
  font-family: "Axiforma";
  line-height: 1.15;
}

.top_title strong {
  /*font-weight: bold;*/
  font-family: "Axiforma Bold";
}
.top_text {
  font-family: "Axiforma";
  font-size: 2.3rem;
  margin: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 386px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1rem;
  border-radius: 20px;
  margin: 40px auto 20px auto;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form_title {
  text-align: center;
}

input[name="phone2"] {
  margin: 10px 0 !important;
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
  margin: 10px 0;
  max-width: 370px;
}

.iti {
  display: flex !important;
  justify-content: center;
}

input {
  display: flex;
  padding: 12px;
  font-size: 18px;
  width: 100%;
  border-radius: 10px;
  border: 2px solid #575555;
  margin: 10px 0 !important;
  outline: none;
}

input.chek {
  width: 30px;
}

label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.reg_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 340px;
  width: 100%;
  padding: 12px;
  background: rgb(87, 194, 244);
  background: linear-gradient(
    180deg,
    rgb(87, 194, 244) 0%,
    rgb(84, 54, 232) 100%
  );
  border: none;
  outline: none;
  border-radius: 10px;
  color: white;
  font-size: 1.1rem;
  margin-top: 20px;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  /*position: fixed;*/
  /*bottom: 0;*/
  /*left: 0;*/
  /*right: 0;*/
  /*background-color: #fff;*/
  height: 80px;
  padding: 0.4rem 0.4rem;
  /* margin-top: 130px; */
}

.footer_logo {
  /*padding: 20px;*/
}
@media all and (max-width: 480px) {
  .main {
    grid-template-columns: 1fr;
  }
  .top {
    padding: 10px;
  }
  .top_title {
    font-size: 18px;
    text-align: center;
  }
  .top_text {
    font-size: 1.65rem;
    z-index: 999;
  }
  header .logo svg {
    max-width: 150px;
  }
}

.header_text {
  background-color: #dd3129;
  padding: 2px 8px;
  border-bottom-left-radius: 20px;
  border-top-left-radius: 20px;
  width: 100%;
  max-width: 220px;
  text-align: center;
  position: absolute;
  right: 0;
}

/* .second_text {
  background-color: #dd3129;
  padding: 2px 8px;
  border-bottom-left-radius: 20px;
  border-top-left-radius: 20px;
  width: 100%;
  max-width: 180px;
  text-align: center;
  position: absolute;
  right: 0;
  color: white;
  margin-bottom: 40px
} */