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

ul,
a {
  list-style: none;
  text-decoration: none;
}

body {
  font-family: "Inter", serif;
}

.wrapper {
  overflow: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.social_icon {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social_icon p {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 120%; /* 19.2px */
}

.history {
  padding-top: 44px;
  background: url(../images/main_bg.jpg) no-repeat;
  background-size: cover;
  overflow: hidden;
}
.history .history_person {
  position: absolute;
  top: -40px;
  right: -130px;
  z-index: 1;
}
.history .history_block {
  padding: 125px 0 120px 0;
  position: relative;
  z-index: 333;
}
.history .history_left {
  max-width: 490px;
}
.history .free_space {
  padding: 6px 8.5px;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 101%; /* 16.16px */
  margin-bottom: 30px;
  border-radius: 39.484px;
  background: #fff;
  display: inline-block;
}
.history .history_title {
  color: #fff;
  font-size: 64px;
  font-style: normal;
  font-weight: 600;
  line-height: 101%; /* 64.64px */
  margin-bottom: 24px;
}
.history .history_desc {
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 101%; /* 24.24px */
  margin-bottom: 24px;
}
.history .register_btn {
  padding: 28px 64px;
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 28.8px */
  border-radius: 16px;
  background: linear-gradient(80deg, #016bff -3.35%, #016bff 56.38%, #016bff 113.59%);
  box-shadow: 0px 4px 40.3px 0px rgba(8, 175, 255, 0.4);
  margin-bottom: 34px;
  text-decoration: none;
  display: inline-block;
}
.history .date_block {
  display: flex;
  align-items: center;
  gap: 10px;
}
.history .time {
  color: #fff;
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 76.8px */
}
.history .date_desc {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 120%; /* 19.2px */
}

.footer {
  padding: 66px 100px 54px 100px;
  background: #000;
}
.footer .footer_block {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
.footer .footer_left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer .footer_left a {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 101%; /* 16.16px */
  text-decoration-line: underline;
  text-decoration-style: solid;
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}
.footer .footer_right {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer .footer_right p {
  color: #6b6b6b;
  text-align: right;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 101%; /* 16.16px */
}

@media (max-width: 1300px) {
  .container {
    max-width: 100%;
    padding: 32px;
  }
  .history .history_person {
    z-index: -1;
  }
  .history .history_block {
    padding: 0 0 120px 0;
    position: relative;
    z-index: 333;
  }
  .history .history_left {
    max-width: unset;
    width: 50%;
  }
  .history .history_title {
    font-size: 44px;
    line-height: 101%; /* 44.44px */
    margin-bottom: 16px;
  }
  .history .history_desc {
    font-size: 16px;
    line-height: 101%; /* 44.44px */
    margin-bottom: 16px;
  }
  .history .register_btn {
    padding: 19px 55px;
    font-size: 16.2px;
    line-height: 120%; /* 19.44px */
    margin-bottom: 16px;
  }
  .history .time {
    font-size: 44px;
    line-height: 120%; /* 52.8px */
  }
  .history .date_block {
    gap: 6px;
  }
  .history {
    padding-top: 0px;
    background: url(../images/main_tableet_bg.png) no-repeat;
    background-size: cover;
    overflow: hidden;
  }
  .history .date_desc {
    font-size: 10px;
    font-weight: 300;
    line-height: 120%; /* 12px */
  }
  .history .history_person {
    top: 24px;
    right: -32px;
  }
  .social_icon p {
    font-size: 12px;
  }
  .history .free_space {
    font-size: 10.8px;
    margin-bottom: 20px;
  }
  .footer .footer_left a {
    font-size: 11px;
  }
  .footer .footer_right p {
    font-size: 10px;
  }
  .footer {
    padding: 40px 0;
  }
  .footer .footer_block {
    margin-bottom: 55px;
  }
  .history .history_person img {
    max-width: 644px;
    max-height: 583px;
  }
}
@media (max-width: 992px) {
  .history .history_left {
    max-width: unset;
    width: 40%;
  }
}
@media (max-width: 767px) {
  .container {
    max-width: 100%;
    padding: 0 5vw;
  }
  .footer .footer_left a {
    font-size: 3.125vw;
  }
  .history {
    padding-top: 0vw;
    background: url(../images/mobile_bg.png) no-repeat;
    background-size: cover;
  }
  .social_icon p {
    font-size: 3.125vw;
    line-height: 120%;
  }
  .history .history_block {
    padding: 5vw 0 0px 0;
  }
  .history .history_person {
    top: 1.875vw;
    right: 0;
    position: relative;
  }
  .history .free_space {
    font-size: 3.125vw;
    padding: 1.40625vw 2.03125vw;
    line-height: 101%; /* 32.32px */
    margin-bottom: 3.75vw;
  }
  .history .history_title {
    font-size: 10vw;
    margin-bottom: 3.75vw;
    max-width: 78.125vw;
  }
  .history .history_desc {
    font-size: 4.6875vw;
    margin-bottom: 3.75vw;
  }
  .history .register_btn {
    padding: 5vw 15.3125vw;
    font-size: 5vw;
    margin-bottom: 3.75vw;
  }
  .history .time {
    font-size: 10vw;
  }
  .history .history_person img {
    width: 100%;
    height: 100%;
    max-width: 143.75vw;
  }
  .history .history_left {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 576px) {
  .footer .footer_block {
    flex-direction: column;
    gap: 10vw;
  }
  .footer .footer_right {
    align-items: baseline;
  }
  .history .register_btn {
    width: 100%;
  }
}