* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #f2f2f2;
  display: block;
}

@font-face {
  font-family: "Alliance No.1";
  /* Задайте название шрифта */
  src: url("/assets/fonts/AllianceNo1-Regular.ttf");
  /* Задайте путь к файлу шрифта и его формат */
}

body {
  font-family: "Alliance No.1", sans-serif;
  top: 0;
  left: 0;
  background: #fff;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-size: 100% 100%;
}

html,
body {
  width: 100vw;
  height: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 5px;
  background-color: #c8d5de;
  height: 5px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #4f40f1;
  width: 5px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: #c8d5de;
}

.header {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #dee2e7;
}
.container {
  width: 100%;
  max-width: 1240px;
  display: block;
  margin: 0 auto;
}
.header_items {
  display: flex;
  align-self: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.header_item {
  margin-left: auto;
}
.header_item:first-child {
  margin-left: 0px;
  display: flex;
  align-items: center;
}
.header_item:nth-child(2) {
  display: flex;
  align-items: center;
}
.header_item_logo img {
  vertical-align: middle;
}
.header_item_navs {
  display: flex;
  align-items: center;
  list-style: none;
}
.header_item_nav {
  margin-right: 40px;
}
.header_item_nav:last-child {
  margin-right: 0px;
}

.header_item_nav a {
  color: #000;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.18px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.5s;
}

.header_item_nav a:hover {
  opacity: 0.5;
}

.header_item_nav a img {
  margin-left: 10px;
}

.header_item_button button {
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.18px;
  padding: 16px 24px;
  border-radius: 8px;
  background: #4f40f1;
  cursor: pointer;
  outline: none;
  border: none;
  transition: all 0.5s;
}

.header_item_button button:hover {
  opacity: 0.5;
}

.header_item_button button img {
  vertical-align: middle;
  margin-left: 10px;
}

.main {
  margin-top: 52px;
  width: 100%;
  height: auto;
  padding-bottom: 52px;
}
.main_items {
  display: grid;
  grid-template-columns: calc(61.21% - 10px) calc(38.79% - 10px);
  grid-template-rows: auto;
  grid-gap: 20px;
}
.main_item {
  width: 100%;
}

.main_item_rect {
  width: 100%;
  height: auto;
  border-radius: 32px;
  background: #4f40f1;
}
.main_item_rect_content {
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 100px;
  padding-right: 160px;
}
.main_item_rect_tittle {
  color: #fff;
  font-feature-settings: "liga" off;
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 64px */
  letter-spacing: -2.56px;
}
.main_item_rect_subtittle {
  margin-top: 60px;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 28.8px */
}
.main_item_button {
  margin-top: 40px;
}

.main_item_button button {
  color: #000;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.18px;
  outline: none;
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.5s;
  display: flex;
  align-items: center;
}

.main_item_button button:hover {
  opacity: 0.5;
}

.main_item_button button img {
  margin-left: 10px;
}

.main_item:last-child .main_item_rect {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #000 url(/assets/img/main_image.png) left no-repeat;
}

.footer {
  width: 100%;
  height: auto;
  background-color: #000;
  margin-top: auto;
}
.footer_content {
  padding-top: 80px;
  padding-bottom: 80px;
}
.footer_up {
  padding-bottom: 40px;
}
.footer_image {
  width: 100%;
  vertical-align: middle;
}
.footer_bottom {
  padding-top: 40px;
  border-top: 1px solid #424346;
}
.footer_bottom_items {
  display: flex;
  align-items: center;
}
.footer_bottom_item {
  margin-left: auto;
}
.footer_bottom_item:first-child {
  margin-left: 0px;
}
.footer_bottom_item:nth-child(2) {
  margin-left: 100px;
}
.footer_bottom_item_text {
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.18px;
}
.footer_bottom_item_navs {
  list-style: none;
  display: flex;
  align-items: center;
}
.footer_bottom_item_nav {
  margin-right: 40px;
}
.footer_bottom_item_nav:last-child {
  margin-right: 0px;
}
.footer_bottom_item_nav a {
  color: rgb(255, 255, 255, 0.5);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.18px;
  cursor: pointer;
  transition: all 0.5s;
}
.footer_bottom_item_nav a:hover {
  opacity: 0.5;
}
.footer_bottom_item_socials {
  display: flex;
  align-items: center;
}
.footer_bottom_item_social {
  margin-right: 40px;
}

.footer_bottom_item_social img {
  cursor: pointer;
  transition: all 0.5;
}

.footer_bottom_item_social img:hover {
  opacity: 0.5;
}

.footer_bottom_item_social:last-child {
  margin-right: 0px;
}

@media (min-width: 320px) and (max-width: 449px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header_item:nth-child(2) {
    display: none;
  }
  .header_item_button button {
    font-size: 15px;
    padding: 14px 22px;
  }
  .main_items {
    display: block;
  }
  .main_item_rect_content {
    padding: 20px;
  }
  .main_item_rect_tittle {
    font-size: 45px;
    text-align: center;
  }
  .main_item_rect_subtittle {
    margin-top: 40px;
    font-size: 15px;
    text-align: center;
  }
  .main_item_button {
    margin-top: 30px;
  }
  .main_item_button button {
    display: block;
    margin: 0 auto;
    font-size: 14px;
    padding: 14px 24px;
  }
  .footer_up {
    padding-bottom: 20px;
  }
  .footer_bottom {
    padding-top: 20px;
  }

  .footer_bottom_items {
    flex-direction: column;
  }

  .footer_bottom_item_navs {
    flex-direction: column;
    align-items: center;
  }
  .footer_bottom_item_nav a {
    text-align: center;
  }
  .footer_bottom_item_nav {
    margin-right: 0px;
  }
  .footer_bottom_item:nth-child(2) {
    margin-left: 0px;
    margin-top: 20px;
  }
  .footer_bottom_item:last-child {
    margin-top: 20px;
    margin-left: 0px;
  }
  .footer_bottom_item_social {
    margin-right: 20px;
  }
  .main_item:last-child .main_item_rect {
    min-height: 364px;
  }
  .main_item:last-child {
    margin-top: 30px;
    background-size: 100% auto;
  }
  .footer_content {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (min-width: 450px) and (max-width: 799px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header_item:nth-child(2) {
    display: none;
  }
  .main_items {
    display: block;
  }
  .main_item_rect_content {
    padding: 40px;
  }
  .main_item_rect_tittle {
    text-align: center;
  }
  .main_item_rect_subtittle {
    text-align: center;
  }
  .main_item_button {
    margin-top: 30px;
  }
  .main_item_button button {
    display: block;
    margin: 0 auto;
  }
  .footer_bottom_items {
    flex-direction: column;
  }

  .footer_bottom_item_navs {
    flex-direction: column;
    align-items: center;
  }
  .footer_bottom_item_nav a {
    text-align: center;
  }
  .footer_bottom_item_nav {
    margin-right: 0px;
  }
  .footer_bottom_item:nth-child(2) {
    margin-left: 0px;
    margin-top: 40px;
  }
  .footer_bottom_item:last-child {
    margin-top: 40px;
    margin-left: 0px;
  }
  .main_item:last-child .main_item_rect {
    min-height: 364px;
  }
  .main_item:last-child {
    margin-top: 30px;
    background-size: 100% auto;
  }
  .footer_content {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (min-width: 800px) and (max-width: 1000px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .main_item_rect_content {
    padding: 40px;
  }

  .footer_bottom_item_nav {
    margin-right: 20px;
  }
  .footer_bottom_item:nth-child(2) {
    margin-left: auto;
  }
}

@media (min-width: 1001px) and (max-width: 1260px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .main_item_rect_content {
    padding: 40px;
  }

}
