html {
  margin: 0;
  padding: 0;
  overscroll-behavior: none;
  overflow-x: hidden;
}

#loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 9999;
}

body {
  margin: 0;
  padding: 0;
  background-color: white;
  font-family: "Inter", sans-serif;
  min-height: 100dvh;
  overscroll-behavior: none;
  overflow-x: hidden;
}

.br-dekstop {
  display: block;
}

#main-shell {
  width: 100%;
  height: 100vh;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("../img/BG_desktop.jpg");
}

#app {
  flex-grow: 1;
}

.header-top {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 32px 100px 0 0;
}
.header-top .log_in {
  width: 95px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #0f0e12;
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer_container {
  display: block;
  background-color: white;
}
.footer_container .under_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  display: flex;
  padding: 40px 120px 40px 100px;
}
.footer_container .under_footer .block_footer {
  display: flex;
  gap: 16px;
}
.footer_container .text_footer .title_footer {
  color: #0f0e12;
  font-family: "Inter";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 8px;
}
.footer_container .text_footer p {
  color: rgba(15, 14, 18, 0.8);
  font-family: "Inter";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}

.popup_page .popup {
  margin: 0px 0 124px 100px;
  display: flex;
  width: 418px;
  padding: 40px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.22);
}
.popup_page .popup .headline {
  font-family: "Inter", sans-serif;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}
.popup_page .popup .top-line {
  color: #0f0e12;
  font-family: Inter;
  font-size: 34px;
  font-style: normal;
  font-weight: 400;
  line-height: 42px;
  letter-spacing: -0.34px;
  margin: 0 0 8px 0;
}
.popup_page .popup .bottom-line {
  margin: 0;
  position: relative;
  color: #0f0e12;
  font-family: "Inter";
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.34px;
}
.popup_page .popup .highlight {
  color: #2f4de1;
}
.popup_page .popup .underline {
  width: 65px;
  height: auto;
  position: absolute;
  left: 80px;
  bottom: -29px;
  z-index: 0;
}
.popup_page .btn_join {
  width: 100%;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  background: #2f4de1;
  color: #fff;
  text-align: center;
  font-family: Inter;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  animation: 1s linear infinite alternate pulse;
}
.popup_page .btn_join:hover {
  background-color: #1937ca;
}
.popup_page .gender_choose {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 40px 0 32px 0;
}
.popup_page .gender_choose .gender_line {
  display: flex;
  flex-direction: column;
}
.popup_page .gender_choose .gender_line .text_gender {
  color: #0f0e12;
  font-family: "Inter";
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin: 24px 0 12px 0;
}
.popup_page .gender_choose .gender_line .gender_blocks {
  display: flex;
  gap: 8px;
}
.popup_page .gender_choose .gender_line .gender_bl {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 205px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(15, 14, 18, 0.24);
  cursor: pointer;
}
.popup_page .gender_choose .gender_line .gender_bl p {
  color: #0f0e12;
  text-align: center;
  font-family: "Inter";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
.popup_page .gender_choose .gender_line .gender_bl.active {
  border: 1px solid #2f4de1;
  background-color: rgba(47, 77, 225, 0.08);
}
.popup_page .gender_choose .gender_line .gender_bl:hover {
  border: 1px solid #2f4de1;
}

footer {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}
footer .wrapper_center {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .wrapper_center p {
  color: rgba(15, 14, 18, 0.64);
  text-align: center;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
footer .wrapper_center .footer-nav {
  display: flex;
  gap: 24px;
}
footer .wrapper_center .footer-nav a {
  color: #0f0e12;
  font-family: "Inter";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
}
footer .wrapper_center .footer-nav a:hover {
  text-decoration: underline;
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}
.terms {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.terms_wrapper {
  width: 80%;
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
}
.terms_wrapper .terms_title {
  color: #0f0e12;
  font-family: "Inter";
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.34px;
  margin: 80px 0 0 0;
}
.terms_wrapper .head_text {
  color: #0f0e12;
  font-family: "Inter";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
  margin: 40px 0 24px 0;
}
.terms_wrapper .bold_text {
  color: #0f0e12;
  font-family: "Inter";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  margin: 8px 0 8px 0;
}
.terms_wrapper p {
  color: #0f0e12;
  font-family: "Inter";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin: 8px 0 8px 0;
}
.terms_wrapper .list_terms {
  margin: -8px 0 0 0;
}
.terms_wrapper .list_terms li {
  color: #0f0e12;
  font-family: "Inter";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin: 8px 0 8px 0;
}

@media (max-width: 1100px) and (min-height: 1100px) {
  .header-top {
    margin-bottom: 350px !important;
  }
}
@media (max-width: 1100px) and (min-height: 1300px) {
  .header-top {
    margin-bottom: 510px !important;
  }
}
@media (max-width: 1100px) {
  .br-dekstop {
    display: none;
  }
  .header-top {
    margin-bottom: 200px;
  }
  .header-top .log_in {
    width: 95px;
    height: 40px;
    font-size: 16px;
  }
  #main-shell {
    height: 100vh;
    background-image: url("../img/BG_tablet.jpg");
  }
  .popup_page {
    flex-grow: 1;
  }
  .popup_page .gender_choose {
    margin: 10px 0 32px 0;
  }
  .popup_page .gender_choose .gender_line .gender_bl {
    width: 268px;
  }
  .popup_page .popup {
    width: 100%;
    box-shadow: none;
    margin: 0;
    padding: 32px 0px 24px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .popup_page .popup .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .popup_page .popup .wrapper .title_popup {
    align-self: flex-start;
  }
  .footer_container {
    background-color: white;
    display: block;
  }
  .footer_container .under_footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 112px;
  }
  .footer_container .under_footer .block_footer {
    display: flex;
    gap: 16px;
  }
  .footer_container .under_footer .block_footer .icon_cont img {
    width: 64px;
    height: 64px;
  }
  .footer_container .text_footer .title_footer {
    color: #0f0e12;
    font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 8px;
  }
  .footer_container .text_footer p {
    color: rgba(15, 14, 18, 0.8);
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
  }
}
@media (max-width: 550px) {
  #main-shell {
    height: 100vh;
    background-size: cover;
    background-image: url("../img/BG_mobile.jpg");
  }
  .header-top {
    padding: 16px;
  }
  .header-top .log_in {
    width: 73px;
    height: 36px;
    font-size: 14px;
  }
  .popup_page .popup {
    padding: 24px 0px 24px 0px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .popup_page .popup .top-line,
  .popup_page .popup .bottom-line {
    font-size: 26px;
    margin: 0;
  }
  .popup_page .popup .underline {
    left: 55px;
    bottom: -26px;
  }
  .popup_page .popup .wrapper {
    width: 92%;
    margin: 0 16px 0 16px;
  }
  .popup_page .btn_join {
    width: 94%;
  }
  .popup_page .gender_choose {
    width: 100%;
  }
  .popup_page .gender_choose .gender_line {
    width: 100%;
  }
  .popup_page .gender_choose .gender_line .gender_bl {
    width: 50%;
  }
  .footer_container {
    background-color: white;
    display: block;
  }
  .footer_container .title_footer {
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }
  .footer_container .under_footer {
    padding: 16px;
  }
  .footer_container .under_footer .block_footer .icon_cont img {
    width: 56px;
    height: 56px;
  }
  .footer_container footer .wrapper_center {
    flex-direction: column;
    padding: 16px;
  }
}