@import url('https://fonts.cdnfonts.com/css/open-sans'); body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  height: 100vh;
  overflow-x: hidden;
}

main {
  background: url(https://wallpapers.com/images/featured/hungary-background-2rld2nteoh0vxtva.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

header {
  height: 80px;
  position: fixed;
  width: 100%;
  z-index: 99999;
}

footer {
  display: flex;
  flex-direction: column;
}

h1 {
  color: #fff;
  margin: 10px 0;
  font-weight: bold;
  font-size: 26px !important;
  line-height: 38px;
}

h2 {
  font-size: 0.875rem;
  color: #FFFFFF;
  font-weight: 700;
  margin-left: 10px;
}

h4 {
  font-style: normal;
  font-weight: bold;
  font-size: 1.25rem !important;
  color: #354052;
  line-height: normal;
  margin: 0;
}

p {
  font-style: normal;
  font-weight: 600;
  font-size: 0.875rem;
  color: #808DA4;
  line-height: normal;
}

span {
  font-size: 0.875rem;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
}

form {
  display: flex;
  flex-direction: column;
}

a {
  color: #354052;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  font-weight: normal;
}

.icon {
  list-style: none;
}

.icon::before {
  content: "";
  float: left;
  margin-right: 5px;
  display: block;
  width: 26px;
  height: 24px;
  mask: url(../bea_svg_sprite.svg);
  mask-position: left -82px;
  -webkit-mask-position: left -82px;
  background: #fff;
}

.items {
  display: flex;
  max-width: 762px;
  width: 100%;
  margin: auto;
  justify-content: space-between;
  align-items: center;
}

.left_block {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 80px;
}

.logo {
}

.right_block {
}

.block_auth {
  width: 100%;
  background: #fff;
  max-width: 700px;
  box-shadow: 0px 4px 16px rgba(53, 64, 82, 0.1);
  border-radius: 12px;
  padding: 26px;
}

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

.input_block {
  margin: 15px;
  position: relative;
}

.form_input {
  background: #FFFFFF;
  border: 1.5px solid #A1B0CB;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  width: 100%;
  padding: 10px 0px;
  cursor: text;
  font-size: 1rem !important;
  padding-left: 6px;
}

.btn {
  background: linear-gradient(94.14deg, #E5064B -15.55%, #8F1C6B 118.75%);
  border-radius: 100px;
  margin: 0 auto;
  font-family: Inter;
  font-size: 14px !important;
  font-style: normal;
  font-weight: 700;
  color: #FFFFFF;
  box-sizing: border-box;
  border: 2px solid transparent;
  border-width: 0px;
  width: 80%;
  height: 45px;
  margin-left: auto;
  margin-right: auto;
}

.app_block {
  /* padding: 20px 52px; */
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.app_title {
  width: 100%;
  max-width: 400px;
}

.app_icon_block {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.app_logo {
}

.image_app_block {
}

.image_app {
  width: 249px;
  height: 300px;
}

.logo_footer {
}

.nav_block {
  display: flex;
  max-width: 470px;
  width: 100%;
  justify-content: space-around;
  margin: 36px 0;
}

.footer_block {
  max-width: 762px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.background_block {
  background: #23232399;
}

.login_block {
  min-height: 880px;
  display: flex;
}

.footer_block > p {
  color: #787878;
  text-align: center;
  margin: 37px 0 0 0;
  font-size: 16px;
  margin-top: 0;
  font-weight: 400;
}

footer > span {
  width: inherit;
  color: #A1B0CB;
  height: 32px;
  border-top: 1px solid #d9d9d9;
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
}

.app_title > span {
  font-weight: 400;
  font-size: 18px !important;
  line-height: 28px;
  margin: 25px 0;
}

.iconinfo {
  position: absolute;
  right: 0;
  top: 8px;
}

.iconinfo::before {
  -webkit-mask: url(../bea_svg_sprite.svg);
  mask: url(../bea_svg_sprite.svg);
  width: 24px;
  height: 24px;
  content: '';
  display: inline-block;
  background-color: #A1B0CB;
  background-image: none;
  mask-position: -50px -82px;
  -webkit-mask-position: -50px -82px;
  position: relative;
}

.hide_info_block {
  background: #203667;
  padding: 5px;
  border-radius: 8px;
  position: absolute;
  right: -310px;
  top: 0;
  display: none;
  width: 270px;
}

.hide_info_block > p {
  color: #fff;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
}

.treug {
  border: 8px solid transparent;
  border-right: 10px solid #203667;
  position: absolute;
  right: -30px;
  top: 13px;
  display: none;
}

.iconinfo:hover + .treug, .iconinfo:hover + .treug + .hide_info_block {
  display: block;
  /* Показываем при наведении на iconinfo */
}


.modal {
  display: none;
}

@media screen and (max-width: 660px) {
  .left_block > h2 {
    font-size: 0.665rem;
  }
  .icon > span {
    font-size: 0.665rem;
  }

  .app_block > .items {
    flex-direction: column;
    text-align: center;
  }

  .nav_block {
    flex-direction: column;
  }
  .nav_block > a {
    margin: 10px 0;
  }

  .iconinfo {
        right: -35px;
  }
  
  .input_block {
    display: flex;
    flex-direction: column;
  }
  .hide_info_block {
    position: relative;
    right: -5px;
    top: 10px;
  }
  .iconinfo:hover + .treug, .iconinfo:hover + .treug + .hide_info_block {
    display: none;
    /* Показываем при наведении на iconinfo */
  }

  .modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #203667;
    margin: auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.modal-content > p {
  color: #fff;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
}

